Skip to content

Instantly share code, notes, and snippets.

View eloyesp's full-sized avatar

Eloy Espinaco eloyesp

View GitHub Profile
# To deploy the command is:
sudo chef-client
# being in the deployment group makes sense
sudo usermod -a -G deployer $USER
# good defaults for ~/.bash_aliases
#!/usr/bin/env ruby
#
# Syncs Ruby binstubs for ruby-communal-gems.
# Run this everytime you install a new Ruby, or when you install a new gem
# with a bin/ command. (ie, when you typically do rbenv rehash)
#
# See: https://github.com/tpope/rbenv-communal-gems/issues/5
#
require 'fileutils'
@eloyesp
eloyesp / adoptiva.pub
Last active August 29, 2015 14:07
My public keys
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9saZ+h1Mt0BHD4GQ/LMvrALXoNbo+0ThLSpQ+LRPbyoCZATIX8lsid522I/3q8RMJAX/kcc8OBspiiXZ8NUYOnITKf9TG1E6Se8pVIff2/fVMWxb2ENtsBBB7mEViEkpqQoImsRXYM5Nxcw/Hk1aJ+Zz78yph9sG/I6pWEdwsqIg67qsH0HuG63K+YnFvJJlATYJx8wKXTrNzuZD6SYRpglmG459r2nnuDmcsR5Tp3qYZi6g0VsNNIZ4K+rb6xQW4kAkb+xtI/xNBlKu8VpjK4OpC6BmRT21j5zNcR7ButIa6tNUbLT5IzM/rf5Q9wXgfnr11FcxN15TaA4c1qGDx [email protected]
[
{
"created_at": "2010-12-21T01:10:50Z",
"domicilio": "Blas Parera 7831",
"id": 1,
"lat": -31.5916,
"lng": -60.724,
"localidad_id": 4807,
"name": "Menapace",
"telefono": "4890660",
@eloyesp
eloyesp / fix_profile_altoros.js
Created March 4, 2015 17:34
Fix de una pagina horrible hecha con ASP.net
// Este script hace más o menos usable la página de perfiles de Altoros,
// es necesario correrlo en la consola una vez en cada tab.
function togglePostBack() {
var emptyFunction = function(target) {
console.log(target);
if (target.indexOf("Middle1$Button") < 0) {
return;
} else {
return window.originalPostBack();
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>tarjeta</title>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<style id="jsbin-css">
section.profile {
box-sizing: border-box;
display: inline-block;
# Uses password from .netrc when stablishing connections
use strict;
use warnings;
use vars qw($VERSION %IRSSI);
use Irssi;
use Data::Dumper;
$VERSION = '0.01';
@eloyesp
eloyesp / esl-website-cms.cloc
Created June 9, 2016 16:27
cloc of the current project
eloyesp@troska:~/.../inaka/cms$ cloc .
40718 text files.
34545 unique files.
21751 files ignored.
http://cloc.sourceforge.net v 1.60 T=554.00 s (39.5 files/s, 8428.8 lines/s)
--------------------------------------------------------------------------------
Language files blank comment code
--------------------------------------------------------------------------------
Ruby 17034 214291 247141 1176651
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="es,us"
XKBVARIANT=",dvp"
XKBOPTIONS="grp:ctrls_toggle,grp_led:scroll,caps:swapescape"
BACKSPACE="guess"