diff --git a/lab-closure-group/.eslintignore b/lab-closure-group/.eslintignore new file mode 100644 index 0000000..05b1cf3 --- /dev/null +++ b/lab-closure-group/.eslintignore @@ -0,0 +1,5 @@ +**/node_modules/* +**/vendor/* +**/*.min.js +**/coverage/* +**/build/* diff --git a/lab-closure-group/.eslintrc.json b/lab-closure-group/.eslintrc.json new file mode 100644 index 0000000..840d336 --- /dev/null +++ b/lab-closure-group/.eslintrc.json @@ -0,0 +1,26 @@ +{ + "env": { + "browser": true, + "node": true, + "commonjs": true, + "jest": true, + "es6": true + }, + "globals": { + "err": true, + "req": true, + "res": true, + "next": true + }, + "extends": "eslint:recommended", + "parserOptions": { + "sourceType": "module" + }, + "rules": { + "no-console": "off", + "indent": [ "error", 2 ], + "quotes": ["error", "single", { "allowTemplateLiterals": true }], + "comma-dangle": ["error", "always-multiline"], + "semi": [ "error", "always" ] + } +} diff --git a/lab-closure-group/.gitignore b/lab-closure-group/.gitignore new file mode 100644 index 0000000..27224ee --- /dev/null +++ b/lab-closure-group/.gitignore @@ -0,0 +1,70 @@ +# Created by https://www.gitignore.io/api/osx,linux,node,vim + +### OSX ### +.DS_Store +.AppleDouble +.LSOverride + +### Linux ### +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + + +### Node ### +# Logs +logs +*.log +npm-debug.log* + +# Runtime data +pids +*.pid +*.seed + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules +jspm_packages + +# Optional npm cache directory +.npm + +# Optional REPL history +.node_repl_history + +### Vim ### +# swap +[._]*.s[a-w][a-z] +[._]s[a-w][a-z] +# session +Session.vim +# temporary +.netrwhist +*~ + +# auto-generated tag files +tags + +###### Personal +.tern-project + +package-lock.json diff --git a/lab-closure-group/README.md b/lab-closure-group/README.md new file mode 100644 index 0000000..214c253 --- /dev/null +++ b/lab-closure-group/README.md @@ -0,0 +1,21 @@ +![CF](https://camo.githubusercontent.com/70edab54bba80edb7493cad3135e9606781cbb6b/687474703a2f2f692e696d6775722e636f6d2f377635415363382e706e67) Code-401-Javascript Group Lab-4: Bitmap Transformer +=== +This is the day 4 lab with Code Fellows. The purpose of the lab is to teach students how to manipulated binary data in order to transform/alter bitmap files with various specific effects. +# Execution +Go to the lab-closure-group directory. On a terminal, run the command `node index.js