Skip to content

Instantly share code, notes, and snippets.

View josx's full-sized avatar

José Luis Di Biase josx

View GitHub Profile
@heroheman
heroheman / ranger-cheatsheet.md
Last active July 8, 2024 08:16
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts
@otsuarez
otsuarez / hubot-festival.md
Last active April 5, 2019 17:41
hubot say

En la oficina cuando un colega no te atiende por IRC le pegas un grito y problema resuelto. Pero que pasa cuando estas trabajando remoto desde casa y no te atiende por IRC?

La solución es sencilla: darle voz al IRC

El bot que utilizamos es hubot, para el text2speech engine festival y se le agregan archivos de sonido en castellano.

instalar festival

sudo apt-get install festival festlex-cmu festlex-poslex festvox-kallpc16k \
@stuzart
stuzart / gist:3787679
Last active October 15, 2020 16:51
init.d script for stopping and starting the soffice service
#!/bin/bash
# originally from: http://code.google.com/p/openmeetings/wiki/OpenOfficeConverter
# openoffice.org headless server script
#
# description: headless openoffice server script
# processname: openoffice
#
# Author: Vic Vijayakumar
# Modified by Federico Ch. Tomasczik
@gasman
gasman / pnginator.rb
Created April 30, 2012 18:08
pnginator: pack Javascript into a self-extracting PNG
#!/usr/bin/env ruby -w
# pnginator.rb: pack a .js file into a PNG image with an HTML payload;
# when saved with an .html extension and opened in a browser, the HTML extracts and executes
# the javascript.
# Usage: ruby pnginator.rb input.js output.png.html
# By Gasman <http://matt.west.co.tt/>
# from an original idea by Daeken: http://daeken.com/superpacking-js-demos