update,
This commit is contained in:
62
.gitignore
vendored
Normal file
62
.gitignore
vendored
Normal 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
13
PRICE.md
Normal 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
2
README.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# carousell-comission-playlist
|
||||
carousell-comission-playlist
|
BIN
avatar.jpg
Normal file
BIN
avatar.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.4 KiB |
42
clear_node_modules.js
Normal file
42
clear_node_modules.js
Normal 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
6
deploy.bat
Normal 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
8
gitUpdate.bat
Normal 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
11
gitUpdate.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
git add .
|
||||
|
||||
git commit -m 'update,'
|
||||
|
||||
git push
|
||||
|
||||
echo "done"
|
Reference in New Issue
Block a user