Skip to content

Instantly share code, notes, and snippets.

View fayimora's full-sized avatar
🕺

Fayi FB fayimora

🕺
  • London, England
View GitHub Profile
@Gregg
Gregg / gist:968534
Created May 12, 2011 13:54
Code School Screencasting Framework

Screencasting Framework

The following document is a written account of the Code School screencasting framework. It should be used as a reference of the accompanying screencast on the topic.

Why you should care about screencasting?

You're probably aren't going to take the time to read this document if you're not interested, but there are a lot of nice side effects caused by learning how to create quality screencasts.

  1. Communicating more effectively - At Envy Labs we produce screencasts for our clients all the time. Whether it's demoing a new feature or for a presentation for an invester, they're often much more effective and pleasent than a phone call or screen sharing.
@mikesmullin
mikesmullin / chromedriver.sh
Created May 8, 2012 16:08
easily install chromedriver on linux/osx
sudo apt-get install unzip;
wget -O /tmp/chromedriver.zip http://chromedriver.googlecode.com/files/chromedriver_linux64_19.0.1068.0.zip && sudo unzip /tmp/chromedriver.zip chromedriver -d /usr/local/bin/;
@fayimora
fayimora / gist:4137828
Created November 24, 2012 00:33 — forked from dahu/gist:4137807
ftplugin/help.vim
" help.vim - ftplugin for better Help navigation and operation
" Barry Arthur
" jump to links with CR
nmap <buffer> <CR> <C-]>
" jump back with BS
nmap <buffer> <BS> <C-T>
" skip to next option link
nmap <buffer> o /'[a-z]\{2,\}'<CR>
" skip to previous option link
@tpolecat
tpolecat / gist:4743224
Last active December 12, 2015 08:18
Inversions exercise from fayimora
import scala.io.Source
import System.{ currentTimeMillis => now }
object Inv extends App {
// An int set that knows how many members are greater than a given number.
sealed trait GSet {
def ngt(n: Int): Int // number greater than `n`
def +(n: Int): GSet
}
@fayimora
fayimora / DotBuilder.scala
Created February 23, 2013 19:25
Code to generate an svg of a Huffman tree using http://www.graphviz.org/Gallery.php
package patmat
import common._
import patmat.Huffman._
object DotBuilder {
def name(node: CodeTree) : String = node match {
case Fork(_, _, chars, _) => chars.map(x => "" + x + " ").reduce(_ + _).dropRight(1)
case Leaf(chars, _) => chars.toString
@machty
machty / new-router-examples.md
Last active April 16, 2020 22:03
How to do cool stuff with the new Router API
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active July 7, 2024 19:32
A badass list of frontend development resources I collected over time.
@markSci5
markSci5 / Git checkout remote branch
Created July 3, 2013 07:08
Git checkout remote branch
//To fetch a branch, you simply need to:
git fetch origin
//This will fetch all of the remote branches for you. With the remote branches
//in hand, you now need to check out the branch you are interested in, giving
//you a local working copy:
git checkout -b test origin/test
@jeantil
jeantil / Application.scala
Last active July 29, 2018 12:01
Playframework 2.2 configurable cors filter
/**
The MIT License (MIT)
Copyright (c) 2013 Jean Helou
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@fayimora
fayimora / generator-ember-tasks.md
Last active January 1, 2016 00:09
Tasks for generator-ember 1.0

This gist is a detailed list of tasks that should be completed to get the Yeoman Ember generator to v1.0. Some of these features may be released in earlier versions but the main aim is to get them all in for 1.0!

If I have to get this all done myself, it'll take a very long time because I'm busy at uni right now so please if you are interested in tackling any of the problems below(I hope you are 😃), just indicate so I tag you on it and we don't duplicate efforts.

These tasks must to be completed in order. So the General Cleanup must be completed before Enhancements. That should keep problems to a bare minimum.

  1. General Cleanup These tasks MUST not change the generator's functionality!

  2. Refactor and write more reasonable tests