Skip to content

Instantly share code, notes, and snippets.

View oguzbilgic's full-sized avatar
💣
who sees this?

Oguz Bilgic oguzbilgic

💣
who sees this?
View GitHub Profile

3

  • Horiz. movement
    • w, b, e
    • f, t
    • 0, ^, $
    • %
  • Vert. movement
    • g, GG
    • %
    • H, M, L
@oguzbilgic
oguzbilgic / gist:5180667
Created March 17, 2013 08:28
Answer to the Exercise: Fibonacci closure from Go Tour
package main
import "fmt"
// fibonacci is a function that returns
// a function that returns an int.
func fibonacci() func() int {
f0, f1 := 0, 1
return func() int {
f0, f1 = f1, f1+f0
@oguzbilgic
oguzbilgic / github3.css
Created October 17, 2012 21:01
Css for markdown documents
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
color: #737373;
padding: 30px; }
@oguzbilgic
oguzbilgic / README.md
Created July 6, 2012 04:05
README.md scaffold for rails apps

MyApp

Very short description of the application.

1. Ruby, Rails & Rubygems

Applicatoin is written in ruby language, using Ruby on Rails web framework.

@oguzbilgic
oguzbilgic / play.rb
Created December 10, 2010 05:08
Engineyard - Lucky 13 twitter contest
def p(b); `curl -s http://roulette.engineyard.com` =~ /13/ ? b * 35 : 0; end