Skip to content

Instantly share code, notes, and snippets.

View ajkaanbal's full-sized avatar
🐷

Ricardo M. Vilchis ajkaanbal

🐷
View GitHub Profile
@ajkaanbal
ajkaanbal / Guardfile
Created July 9, 2013 22:02
Guarfile for python-livereload. Enable livereload when web server is available.
#!/usr/bin/env python
from livereload.task import Task
def check_web_server():
"""
Enable livereload when web server is avaiable.
"""
import httplib
import time
[MASTER]
# Specify a configuration file.
#rcfile=
# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
#init-hook=
# Profiled execution.
@ajkaanbal
ajkaanbal / gist:9374105
Created March 5, 2014 19:00
Keybase.md
### Keybase proof
I hereby claim:
* I am ajkaanbal on github.
* I am ajkaanbal (https://keybase.io/ajkaanbal) on keybase.
* I have a public key whose fingerprint is DA00 0710 B3F9 61F3 53A6 B1BB 1AEB 566A F5A3 7883
To claim this, I am signing this object:
# Based on Fino theme by Max Masnick (http://max.masnick.me)
# Use with a dark background and 256-color terminal!
function virtualenv_info {
[ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') '
}
function prompt_char {
git branch >/dev/null 2>/dev/null && echo '⠠⠵' && return
@ajkaanbal
ajkaanbal / cv
Last active August 29, 2015 14:08
\begin{document}
%----------------------------------------------------------------------------------------
% PERSONAL DATA
%----------------------------------------------------------------------------------------
\begin{rSection}{Datos personales.}
Idiomas: Inglés [Intermedio | Reading, listening ]
@ajkaanbal
ajkaanbal / vim
Created January 29, 2015 06:22
Configure vim
./configure --prefix=~/.local --with-features=huge --enable-luainterp --enable-pythoninterp --enable-rubyinterp --with-x=yes --enable-gui=auto --with-luajit
@ajkaanbal
ajkaanbal / echoHttpRequest.js
Last active August 29, 2015 14:25 — forked from Marak/echoHttpRequest.js
Echo HTTP requests
module['exports'] = function echoHttp (hook) {
hook.debug("Debug messages are sent to the debug console");
hook.debug(hook.params);
hook.debug(hook.req.path);
hook.debug(hook.req.method);
#!/bin/bash
# This script is the reference implementation of how to start the
# ENSIME server given an ENSIME config file, bootstrapping via sbt[1].
# It is not intended to be portable across operating systems, or
# efficient at caching the results of previous invocations.
# Typically it is best to take the basic concepts of this script and
# to port it to the natural language of the extensible editor that
# intends to support ENSIME.
{
"cadena": "abcde",
"entero": 1,
"decimal": 2.1,
"boleano": true,
"lista_simple": [1,2,3],
"objeto": {
"cadena": "áéióú"
}
}
# Fino theme by Max Masnick (http://max.masnick.me)
# Use with a dark background and 256-color terminal!
# Meant for people with RVM and git. Tested only on OS X 10.7.
# You can set your computer name in the ~/.box-name file if you want.
# Borrowing shamelessly from these oh-my-zsh themes:
# bira
# robbyrussell