Skip to content

Instantly share code, notes, and snippets.

🤘
Milk runs.

Matthew Kitt mkitt

🤘
Milk runs.
Block or report user

Report or block mkitt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@gvarela
gvarela / dev-dns
Created Apr 28, 2015
Mimic pow and powder by generating a local nginx conf file that is symlinked to the homebrew nginx configuration. requires dnsmasq and nginx to be installed.
View dev-dns
#!/bin/bash
rm .nginx.conf
while [[ $# > 1 ]]
do
key="$1"
case $key in
-p|--port)
PORT="$2"
@staltz
staltz / introrx.md
Last active Sep 20, 2019
The introduction to Reactive Programming you've been missing
View introrx.md
@jejacks0n
jejacks0n / Gemfile
Last active Dec 18, 2015
Tiny Rails + Teaspoon setup (uses mocha by default). A good place to start with a small coffeescript project.
View Gemfile
source 'https://rubygems.org'
gem 'rails'
gem 'haml-rails'
gem 'coffee-rails'
gem 'sass-rails'
# Build process dependencies
gem 'uglifier' # javascript compression
gem 'yui-compressor' # css compression
View gist:5699700
class Page
require 'uri'
require 'json'
require 'net/http'
require 'net/https'
def initialize(name, markup, css)
@name = name
@markup = markup
@css = css
@gvarela
gvarela / bindable.coffee
Created Feb 7, 2012
Light weight DI for client side components in CoffeScript..
View bindable.coffee
class window.Bindable
constructor: (context=$('body'), @dataKey='bindable')->
@bindables = $("[data-#{@dataKey}]", context)
@instanceKey = "#{@dataKey}-instance"
bindAll: ->
@bind(el) for el in @bindables
View Makefile
index.html: docs/index.md
markdown < $< \
| cat head.html - tail.html \
> $@
@chriseppstein
chriseppstein / 0_selector_hacks.scss
Created Sep 14, 2011
This gist demonstrates some uses of the new sass feature: Passing content blocks to mixins.
View 0_selector_hacks.scss
@mixin ie6 { * html & { @content } }
#logo {
background-image: url("/images/logo.png");
@include ie6 { background-image: url("/images/logo.gif"); }
}
@rynbyjn
rynbyjn / LazySusan.as
Created May 13, 2011
AS3 LazySusan/Carousel class for moving objects around a circle with pseudo 3D
View LazySusan.as
package com.boyajian.ui
{
import com.greensock.TweenLite;
import flash.display.DisplayObject;
import flash.display.DisplayObjectContainer;
import flash.display.Sprite;
import flash.display.Stage;
import flash.events.Event;
@isaacs
isaacs / node-and-npm-in-30-seconds.sh
Last active Sep 20, 2019
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
View node-and-npm-in-30-seconds.sh
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh
View FDL-interview-questions.md

OOP

  • How comfortable are you with Object Oriented concepts and how they apply to any given language? (elaborate on OOP)
  • Can you explain inheritance and as it relates to extending classes or objects?
  • How about the concept of composition vs inheritance?
  • Can you explain the difference between Classical and Prototypal inheritance?
  • Are you familiar with Software Design Patterns?
  • Can you explain MVC?
  • Are there any other patterns you are familiar with and can you explain a use case?
You can’t perform that action at this time.