Skip to content

Instantly share code, notes, and snippets.

View fakefarm's full-sized avatar
๐Ÿฝ
๐Ÿฆ๐ŸŽ๐Ÿธ๐Ÿง„๐Ÿ”๐Ÿ๐Ÿน๐Ÿ‘๐Ÿฎ ๐Ÿด๐Ÿฆ†๐Ÿฅฆ๐Ÿ™๐ŸณF๐Ÿฆž๐Ÿง…๐Ÿถ ๐Ÿฆง๐Ÿ‘พA๐Ÿฆˆ๐Ÿ‹๐Ÿ‰K๐ŸŒฝ ๐Ÿฃ๐ŸŽ๐Ÿฆš๐Ÿฆฉ๐Ÿฆ”๐Ÿฟ๐Ÿฆจ๐Ÿ‰๐Ÿฅ• ๐Ÿฟ๐Ÿพ๐Ÿ’๐ŸŠE๐Ÿˆ๐Ÿป๐Ÿฅฅ๐Ÿฑ ๐Ÿผ๐Ÿฅ‘๐Ÿท๐Ÿ“๐ŸŒ๐Ÿ–F๐Ÿฆƒ ๐Ÿ‘๐Ÿšœ๐Ÿ‹๐Ÿ‚A๐Ÿ๐ŸŒพ๐Ÿค–๐Ÿ€๐Ÿฆ” R๐Ÿฆœ๐Ÿฆ๐Ÿˆ๐Ÿฆ“๐Ÿ ๐Ÿฆ‘๐Ÿฆ‚M๐Ÿœ

Dave Woodall fakefarm

๐Ÿฝ
๐Ÿฆ๐ŸŽ๐Ÿธ๐Ÿง„๐Ÿ”๐Ÿ๐Ÿน๐Ÿ‘๐Ÿฎ ๐Ÿด๐Ÿฆ†๐Ÿฅฆ๐Ÿ™๐ŸณF๐Ÿฆž๐Ÿง…๐Ÿถ ๐Ÿฆง๐Ÿ‘พA๐Ÿฆˆ๐Ÿ‹๐Ÿ‰K๐ŸŒฝ ๐Ÿฃ๐ŸŽ๐Ÿฆš๐Ÿฆฉ๐Ÿฆ”๐Ÿฟ๐Ÿฆจ๐Ÿ‰๐Ÿฅ• ๐Ÿฟ๐Ÿพ๐Ÿ’๐ŸŠE๐Ÿˆ๐Ÿป๐Ÿฅฅ๐Ÿฑ ๐Ÿผ๐Ÿฅ‘๐Ÿท๐Ÿ“๐ŸŒ๐Ÿ–F๐Ÿฆƒ ๐Ÿ‘๐Ÿšœ๐Ÿ‹๐Ÿ‚A๐Ÿ๐ŸŒพ๐Ÿค–๐Ÿ€๐Ÿฆ” R๐Ÿฆœ๐Ÿฆ๐Ÿˆ๐Ÿฆ“๐Ÿ ๐Ÿฆ‘๐Ÿฆ‚M๐Ÿœ
View GitHub Profile
@fakefarm
fakefarm / index.html
Created March 10, 2017 22:58
triangle, man.
<input type="checkbox" class='show-sheet'/>x-ray (or hover triangle)
<div class='triangle'>
<div class="sheet">
<div class="text">
personal
</div>
</div>
<div class="inside red">
<div class="text">
body
@fakefarm
fakefarm / main.js
Created March 29, 2017 18:10
notes on backbone
// I. Setup Architechture
// -----------------------------------------
// 1. make the model
var Image = Backbone.Model.extend({});
// 2. make the view
var ImageView = Backbone.View.extend({
// 3. make the template
// My Comments start with '//' so that you can paste this into 'chrome developer console' in your broswer to test it out
// '=>'' is the return values after running the commands;
// 1. set the array
var testArr = [1,2,3]
// 2. use the array function push(n) to add something to end of array.
// Note that it returns the size of the arrry (not the value)
@fakefarm
fakefarm / easy_as_pry.md
Last active July 12, 2017 16:57
Easy as Pry

Problem

I'm starting work on a API call which I have no idea what the data structure is or where the data I'm interested in comes into play. I work through a VM so I don't currently have access to PRY. I looked to see what kind of logging we have in place but I didn't find anything that was as easy as pry for a direct look at my issue. I also didn't want to parse through all the noise of development.log by simply using logger.info

Solution

This is what I came up with

 class Log
@fakefarm
fakefarm / regenerate-binstubs.sh
Created September 20, 2017 17:36 — forked from demisx/regenerate-binstubs.sh
Regenerate and Springify Rails 4 binstubs
cd my_rails_app_root_dir
rm bin/*
bundle exec rake rails:update:bin
bundle binstubs rspec-core
spring binstub --all
@fakefarm
fakefarm / package.json
Created September 20, 2017 20:38 — forked from coryhouse/package.json
package.json for Building a JS Development Environment on Pluralsight
{
"name": "javascript-development-environment",
"version": "1.0.0",
"description": "JavaScript development environment Pluralsight course by Cory House",
"scripts": {
},
"author": "Cory House",
"license": "MIT",
"dependencies": {
"whatwg-fetch": "1.0.0"
@fakefarm
fakefarm / .eslintrc.json
Created September 21, 2017 13:19 — forked from coryhouse/.eslintrc.json
.eslintrc.json file for "Building a JavaScript Development" Pluralsight course
{
"root": true,
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module"