Skip to content

Commit

Permalink
update read line
Browse files Browse the repository at this point in the history
  • Loading branch information
qitas committed Apr 12, 2024
1 parent 3a30b00 commit 8a715cd
Show file tree
Hide file tree
Showing 85 changed files with 22 additions and 9,267 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/spider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: spider
on:
workflow_dispatch:
schedule:
- cron: "0 2 * * *"
- cron: "0 1 * * *"
push:
branches:
- master
Expand All @@ -15,28 +15,28 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: '3.10'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Spider
working-directory: trending
working-directory: embedded
run: |
python spider.py
python embedded.py
# Runs a set of commands using the runners shell
- name: push to origin master
run: |
echo start push
git config --global user.name "qitas"
git config --global user.email "[email protected]"
git config --global user.name "qitas"
git config --global user.email ${{ secrets.COMMIT_EMAIL }}
git add -A
git commit -m $(date '+%Y-%m-%d')
git push
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# [OS-Q](https://github.com/OS-Q)
# [源圈 OS-Q](https://github.com/OS-Q)

* [pio](https://github.com/OS-Q/pio)
* [qio](https://github.com/OS-Q/qio)
* [bleak](https://github.com/OS-Q/bleak)
* [pikapython](https://github.com/OS-Q/pikapython)
* [CherryUSB](https://github.com/OS-Q/CherryUSB)
* [thingsboard](https://github.com/OS-Q/thingsboard)
[![Build Status](https://github.com/qitas/OS-Q/workflows/spider/badge.svg)](https://github.com/qitas/OS-Q/tree/master)

收集整理高价值开源资源,用于学习/集成/训练

* [hathach / tinyusb](https://github.com/hathach/tinyusb):An open source cross-platform USB stack for embedded system
* [Syllo / nvtop](https://github.com/Syllo/nvtop):GPU & Accelerator process monitoring for AMD, Apple, Huawei, Intel, NVIDIA and Qualcomm
* [trezor / trezor-firmware](https://github.com/trezor/trezor-firmware):🔒 Trezor Firmware Monorepo
* [riscv-collab / riscv-gnu-toolchain](https://github.com/riscv-collab/riscv-gnu-toolchain):GNU toolchain for RISC-V, including GCC
* [Bodmer / TFT_eSPI](https://github.com/Bodmer/TFT_eSPI):Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips
6 changes: 3 additions & 3 deletions trending/spider.py → embedded/embedded.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def scrape(language, filename):

# codecs to solve the problem utf-8 codec like chinese
with codecs.open(filename, "a", "utf-8") as f:
f.write('\n#### {language}\n'.format(language=language))
f.write('\n### {language}\n\n'.format(language=language))

for item in items:
i = pq(item)
Expand All @@ -62,9 +62,9 @@ def job():
createMarkdown(strdate, filename)

# write markdown
# scrape('daily', filename)
scrape('C', filename)
scrape('C++', filename)
scrape('CMake', filename)
# scrape('C++', filename)
scrape('Makefile', filename)

# git add commit push
Expand Down
119 changes: 0 additions & 119 deletions trending/2023-05-19.md

This file was deleted.

Loading

0 comments on commit 8a715cd

Please sign in to comment.