Create the session that will manage the nested/sticky panes
-
create new session named shared
$ tmux new -s shared
-
rename current window
while true;do clear; curl https://banco.santanderrio.com.ar/exec/cotizacion/index.jsp 2> /dev/null | grep \<td\>| sed -n 2p|awk '{ gsub("[<td>\/]*[[:blank:]]*","");print}'; sleep 60; done; |
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 |
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 |
require "cuba" | |
# Here you can add helpers, models, filters, services, etc. | |
Dir["./routes/**/*.rb"].each { |rb| require rb } | |
Cuba.use Rack::MethodOverride | |
Cuba.use Rack::Session::Cookie, | |
key: "_app_name_", | |
secret: "_app_secret_" |
# ... app code .... | |
require 'ruby-prof' | |
run(lambda do |env| | |
case env['PATH_INFO'] | |
when '/__START__' then | |
RubyProf.start | |
Rack::Response.new("Start profile").finish | |
when '/__STOP__' then |
# Update, upgrade and install development tools: | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install build-essential | |
apt-get -y install git-core | |
# Install rbenv | |
git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv | |
# Add rbenv to the path: |
$ git branch -r --merged | | |
grep origin | | |
grep -v '>' | | |
grep -v master | | |
xargs -L1 | | |
awk '{split($0,a,"/"); print a[2]}' | | |
xargs git push origin --delete |