Skip to content

Instantly share code, notes, and snippets.

@icaroperseo
icaroperseo / terminfo.src
Created September 23, 2016 18:07
Fixed neovim <C-h> keybinding issue and using italic fonts inside Tmux.
# Reconstructed via infocmp from file: /usr/share/terminfo/s/screen-256color
screen-256color|GNU Screen with 256 colors,
am, km, mir, msgr, xenl,
colors#256, cols#80, it#8, lines#24, pairs#32767,
acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M,
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
#!/bin/bash
# latest-opera Version 2.0RC3
# This script will find the latest Opera stable binary package,
# download it and repackage it into Slackware format.
# Copyright 2015 Ruari Oedegaard, Oslo, Norway
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
#!/bin/bash
# latest-firefox Version 1.2
# This script will find the latest Firefox binary package, download it
# and repackage it into Slackware format.
# I don't use Firefox for regular browsing but it is handy for
# comparative tests against Opera. :P
# Copyright 2015 Ruari Oedegaard, Oslo, Norway
#!/bin/bash
# latest-chrome Version 1.3
# This script will find the latest Google Chrome binary package,
# download it and repackage it into Slackware format.
# I don't use Chrome for regular browsing but it is handy for
# comparative tests against Opera. :P
# Copyright 2015 Ruari Oedegaard, Oslo, Norway
@icaroperseo
icaroperseo / analizador.rb
Created October 14, 2012 21:24
Analizador de Textos
#!/usr/bin/env ruby
# encoding: utf-8
stopwords = []
linea_actual = 0
sentencias_ideales_ordenadas = []
resumen_texto = []
# Apertura del archivo "stopwords-español.txt" el cual contiene las stopwords
# mismas que son almacenadas en el array stopwords