Step-by-step installtion of cGit on nginx without funky rewrite rules.
This is for
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
using NUnit.Framework; | |
namespace MyProject | |
{ | |
[TestFixture] |
URxvt*termName: rxvt-256color | |
URxvt*scrollBar: false | |
URxvt*secondaryScroll: true | |
URxvt*shading: 50 | |
URxvt*transparent: true | |
URxvt*boldFont: xft:Inconsolata:Regular:pixelsize=17 | |
URxvt*font: xft:Inconsolata:Regular:pixelsize=17 | |
URxvt*background: #000000 | |
URxvt*foreground: #ffffff |
#!/usr/bin/python | |
import ctypes | |
import os | |
import sys | |
def err_exit( msg ): | |
print >> sys.stderr, msg | |
sys.exit(1) |
(import 'java.security.MessageDigest | |
'java.math.BigInteger) | |
(defn md5 [s] | |
(let [algorithm (MessageDigest/getInstance "MD5") | |
size (* 2 (.getDigestLength algorithm)) | |
raw (.digest algorithm (.getBytes s)) | |
sig (.toString (BigInteger. 1 raw) 16) | |
padding (apply str (repeat (- size (count sig)) "0"))] | |
(str padding sig))) |
#!/bin/bash | |
aptitude -y install expect | |
// Not required in actual script | |
MYSQL_ROOT_PASSWORD=abcd1234 | |
SECURE_MYSQL=$(expect -c " | |
set timeout 10 |
This Gist has been moved to https://github.com/lbgists/rain.sh.
-- that is very similar to that of pandoc's HTML writer. | |
-- There is one new feature: code blocks marked with class 'dot' | |
-- are piped through graphviz and images are included in the HTML | |
-- output using 'data:' URLs. | |
-- | |
-- Invoke with: pandoc -t sample.lua | |
-- | |
-- Note: you need not have lua installed on your system to use this | |
-- custom writer. However, if you do have lua installed, you can | |
-- use it to test changes to the script. 'lua sample.lua' will |
DISCLAIMER: Use the following instructions at your own risk! | |
Tested with: Linux Mint 17 Cinnamon 64-bit, IntelliJ IDEA 13.1 | |
I. Setup Linux Mint system fonts | |
1. Execute in terminal: | |
sudo apt-get install fonts-droid | |
2. Go to System Settings -> Appearance -> Fonts: |