Skip to content

Instantly share code, notes, and snippets.

View pablox-cl's full-sized avatar

Pablo Olmos de Aguilera Corradini pablox-cl

View GitHub Profile
#! /usr/bin/env python
""" Convert values between RGB hex codes and xterm-256 color codes.
Nice long listing of all 256 colors and their codes. Useful for
developing console color themes, or even script output schemes.
Resources:
* http://en.wikipedia.org/wiki/8-bit_color
* http://en.wikipedia.org/wiki/ANSI_escape_code
# ignore everything
*
!.gitignore
# except PKGBUILD needed files
!PKGBUILD
!*.install
!ChangeLog
# common wing-man files
@pablox-cl
pablox-cl / colemak
Last active December 11, 2015 09:38
Colemak Edition Dreymar Special Symbols
// $XKeyboardConfig$
// *****************************************************************************************
// ****** ******
// ***** Colemak layouts - additions, locales and learning steps as variants *****
// ***** by Øystein Bech "DreymaR" Gadmar, 2011 *****
// ****** ******
// *****************************************************************************************
default
@pablox-cl
pablox-cl / ttf-meslo.PKGBUILD
Last active December 11, 2015 09:28
Meslo font pkgbuild
# Maintainer: Pablo Olmos de Aguilera C. <pablo at glatelier dot org>
# Contributor: name <david at goodlad dot ca>
# Contributor: name <tang0th at gmx dot com>
pkgname=ttf-meslo
_pkgname=Meslo
pkgver=1.2.1
pkgrel=1
pkgdesc="Meslo LG is a customized version of Apple's Menlo font (includes DZ version)"
arch=('any')
@pablox-cl
pablox-cl / xmessage
Created September 25, 2012 19:03
Wrapper for xmessage to prevent it from run itself if xmonad has compile errors
#!/bin/bash
#
# Author: Pablo Olmos de Aguilera C. pablo at glatelier dot org
#
# Little wrapper to prevent xmessage to pop if errors are thrown when
# (re)compiling xmonad. Of course this assumes that you should recompile it from
# the command line.
#
# Just make sure your $PATH is correctly set, before the original xmessage to
# this code run.
@pablox-cl
pablox-cl / .tmux.conf
Created September 7, 2012 20:55
Tmux configuration
# Use C-a instead of C-b as the prefix
set -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
#set 256 colors
set -g default-terminal "screen-256color"
# set default shell
#set -g default-command "exec /bin/bash"
@pablox-cl
pablox-cl / gtk.css
Created August 19, 2012 19:54
Xfce-dusk theme fix
@define-color fg_active #dadada;
@define-color fg_insensitive #151515;
@define-color fg_normal #ffffff;
@define-color fg_prelight #fcfcfc;
@define-color fg_selected #fcfcfc;
@define-color bg_active #151515;
@define-color bg_insensitive #303030;
@define-color bg_normal #232323;
@pablox-cl
pablox-cl / PKGBUILD
Created July 25, 2012 15:35
lib32-flashplugin10 10.3.183.20
# Maintainer: jtts
# Contributor: Pablo Olmos de Aguilera C. <pablo at glatelier dot org>
pkgname=lib32-flashplugin10
_filename="fp_10.3.183.20_archive"
_licensefile='Reader_Player_AIR_WWEULA-Combined-20080204_1313.pdf'
pkgver=10.3.183.20
pkgrel=1
pkgdesc='Adobe Flash Player v10 (32-bit) - multilib version for x86_64 with working HW accelerated scaling'
url='http://kb2.adobe.com/cps/142/tn_14266.html'
@pablox-cl
pablox-cl / TTYtter 2.0.00 PKGBUILD
Created June 7, 2012 21:15
TTYtter 1.2.5.00 -> 2.0.00 PKGBUILD Upgrade
# Maintainer: Peter Richard Lewis <plewis@aur.archlinux.org>
# Contributor: TDY <tdy@gmx.com>
# Contributor: Roberto Viola <cagnulein@gmail.com>
pkgname=ttytter
pkgver=2.0.00
pkgrel=1
pkgdesc="A multi-functional, command-line twitter client"
arch=('any')
url="http://www.floodgap.com/software/ttytter/"
@pablox-cl
pablox-cl / beta.txt
Created June 7, 2012 21:10
TTYtter 2.0.00b9
#!/usr/bin/perl -s
#########################################################################
#
# TTYtter v2.0 (c)2007-2012 cameron kaiser (and contributors).
# all rights reserved.
# http://www.floodgap.com/software/ttytter/
#
# distributed under the floodgap free software license
# http://www.floodgap.com/software/ffsl/
#