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
# ignore everything
*
!.gitignore
# except PKGBUILD needed files
!PKGBUILD
!*.install
!ChangeLog
# common wing-man files
@pablox-cl
pablox-cl / Xdefaults.jellybeans
Last active February 14, 2021 05:43
Jellybeans color palette for rxvt and xfce4-terminal
# Adjust Rxvt to suit your terminal emulator
# Created with
# ITERM_COLOR_MULTIPLIER=2.5 ./itermcolors2Xdefaults.rb Jellybeans.itermcolors
# https://github.com/richo/jellybeans.vim/blob/c7ff7e9555881a5671fcc8753b381ba142b5ea82/Xdefaults/jellybeans.Xdefaults
Rxvt*color0: #393939
Rxvt*color1: #ca674a
Rxvt*color2: #96a967
Rxvt*color3: #d3a94a
Rxvt*color4: #5778c1
Rxvt*color5: #9c35ac

Keybase proof

I hereby claim:

  • I am pablox-cl on github.
  • I am pablox (https://keybase.io/pablox) on keybase.
  • I have a public key whose fingerprint is F2B8 496B 3564 8F06 6F2B B525 CE25 98BB 753A 09F9

To claim this, I am signing this object:

#! /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
@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 / 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
Last active March 15, 2016 16:08
Patched PKGBUILD to build telegram-cli
# Maintainer: Tom Richards <tom@tomrichards.net>
# Contributor: Andy Weidenbaum <archbaum@gmail.com>
pkgname=telegram-cli-git
pkgver=r1043.160231b
pkgrel=1
pkgdesc="Telegram messenger CLI"
arch=('i686' 'x86_64')
url="https://github.com/vysheng/tg"
license=('GPL2')
@pablox-cl
pablox-cl / log.txt
Last active December 26, 2015 17:38
Error log from composure.sh (draft function)
~ ❯❯❯ draft longest_line
+set-titles-preexec:1> zstyle -t :prezto:module:terminal auto-title
+set-titles-preexec:2> set-titles-with-command 'draft longest_line'
+set-titles-with-command:3> [[ '' == Apple_Terminal ]]
+set-titles-with-command:7> emulate -L zsh
+set-titles-with-command:8> setopt EXTENDED_GLOB
+set-titles-with-command:11> [[ draft == (fg|%*)(;|) ]]
+set-titles-with-command:26> local 'cmd=draft'
+set-titles-with-command:27> local 'truncated_cmd=draft'
+set-titles-with-command:28> unset MATCH
@pablox-cl
pablox-cl / 404.slim
Created October 24, 2013 02:39
HTML5 Boilerplate 404 error page slim edition
doctype html
html lang="en"
head
meta charset="utf-8"
title Page not found :(
css:
::-moz-selection {
background: #b3d4fc;
text-shadow: none;
}
@pablox-cl
pablox-cl / index.slim
Created October 21, 2013 02:46
HTML5 Boilerplate slim edition
doctype html
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
head
meta charset="utf-8"
meta http-equiv="X-UA-Compatible" content="IE-edge"
title
meta name="description" content=""