Skip to content

Latest commit

 

History

History
305 lines (208 loc) · 6.66 KB

Notes

File metadata and controls

305 lines (208 loc) · 6.66 KB

-*- mode: org; -*-

+STARTUP: contents


To Edit on a different setup


https://github.com/jsm2199/YelpCamp/settings/keys => button: Add deploy Key ssh-keygen git clone [email protected]:jsm2199/YelpCamp.git

pre v11


Continue using repository on Windows10, testing Sublime v3.

Install Sublime Text Build 3143 x64 Setup.exe Install Postman-win64-5.5.0-Setup.exe Install mongodb-win32-x86_64-2008plus-ssl-3.6.2-signed.msi Install VSCodeSetup-x64-1.19.2.exe Install node-v8.9.4-x64.msi Install Git-2.16.0.2-64-bit.exe Install heroku-cli-x64.exe 20180205

c9 integration mLabs mongo + local mongo.

Works.

c9 integration.

Works.

v11 Deployed


Github testing. Continue using repository on Windows10, testing Atom.

Install GitHubDesktopSetup.exe 20180205

Install AtomSetup-x64.exe 20180205

Install Package atom-runner Install Package script Install Package atomic-emacs Install Package disable-keybindings Install Package sublime-block-comment Install Package comment (disabled) only single line comments. Install Package node-debugger (disabled) fails, node.exe –debug version compatability? Install Package xatom-debug (disabled) seems to work Install Package xatom-debug-nodejs (disabled) seems to work

YelpCamp Refactor


Centos7 Docker build, emacs

Cronological Log


20180120

Codepen JS Bin Github Gists Cloud9 (once you get to the backend section of the course)

x Chrome x Sublime Text

MDN

https://www.lipsum.com/

https://code.tutsplus.com/tutorials/the-30-css-selectors-you-must-memorize–net-16048

#lorum ipsum https://www.shopify.com/partners/blog/79940998-15-funny-lorem-ipsum-generators-to-shake-up-your-design-mockups https://www.cssfontstack.com/ https://fonts.google.com/

border color: #bdc3c7 date color: #3498db h2 color #2c3e50

font: source sans pro

https://unsplash.com

http://fontawesome.io/

setInterval(function(){ logo.width+=5; }, 100)

https://developer.mozilla.org/en-US/docs/Glossary/Falsy

truthy? !!true

20180124

http://underscorejs.org/

http://www.wordapp.io/wpsite/wp-content/uploads/2017/01/google-ranking-factors.png

youmightnotneedjquery.com

https://uigradients.com/#Dull

background: #2BC0E4; * fallback for old browsers * background: -webkit-linear-gradient(to right, #EAECC6, #2BC0E4); * Chrome 10-25, Safari 5.1-6 * background: linear-gradient(to right, #EAECC6, #2BC0E4); * W3C, IE 10+ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

http://patatap.com/ http://paperjs.org/about/

postman

https://us-east-2.console.aws.amazon.com/console/home?region=us-east-2#

cd c:/ mkdir data cd data mkdir db

cd c:/

c:/Program\ Files/MongoDB/Server/3.6/bin/mongod.exe

C:/Program\ Files/nodejs/npm version

C:/Program\ Files/nodejs/node

npm install -g express npm install -g bower npm install -g yarn bower install angular

git clone https://github.com/tastejs/todomvc.git

CONT: https://hackhands.com/delving-node-js-express-web-framework/ o https://www.youtube.com/watch?v=8aGhZQkoFbQ

https://github.com/nax3t/webdevbootcamp https://ide.c9.io/learnwithcolt/webdevbootcamp

https://www.davidbaumgold.com/tutorials/command-line/

20180125

npm install cat-me

https://stackoverflow.com/questions/3057526/framework-vs-toolkit-vs-library

npm install ejs –save npm install body-parser –save

npm install request –save

https://ifttt.com https://www.programmableweb.com/

https://i.imgur.com/fXaLTiO.gifv https://www.reddit.com/r/TheOA.json https://itunes.apple.com/search?term=beatles&entity=song

app.post(“/addfriend”, function(req,res) { console.log(req.body);

https://www.udemy.com/the-web-developer-bootcamp/learn/v4/questions/3242924

http://www.omdbapi.com/?i=tt3896198&apikey=thewdb

OMDb API: http://www.omdbapi.com/?i=tt3896198&apikey=fec2d96d

20180131 yelpcamp

npm install ejs –save npm install body-parser –save

npm install request –save

#sec27 MongoDB on c9

sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 echo “deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.6 multiverse” | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list sudo apt-get update sudo apt-get install -y mongodb-org

mongo –version

mkdir data echo “mongod –dbpath=data –nojournal” > mongod chmod a+x mongod

https://stackoverflow.com/questions/19912435/mongodb-connecting-to-test-hanging-and-mongo-shell-not-starting?rq=1

#sec28

#GET api.github.com/users

20180201

npm install express mongoose body-parser ejs –save

https://github.com/petruisfan/node-supervisor npm install supervisor -g

npm install method-override –save npm install express-sanitizer –save

<h1>testing</h1> <script>alert(‘Hacked!”);</script> <p>after testing</p>

Instead of using foundUser.posts.push(post) you will use foundUser.posts.push(post._id)

20180202

http://photosforclass.com/search?text=camping

npm install mongoose express passport passport-local passport-local-mongoose body-parser express-session ejs method-override –save

npm install method-override –save npm install express-sanitizer –save npm install connect-flash –save

{ “_id” : ObjectId(” 5a7691a01625a132cc00011a “), “text” : “asdfasdfasdfasd”, “__v” : 0, “author” : { “id” : ObjectId(“5a7589a811a26f0e3c855f14”), “username” : “asdf” } }

20180203

https://cloudinary.com/

20180204

[ see notes-000000.txt for account info ]

git config user.email “[email protected]” git config user.name “a b”

https://github.com/jsm2199/hello-world

git config –global core.autocrlf true

https://community.c9.io/t/multiple-github-accounts/7108/2

[ see notes-wdbc.txt ]