This commit is contained in:
louiscklaw
2025-01-31 19:13:58 +08:00
commit f1cc2ea546
9 changed files with 149 additions and 0 deletions

62
.gitignore vendored Normal file
View File

@@ -0,0 +1,62 @@
**/*.zip
**/*.tar.gz
**/*.log
**/*.7z
**/*.mp4
**/*Zone*
**/.next
**/node_modules/
# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Logs
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# OS generated files
.DS_Store
Thumbs.db
# Dependency directories
node_modules/
# Editors
.idea/
.vscode/
*.sublime-workspace
*.sublime-project
# Build artifacts
dist/
build/
out/
# Environment variables
.env
.env.local
.env.*.local
# Temporary files
*.tmp
*.swp
# Coverage
coverage/
*.lcov
# Package files
*.tgz
# Miscellaneous
*.swo
*.swp

13
PRICE.md Normal file
View File

@@ -0,0 +1,13 @@
# PRICE
i.e.
price per credit: HKD5700
if a course takes 3 credit => 5700 * 3 = 17100
if a course work equals 50% of total mark
then i mark 10% of 17100 ~= 1700
on customer point of view,
they are saving 17100 and time by 1700

2
README.md Normal file
View File

@@ -0,0 +1,2 @@
# carousell-comission-playlist
carousell-comission-playlist

BIN
avatar.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

42
clear_node_modules.js Normal file
View File

@@ -0,0 +1,42 @@
const fs = require("fs");
const path = require("path");
function removeNodeModules(dir) {
const entries = fs.readdirSync(dir, { withFileTypes: true });
for (const entry of entries) {
if (
[
"_poc",
"_archive",
//
].includes(entry.name)
) {
} else {
const fullPath = path.join(dir, entry.name);
if (entry.isDirectory()) {
if (["node_modules", ".next"].includes(entry.name)) {
fs.rmSync(fullPath, { recursive: true });
} else {
removeNodeModules(fullPath);
}
if (
[
".apk",
".log",
".tmp",
".Zone.Identifier",
//
].some((ext) => entry.name.endsWith(ext))
) {
fs.unlinkSync(fullPath);
}
}
}
}
}
removeNodeModules(".");
console.log("directories have been removed.");

6
deploy.bat Normal file
View File

@@ -0,0 +1,6 @@
git pull
git add _docs
git add deloy.bat
git add .vscode
git commit -m"update github pages,"
git push

8
gitUpdate.bat Normal file
View File

@@ -0,0 +1,8 @@
git status .
echo "press enter to continue"
@pause
git add .
git commit -m"update master config,"
start git push

11
gitUpdate.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -ex
git add .
git commit -m 'update,'
git push
echo "done"

5
notes.md Normal file
View File

@@ -0,0 +1,5 @@
# NOTES
### Remote landing directory:
/home/logic/\_workspace/fedora-server/src/nodejs-airdrop.staging/backend/tmp