- If you don't already have one, create a GitHub account
- Use the "Fork" button to fork the repository:
package main | |
import ( | |
"fmt" | |
"net" | |
"net/http" | |
"github.com/gorilla/mux" | |
) |
#!/usr/bin/env python3 | |
from abc import ABC, abstractmethod | |
class AbstractEdgeBuilder(ABC): | |
@abstractmethod | |
def build_edge(self): | |
pass |
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"net/http/httputil" |
#!/usr/bin/env python3 | |
from abc import ABC, abstractmethod | |
class AbstractFunction(ABC): | |
@abstractmethod | |
def install_function(self): | |
pass |
// helpful links: | |
// https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man2/EV_SET.2.html | |
// http://julipedia.meroh.net/2004/10/example-of-kqueue.html | |
// create kqueue | |
kq, err := syscall.Kqueue() | |
if err != nil { | |
log.Println("Error creating Kqueue descriptor!") | |
return | |
} |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | π :tada: |
Version tag | π :bookmark: |
New feature | β¨ :sparkles: |
Bugfix | π :bug: |
import unicodedata | |
import re | |
""" | |
A remoΓ§Γ£o de acentos foi baseada em uma resposta no Stack Overflow. | |
http://stackoverflow.com/a/517974/3464573 | |
""" | |
def removerAcentosECaracteresEspeciais(palavra): |
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"net/url" | |
"os" |
# Set variables in .bashrc file | |
# don't forget to change your path correctly! | |
export GOPATH=$HOME/golang | |
export GOROOT=/usr/local/opt/go/libexec | |
export PATH=$PATH:$GOPATH/bin | |
export PATH=$PATH:$GOROOT/bin |