gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
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
import os | |
from bs4 import BeautifulSoup | |
from twisted.internet import reactor | |
from twisted.web.client import getPage | |
site = 'http://www.1080recetas.com' | |
def crawl(url): |
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 ( | |
"flag" | |
"fmt" | |
"os" |
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
# $FreeBSD: head/databases/riak/Makefile 371981 2014-11-01 00:09:15Z bapt $ | |
PORTNAME= riak | |
PORTVERSION= 2.0.5 | |
CATEGORIES= databases | |
MASTER_SITES= http://s3.amazonaws.com/downloads.basho.com/riak/${PORTVERSION:R}/${PORTVERSION}/ \ | |
http://downloads.basho.com.s3.amazonaws.com/riak/${PORTVERSION:R}/${PORTVERSION}/ | |
MAINTAINER= [email protected] | |
COMMENT= Riak is an open source, distributed, noSQL database |
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
--- deps/erlang_js/c_src/patches/js-src-config-FreeBSD.mk.patch.orig 2015-02-26 16:11:58 UTC | |
+++ deps/erlang_js/c_src/patches/js-src-config-FreeBSD.mk.patch | |
@@ -1,6 +1,6 @@ | |
--- c_src.orig/js/src/config/FreeBSD.mk 1969-12-31 19:00:00.000000000 -0500 | |
+++ c_src/js/src/config/FreeBSD.mk 2011-03-30 20:12:51.000000000 -0400 | |
-@@ -0,0 +1,99 @@ | |
+@@ -0,0 +1,100 @@ | |
+# -*- Mode: makefile -*- | |
+# | |
+# ***** BEGIN LICENSE BLOCK ***** |
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
//Create some data for testing using: | |
// jot -s, -r 10000000 1 256 > data | |
//Test using: | |
// cat data | ./sort | |
package main | |
import ( | |
"bufio" | |
"fmt" |
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 my_package | |
import ( | |
"fmt" | |
"errors" | |
"regexp" | |
"strings" | |
) | |
type dynamicSet map[string]regexp.Regexp |
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
// The 'recovery' part of a panic has to happen on the same goroutine as the | |
// panic itself, otherwise it bubbles to the top without being captured. so it | |
// needed to be "attached" to the same thing that called foo, which was your | |
// anonymous func the recovery itself is a deferred anonymous func and if it | |
// feels difficult to use, then that's excellent. you shouldn't be using this, | |
// and should avoid code that does 'neat' things in this direction | |
package main | |
import "fmt" |
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" | |
"log" | |
"net/http" | |
"time" | |
) | |
var timer *time.Ticker |
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
.PHONY: all test build deps | |
all: deps | |
deps: | |
npm install | |
bower --force install | |
build: | |
grunt production && tar -jcf app.bz2 dist/ |