This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ChatGPT wrote this as an example | |
| // Function to check if a number is prime | |
| function isPrime(number) { | |
| if (number <= 1) { | |
| return false; | |
| } else if (number === 2) { | |
| return true; | |
| } else { | |
| for (let i = 2; i <= Math.sqrt(number); i++) { | |
| if (number % i === 0) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ChatGPT wrote this. | |
| // I asked it to write a bunch of functions | |
| // Function to calculate the square of a number | |
| function square(x) { | |
| return x * x; | |
| } | |
| // Function to check if a number is even or odd | |
| function checkEvenOrOdd(num) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git branch --merged | grep -v "\*" | grep -Ev "(\*|master|develop)" | xargs -n 1 git branch -d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [alias] | |
| lasttag = for-each-ref refs/tags --format='%(refname:short)' --sort=-taggerdate --count 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "devDependencies": { | |
| "bootstrap": "^3.3.2", | |
| "browser-sync": "^1.9.0", | |
| "browserify": "^8.1.1", | |
| "browserify-shim": "^3.8.2", | |
| "gulp": "^3.8.10", | |
| "gulp-rename": "^1.2.0", | |
| "gulp-uglify": "^1.1.0", | |
| "gulp-watch": "^3.0.0", | |
| "jquery": "^2.1.3", |