This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Hide cassettes in github diffs | |
// @namespace http://use.i.E.your.homepage/ | |
// @version 0.1 | |
// @description Hide cassettes in github diffs | |
// @match https://github.com/* | |
// @copyright 2014+, Goran Savovski | |
// ==/UserScript== | |
// @require http://code.jquery.com/jquery-latest.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unite.vim | |
=============================================== | |
These are takeaways from the VimChi talk on Unite.vim. | |
This gist serves as easy copy paste resource when experimenting | |
with Unite, so that I can save you from taking notes in | |
the talk. | |
For more specific configuration with mapping and such, | |
you can checkout my .vimrc: github.com/gsavovski/VimplifY | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"os" | |
"os/signal" | |
"syscall" | |
"time" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
import "time" | |
func main() { | |
c := make(chan int) | |
go func() { | |
for i := 0; i < 10; i += 1 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// +build test | |
package eventspipeline | |
import "fmt" | |
import . "go/build" | |
func init() { | |
fmt.Println(Default) | |
fmt.Println(Default) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables accesible directly on the structure | |
// but after casted to a interface, still accesible | |
// for the implementing methods thought | |
package main | |
import "fmt" | |
type Animal interface{ | |
Speak() string |