I hereby claim:
- I am lucasefe on github.
- I am lucasefe (https://keybase.io/lucasefe) on keybase.
- I have a public key whose fingerprint is 3CF6 18AD D255 ADAF 49A0 8BC6 EF28 C434 6789 03BF
To claim this, I am signing this object:
| var http = require('http'); | |
| http.createServer(function(request, response) { | |
| console.log('--> REQ: ' + request.url); | |
| var proxy = http.createClient(80, request.headers['host']) | |
| var proxy_request = proxy.request(request.method, request.url, request.headers); | |
| proxy_request.addListener('response', function (proxy_response) { | |
| proxy_response.addListener('data', function(chunk) { | |
| response.write(chunk, 'binary'); | |
| }); |
I hereby claim:
To claim this, I am signing this object:
| # The idea/use case behind this, is that after running it, you'll be able to quick view all the pngs | |
| # with the previews and choose easily which one to import to iTerm. | |
| clear | |
| # get iterm window id | |
| wid=$(osascript -e 'tell app "iTerm" to id of window 1'); | |
| # print something, so when changing schemes, you can see how it's changing. | |
| ls -la $HOME |
I hereby claim:
To claim this, I am signing this object:
| Plugin 'chriskempson/base16-vim' | |
| Plugin 'd11wtq/ctrlp_bdelete.vim' | |
| Plugin 'danchoi/ri.vim' | |
| Plugin 'duggiefresh/vim-easydir' | |
| Plugin 'ervandew/supertab' | |
| Plugin 'godlygeek/tabular' | |
| Plugin 'gregsexton/gitv' | |
| Plugin 'jelera/vim-javascript-syntax' | |
| Plugin 'kien/ctrlp.vim' | |
| Plugin 'mattn/gist-vim' |
| set background=dark | |
| colorscheme desert256 | |
| let mapleader="," | |
| map <Leader>s :!chibi-scheme %<CR> | |
| map <Leader>r :!ruby %<CR> | |
| " set the runtime path to include Vundle and initialize | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() |
| Para recategorizarte en el Monotributo, la aplicación de AFIP da error de Javascript por todos lados. | |
| A menos que entres con Internet Explorer... | |
| Para hacer el trámite en Chrome, Firefox o cualquier browser decente: | |
| - Entrá con tu clave fiscal | |
| - Abrí la aplicación de "Monotributo" | |
| - Ignorá el formulario y abrí la siguiente URL: | |
| https://servicios1.afip.gov.ar/tramites_con_clave_fiscal/monotributo/valida_cuit.asp?tramite=3&cuit=___TU_CUIT___&intesoc=N&eventual=N&coop=N&cuitcoop=0 |
| #!/usr/bin/env ruby | |
| #usage: analyze.rb REDIS_PORT | |
| #produces CSV with stats by key pattern | |
| #ex: [foo:bar:123, foo:bar:234] -> foo:bar:ID | |
| require 'rubygems' | |
| require 'redis' | |
| REDIS_PORT = (ARGV[0] || 6379).to_i |
| # encoding: utf-8 | |
| require 'mechanize' | |
| require 'csv' | |
| START_URL = 'http://www.confreaks.com/events' | |
| STDOUT.sync = true | |
| agent = Mechanize.new | |
| page = agent.get START_URL |
| # heroku-cli --app my-heroku-app | |
| [ my-heroku-app ] > | |