Source: http://stackoverflow.com/questions/29447692/whats-the-meaning-of-color0-15-in-urxvt-settings
Normal | Bright |
---|---|
0 Black #000000 | 8 Black #0a0a0a |
1 Red #d75f5f | 9 Red #d787af |
2 Yellow #00af87 | 10 Yellow #5faf5f |
Source: http://stackoverflow.com/questions/29447692/whats-the-meaning-of-color0-15-in-urxvt-settings
Normal | Bright |
---|---|
0 Black #000000 | 8 Black #0a0a0a |
1 Red #d75f5f | 9 Red #d787af |
2 Yellow #00af87 | 10 Yellow #5faf5f |
body.loading:after { | |
/* with no content, nothing is rendered */ | |
content: ""; | |
position: fixed; | |
/* element stretched to cover during rotation an aspect ratio up to 1/10 */ | |
top: -500%; | |
left: -500%; | |
right: -500%; | |
bottom: -500%; | |
z-index: 9999; |
/* | |
Cross-browser (including IE8-10) | |
Más info: http://coding.smashingmagazine.com/2013/08/09/absolute-horizontal-vertical-centering-css/ | |
*/ | |
.absolute-center { | |
/* height: must be declared */ | |
margin: auto; | |
position: absolute; | |
top: 0; left: 0; bottom: 0; right: 0; | |
} |
function hasClass(elem, className) { | |
return new RegExp(' ' + className + ' ').test(' ' + elem.className + ' '); | |
} | |
function addClass(elem, className) { | |
if (!hasClass(elem, className)) { | |
elem.className += ' ' + className; | |
} | |
} |
#!/bin/bash | |
# Author: Maxwel Leite | |
# Website: http://needforbits.tumblr.com/ | |
# Description: Script to install Microsoft Vista TrueType Fonts (TTF) on Ubuntu distros | |
# (Consolas, Candara, Corbel, Constantia, Cambria and Calibri) | |
# Dependencies: wget, fontforge and cabextract | |
# Tested: Ubuntu Saucy/Trusty | |
output_dir="/usr/share/fonts/truetype/vista" | |
tmp_dir="/tmp/fonts-vista" |
#!/bin/env bash | |
# Update packages | |
apt-get update | |
# Installing services | |
echo "==============================" | |
echo "Install web services" | |
echo "==============================" | |
apt-get -y install nginx supervisor |
--- a/setup.py 2014-03-17 03:31:31.000000000 +0100 | |
+++ b/setup.py 2014-03-17 19:06:03.000000000 +0100 | |
@@ -750,10 +750,8 @@ | |
exts.append( Extension('_socket', ['socketmodule.c'], | |
depends = ['socketmodule.h']) ) | |
# Detect SSL support for the socket module (via _ssl) | |
- search_for_ssl_incs_in = [ | |
- '/usr/local/ssl/include', | |
- '/usr/contrib/ssl/include/' | |
- ] |
#!/bin/bash | |
# based on http://offbytwo.com/2008/05/09/show-ip-address-of-vm-as-console-pre-login-message.html | |
# based on https://gist.github.com/rm/3780228 | |
# A better IP address method https://www.linuxquestions.org/questions/blog/sag47-492023/using-a-script-to-get-your-ip-address-35251/ | |
# need to be root to write out these files | |
if [ "$(id -u)" != "0" ]; then | |
echo "Need to run as root. Maybe use sudo..." | |
exit | |
fi |
#!/usr/bin/env python | |
""" | |
From | |
https://github.com/gddc/ttfquery/blob/master/ttfquery/describe.py | |
and | |
http://www.starrhorne.com/2012/01/18/how-to-extract-font-names-from-ttf-files-using-python-and-our-old-friend-the-command-line.html | |
ported to Python 3 | |
""" |