Skip to content

Instantly share code, notes, and snippets.

View joshuaaguilar20's full-sized avatar
🎯
Focusing

Joshua Aguilar joshuaaguilar20

🎯
Focusing
View GitHub Profile
@joshuaaguilar20
joshuaaguilar20 / notes.txt
Created January 8, 2019 03:02
mondaynotes
JSON = BIG Object
LINK- https://repl.it/@joshuaaguilar20/IndeliblePessimisticProfessionals
Example API call.
Go WebSite and reuqest data.
Request URL Get 200 Todos-
-get (asking for information)
@joshuaaguilar20
joshuaaguilar20 / session1.txt
Created January 14, 2019 21:17
Josh Mitch Teaching session number 1
Data Types
Variables
Loops
// Data Types
// string = "this is a string"
// boolean = true false //logic
// int = 5;
// object = {};
// Array = [];
@joshuaaguilar20
joshuaaguilar20 / push.js
Created January 18, 2019 23:47
mitchNotes
var names = ["josh", "bree", "mitch", "mohommad", "john", "jr",
"nacy", "donald","player3"
];
//loop through names and print mohommad
function find(group, name){
//checks everyname in List
//String Literal Teaching and While Loops/Switch Statement
//string literals
Docker Basic
Sudo Docker run --ImageName
Sudo Docker Ps (shows all current running docker containers)
` Also Gets Container Id.
Docker ps --all
docker create fileName
@joshuaaguilar20
joshuaaguilar20 / dockerBuildRunImg.txt
Created January 28, 2019 23:22
DockerBuildRunImage
Building and Running Docker Images
Needs Base Image
Dependencies
Start-Up Command
Touch Dockerfile (no file ext)
inside of file with no ext. define system and variables
@joshuaaguilar20
joshuaaguilar20 / buildingRuningDockerImages.txt
Created January 28, 2019 23:55
Docker Building Basic Node Application
Building and Running Docker Images
Needs Base Image
Dependencies
Start-Up Command
Touch Dockerfile (no file ext)
inside of file with no ext. define system and variables
@joshuaaguilar20
joshuaaguilar20 / ObjectSolution.js
Created January 29, 2019 22:24
Teaching Object CRUD Operations to Students*
// Setup
var collection = {
"2548": {
"album": "Slippery When Wet",
"artist": "Bon Jovi",
"tracks": [
"Let It Rock",
"You Give Love a Bad Name"
@joshuaaguilar20
joshuaaguilar20 / pset.txt
Last active January 31, 2019 02:56
SumZero
//Thanks for coming tonight. Here are tonights Psets along with a copy of cracking the code 6th edition
Cracking the code 6th edition
https://drive.google.com/file/d/1tHI36_h9AgL07WtfPyxY4X5MuhAJCiRT/view?usp=sharing
1a) Same Problem***
@joshuaaguilar20
joshuaaguilar20 / mitch.js
Created February 4, 2019 21:02
code demo
alert('this is some code from the internet');