commit 6fb8ed185ff2c9cc7bd9585ce3e0d1fe5c132094 Author: louiscklaw Date: Sat Feb 1 16:37:22 2025 +0800 update, diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d54c38a --- /dev/null +++ b/.gitattributes @@ -0,0 +1,31 @@ +*.mp4 filter=lfs diff=lfs merge=lfs +*.zip filter=lfs diff=lfs merge=lfs +*.7z filter=lfs diff=lfs merge=lfs +*.tar.gz filter=lfs diff=lfs merge=lfs +*.jpg filter=lfs diff=lfs merge=lfs +*.png filter=lfs diff=lfs merge=lfs +*.avif filter=lfs diff=lfs merge=lfs +*.webm filter=lfs diff=lfs merge=lfs +*.mkv filter=lfs diff=lfs merge=lfs + +# Documents +*.doc diff=astextplain +*.DOC diff=astextplain +*.docx diff=astextplain +*.DOCX diff=astextplain +*.dot diff=astextplain +*.DOT diff=astextplain +*.pdf diff=astextplain +*.PDF diff=astextplain +*.rtf diff=astextplain +*.RTF diff=astextplain + +*.gif filter=lfs diff=lfs merge=lfs +*.GIF filter=lfs diff=lfs merge=lfs +*.bmp filter=lfs diff=lfs merge=lfs +*.BMP filter=lfs diff=lfs merge=lfs +*.tiff filter=lfs diff=lfs merge=lfs +*.TIFF filter=lfs diff=lfs merge=lfs +*.wav filter=lfs diff=lfs merge=lfs +*.WAV filter=lfs diff=lfs merge=lfs +*.log filter=lfs diff=lfs merge=lfs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d02df63 --- /dev/null +++ b/.gitignore @@ -0,0 +1,314 @@ +**/~*.* + +**/*del +**/*log +**/*Zone.Identifier + +# Created by https://www.toptal.com/developers/gitignore/api/python +# Edit at https://www.toptal.com/developers/gitignore?templates=python + +### Python ### +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +.pybuilder/ +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# poetry +# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. +# This is especially recommended for binary packages to ensure reproducibility, and is more +# commonly ignored for libraries. +# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control +#poetry.lock + +# pdm +# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. +#pdm.lock +# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it +# in version control. +# https://pdm.fming.dev/#use-with-ide +.pdm.toml + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + +# PyCharm +# JetBrains specific template is maintained in a separate JetBrains.gitignore that can +# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore +# and can be added to the global gitignore or merged into this file. For a more nuclear +# option (not recommended) you can uncomment the following to ignore the entire idea folder. +#.idea/ + +### Python Patch ### +# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration +poetry.toml + +# ruff +.ruff_cache/ + +# LSP config files +pyrightconfig.json + +# End of https://www.toptal.com/developers/gitignore/api/python + +.env +**/.venv +.env +*.tmp + +.vscode + +**/node_modules +**/build + +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env +.env.test + +# parcel-bundler cache (https://parceljs.org/) +.cache +.parcel-cache + +# Next.js build output +.next +out + +# Nuxt.js build / generate output +.nuxt +dist + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +# yarn v2 + +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.pnp.* + +# Supabase +**/supabase/.temp +**/supabase/.env +**/supabase/.globals.sql diff --git a/Above-3D-Printed-parts-made-in-FDM-SLA-SLS-technology-from-left-to-right-Image-Credit-Formlabs.jpg b/Above-3D-Printed-parts-made-in-FDM-SLA-SLS-technology-from-left-to-right-Image-Credit-Formlabs.jpg new file mode 100644 index 0000000..7402026 --- /dev/null +++ b/Above-3D-Printed-parts-made-in-FDM-SLA-SLS-technology-from-left-to-right-Image-Credit-Formlabs.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8af637678401dbace45fbce6d73f92a175bf2f461342e78ebeb4af89a944c00b +size 44379 diff --git a/gitUpdate.bat b/gitUpdate.bat new file mode 100644 index 0000000..c7d2210 --- /dev/null +++ b/gitUpdate.bat @@ -0,0 +1,7 @@ +git status . + +@pause + +git add . +git commit -m"update 3d print," +start git push \ No newline at end of file diff --git a/gitUpdate.sh b/gitUpdate.sh new file mode 100755 index 0000000..c96734f --- /dev/null +++ b/gitUpdate.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +set -ex + +git config --global http.version HTTP/1.1 +git config --global lfs.allowincompletepush true +git config --global lfs.locksverify true +git config --global http.postBuffer 5368709120 + +git add . + +git commit -m 'update,' + +git push + +echo "done" diff --git a/meta.md b/meta.md new file mode 100644 index 0000000..4570655 --- /dev/null +++ b/meta.md @@ -0,0 +1,61 @@ +--- +tags: "hkjc", "vba", "excel","selenium" +--- + +# abc2022d + +Tim206207@gmail.com + +### balance history + +5 layouts quote HKD2400 + +| --- | --- | --- | +| --------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------ | +| webpage 1 | 排位表 | https://racing.hkjc.com/racing/information/Chinese/racing/Racecard.aspx?RaceDate=2024/04/20&Racecourse=ST&RaceNo=1 | +| webpage 2 | 個別馬匹資料頁面 | i.e. 魅力一心 https://racing.hkjc.com/racing/information/Chinese/Horse/Horse.aspx?HorseId=HK_2022_H195 | +| (H195) | +| webpage 3 | 賽馬結果 | https://racing.hkjc.com/racing/information/Chinese/racing/LocalResults.aspx | +| webpage 4 | 分段時間 | https://racing.hkjc.com/racing/information/Chinese/Racing/DisplaySectionalTime.aspx?RaceDate=20/04/2024&RaceNo=1 | +| webpage 5 | 操練 | https://racing.hkjc.com/racing/information/Chinese/Racing/LocalTrackwork.aspx?RaceDate=2024/04/20&Racecourse=ST&RaceNo=1 | + +### chat history + +Q: + +1. 見到 vba 行 ge 途中, 佢拎個別馬 ge 資料係馬會 ge 英文版面 +2. 見到賽果個邊 columns, "HKJC not ready" , 21/4 賽果已出 +3. 到實際用 ge 時間應該有個制比我揀日期, 可以 generate 返之前 d 賽果? + +A: + +1. VBA 本身 support 中文冇咁好,有 D 位要用英文對一對佢 i.e. Gallop -> 踱步 + 但係到最後都係會用中文網頁內容嘅,只係比較果陣時會用英文 + +2. 如果咁的話,咁左手邊果 D 行 (藍+灰) 會同右手邊果 D 行 (黃+粉紅) 唔對/匹配 + i.e. 20/04/2024 沙田日馬跑左 10 場,但係黎緊 24/04/2024 跑馬地 得 9 場,會變左左手邊突左場出黎 + 係咪想咁? + +3. 呢個可以呀,比個格你入日期落去 + +Q: +如果之後有問題都可以繼續揾你? +如果馬會啲 field/ webpage link 轉左, +揾你修改要額外比錢嗎 + +A: +一般計,轉 field/link 的話你搵番我我可以幫手改 + +但係如果佢係成個版面轉左花款的話(成個版面個樣轉左), +咁果個 update 就收番個 update 錢 + +### materials + +#### 安裝 dotnetfx35 and selenium basic + +ttps://youtu.be/3mTbo63exHE + +#### 點用 + +ttps://filetransfer.io/data-package/gES49XH7#link +https://youtu.be/Kft1vWFmDrE