1. Project Overview & Quickstart (hiyouga/c4_demo.jsonl)
c4_demo.jsonl
Open-source repository hiyouga/c4_demo.jsonl
Repository Details
- Repository: hiyouga/c4_demo.jsonl
- Primary Language: Code
Note: High-volume repository documentation is actively indexed and synchronized by YakaAI.
2. Official Technical Reference & Guides (hiyouga/hiyouga.github.io)
File: README.md
hiyouga.github.io
ไฝฟ็จGithub API( https://developer.github.com/v3/ )ๆญๅปบ็ไธชไบบๅๅฎข้กน็ฎ
File: repos/NN_Play/package.json
{
"name": "deep-playground-prototype",
"version": "2016.3.10",
"description": "",
"private": true,
"scripts": {
"clean": "rimraf dist",
"start": "npm run serve-watch",
"prep": "typings install && copyfiles analytics.js dist && catw node_modules/material-design-lite/material.min.js node_modules/d3/d3.min.js node_modules/seedrandom/seedrandom.min.js > dist/lib.js",
"build-css": "catw node_modules/material-design-lite/material.min.css styles.css > dist/bundle.css",
"watch-css": "catw node_modules/material-design-lite/material.min.css styles.css -o dist/bundle.css",
"build-html": "copyfiles index.html dist",
"watch-html": "catw index.html -o dist/index.html",
"build-js": "browserify src/playground.ts -p [tsify] | uglifyjs -c > dist/bundle.js",
"watch-js": "watchify src/playground.ts -p [tsify] -v --debug -o dist/bundle.js",
"build": "npm run prep && npm run build-js && npm run build-css && npm run build-html",
"watch": "npm run prep && concurrently "npm run watch-js" "npm run watch-css" "npm run watch-html"",
"serve": "http-server dist/",
"serve-watch": "concurrently "live-server dist/" "npm run watch""
},
"devDependencies": {
"concurrently": "3.1.0",
"copyfiles": "1.0.0",
"live-server": "1.1.0",
"rimraf": "2.5.4",
"typescript": "2.1.4",
"typings": "^0.7.9",
"uglify-js": "^2.6.2",
"tsify": "3.0.1",
"watchify": "3.9.0",
"http-server": "^0.9.0"
},
"dependencies": {
"catw": "^1.0.1",
"d3": "^3.5.16",
"material-design-lite": "^1.1.3",
"seedrandom": "^2.4.2"
}
}
File: repos/NN_Play/tsconfig.json
{
"compilerOptions": {
"module": "commonjs",
"removeComments": true,
"preserveConstEnums": true
},
"exclude": [
"node_modules",
"typings/main/**/*",
"typings/main.d.ts"
]
}
File: repos/NN_Play/tslint.json
{
"rules": {
"class-name": true,
"comment-format": [
true,
"check-space"
],
"max-line-length": [true, 80],
"indent": [
true,
"spaces"
],
"no-duplicate-variable": true,
"no-eval": true,
"no-internal-module": true,
"no-trailing-whitespace": true,
"no-var-keyword": true,
"no-unused-variable": true,
"no-unused-expression": true,
"no-switch-case-fall-through": true,
"no-unreachable": true,
"one-line": [
true,
"check-open-brace",
"check-whitespace"
],
"forin": false,
"quotemark": [
true,
"double"
],
"semicolon": [
true,
"always"
],
"triple-equals": false,
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"variable-name": [
true,
"ban-keywords"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
}
}
File: repos/NN_Play/typings.json
{
"ambientDependencies": {
"d3": "registry:dt/d3#0.0.0+20160514171929"
}
}
File: repos/pulipuli/src/link.json
{
"mygo": {
"directory_link": "AA4030B22AFA4A413AA9D4A5479661D7DC",
"poster": "https://p.inari.site/guest/23-09/07/64f98e59ccdc3.jpg",
"title": "BanG Dream! Itโs MyGO!!!!!",
"desc": "ๅต่ๅฅถ่ถๅฑ1080p",
"category": "anime",
"is_public": true
},
"u149": {
"directory_link": "AA13282264877F42FF88CE85B479BE52B4",
"poster": "https://p.inari.site/guest/23-09/06/64f8408575f1b.jpg",
"title": "THE iDOLM@STER Cinderella Girls U149",
"desc": "ๅต่ๅฅถ่ถๅฑ1080p",
"category": "anime",
"is_public": true
},
"tenten": {
"directory_link": "AA732663B447724EBBB164B37DC2586EBB",
"poster": "https://p.inari.site/guest/23-05/23/646c8ab96edb7.jpg",
"title": "่ฝฌ็ๅ
ฌไธปไธๅคฉๆๅ้็้ญๆณ้ฉๅฝ",
"desc": "ๆพ็ฉบๅญฆๅญ&ๅจๆผซๅฝๅญๅน็ป1080p",
"category": "anime",
"is_public": true
},
"bokuyaba": {
"directory_link": "AA3494361A8A2445FEB3462412A2B53AE7",
"poster": "https://p.inari.site/guest/23-06/24/6496755fcb549.jpg",
"title": "ๆๅ
ๅฟ็็ณ็ณๅฟตๅคด",
"desc": "ๅต่ๅฅถ่ถๅฑ1080p",
"category": "anime",
"is_public": true
}
}
File: src/config.json
{
"username" : "hiyouga",
"reponame" : "hiyouga-blog-project",
"repoid" : "91178023",
"cid" : "9a3a3b26984626c40168",
"version" : "0.1.4",
"title" : "Hiyouga Blog",
"about" : "Hoshi hiyouga, living in Beijing, China, studying at Beihang University as an undergraduate, majoring Computer Science and Technology, is learning Aritificial Intelligence now, also likes Web-design.",
"links" : [
{"name":"GitHub", "src":"https://github.com/hiyouga"},
{"name":"Twitter", "src":"https://twitter.com/hoshi_hiyouga"},
{"name":"YouTube", "src":"https://www.youtube.com/channel/UCuZikb54QyqWpXMaSVVjnPg"},
{"name":"ๅๅฉๅๅฉ", "src":"https://space.bilibili.com/39660085/"},
{"name":"็ฝๆไบ้ณไน", "src":"http://music.163.com/user/home?id=130573753"}
],
"per_page" : 10
}
File: .github/workflows/static.yml
Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages
on:
Runs on pushes targeting the default branch
push:
branches: ["master"]
schedule:
- cron: "*/30 * * * *"
Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Get Video Data
run: |
pip install requests
python3 repos/pulipuli/src/get_meta.py
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2