- copy the file
commit-msg
to.git/hooks/commit-msg
- make sure your delete the sample file
.git/hooks/commit-msg.sample
- Make commit msg executable.
chmod +x .git/hooks/commit-msg
- Edit
commit-msg
to better fit your development branch, commit regex and error message - Profit $$
\documentclass[]{article} | |
\usepackage{amssymb,amsmath} | |
\usepackage{ifxetex,ifluatex} | |
\ifxetex | |
\usepackage{fontspec,xltxtra,xunicode} | |
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} | |
\newcommand{\euro}{鈧瑌 | |
\else | |
\ifluatex | |
\usepackage{fontspec} |
# instalar img2pdf usando | |
# $ pip install img2pdf | |
import img2pdf | |
import glob | |
page_list = glob.glob("*.jpg") | |
def page_num(s): | |
start = s.index("-") + 1 | |
end = s.index(".", start + 1) |
- Code: https://github.com/applegrain/oauth-example
- OAuth Protocol: http://tools.ietf.org/html/rfc6749#section-1.2
- Omniauth: https://github.com/intridea/omniauth
-
Create an app on github (make sure the callback url is http://localhost:3000/auth/github/callback)
-
Add an initializer, config/initializers/omniauth.rb
Ignacio Hermosilla implement贸 un servicio web de acceso p煤blico usando los feeds GTFS de Transantiago y los puntos de acceso oficiales que normalmente requieren acuerdos con el DTPM, para que t煤 no tengas que hacerlo.
Est谩 toda la informaci贸n de Transantiago que puedas necesitar, con formatos de alta calidad y sin tr谩mites. Estas APIs son las que ahora alimentan a Cromi.
Transantiago implement贸 estas APIs para uso interno, por lo que no hay ninguna garant铆a sobre su funcionalidad, mantenimiento o futura existencia. 脷salas bajo tu propio riesgo. (Probablemente no es aconsejable que las uses para nada cr铆tico.)
import requests # dependency | |
url = "<your url>" # webhook url, from here: https://i.imgur.com/f9XnAew.png | |
# for all params, see https://discordapp.com/developers/docs/resources/webhook#execute-webhook | |
data = { | |
"content" : "message content", | |
"username" : "custom username" | |
} |