Skip to content

Instantly share code, notes, and snippets.

View charliegerard's full-sized avatar
💭
Making something 🧪

Charlie charliegerard

💭
Making something 🧪
View GitHub Profile
@charliegerard
charliegerard / staticgen-archive.json
Last active February 11, 2020 17:35
STATICGEN.COM DATA ARCHIVE
[[1581442537635,[{"id":"ace","s":37,"fk":6,"i":0},{"id":"acrylamid","s":284,"fk":41,"i":43},{"id":"adm-dev-kit","s":29,"fk":4,"i":11},{"id":"amsf","s":247,"fk":142,"i":12},{"id":"anodize","s":4,"fk":0,"i":1},{"id":"antora","f":633,"s":226,"fk":86,"i":165},{"id":"antwar","s":461,"fk":32,"i":7},{"id":"asimov-static","s":4,"fk":3,"i":0},{"id":"assemble","s":3758,"fk":264,"i":29},{"id":"awestruct","s":269,"fk":81,"i":54},{"id":"bake","s":32,"fk":7,"i":0},{"id":"bakeit","s":2,"fk":2,"i":1},{"id":"baker","s":41,"fk":7,"i":1},{"id":"bang","s":8,"fk":1,"i":0},{"id":"bashblog-ng","s":13,"fk":3,"i":0},{"id":"bashblog","s":905,"fk":147,"i":22},{"id":"blackhole","s":112,"fk":10,"i":1},{"id":"blacksmith","s":564,"fk":42,"i":27},{"id":"blended","s":16,"fk":2,"i":2},{"id":"blo","s":9,"fk":4,"i":1},{"id":"blog.sh","s":8,"fk":1,"i":0},{"id":"blogc","s":122,"fk":9,"i":3},{"id":"blogdown-r","s":1081,"fk":249,"i":13},{"id":"blogdown","s":17,"fk":1,"i":9},{"id":"blogo","s":16,"fk":6,"i":5},{"id":"blogofile","s":336,"fk":89,"i":45
@charliegerard
charliegerard / basic-scene.js
Last active February 10, 2017 16:37
basic three.js scene
window.onload = function(){
var camera, controls, scene, renderer, light, material;
init();
animate();
function init(){
var container = document.getElementById('container');
camera = new THREE.PerspectiveCamera(45, window.innerWidth / window.innerHeight, 0.1, 2000);

ELEVATOR PITCH

  1. WHO YOU ARE
  2. WHAT YOU DO
  3. WHAT ASPECT OF DEVELOPMENT WE ARE PASSIONATE ABOUT
  4. WHAT I AM LOOKING FOR

Create map of where we wanna work, companies, and people who occupy these position in those companies.

In terminal when pulling or pushing changes, if we end up on the weird blue screen full of ,,,,, press :wq

If merge conflict, remove or comment out the changes we don't want and push again. A merge conflict will happen if someone and me change the same line.

before running git pull, always do git add and git commit.

always run git push Kriss master if I want to push my changes to Kriss's repo.

The database is shared accross all branches so if I make a change in the database, people need to run rake db:migrate to migrate my changes.

#Day38

####Recreate the todo app with Ajax.

  • Create a rails app
  • Update the gem file
  • Bundle
  • Go to the app>assets>javascript>application file and add "//= require underscore" before require tree to require the underscore file.
  • Change routes.
  • rails g migration "create_tasks description:text complete:boolean"