Skip to content

Instantly share code, notes, and snippets.

View w00kie's full-sized avatar
🙄
( -_・)σ - - - - - - - - ・

François Rejeté w00kie

🙄
( -_・)σ - - - - - - - - ・
View GitHub Profile
<?php
/**
* WP Redix Index
*
* Redis caching system for WordPress. Inspired by Jim Westergren.
*
* @author Jeedo Aquino
* @see http://www.jeedo.net/lightning-fast-wordpress-with-nginx-redis/
* @see http://www.jimwestergren.com/wordpress-with-redis-as-a-frontend-cache/
*/
@w00kie
w00kie / kana_to_romaji.py
Created August 17, 2012 09:46 — forked from osima/kana_to_romaji.py
convert from kana(hiragana japanese character) to romaji using python
#!/usr/bin/python
# -*- coding: utf-8 -*-
import re
def kana_to_romaji(text):
dict={
u'きゃ':'kya',u'きゅ':'kyu',u'きょ':'kyo',
u'しゃ':'sha',u'しゅ':'shu',u'しょ':'sho',
@w00kie
w00kie / new_bashrc.sh
Created August 12, 2012 14:25 — forked from josephwecker/new_bashrc.sh
Replace .bashrc, .bash_profile, .profile, etc. with something much more clean, consistent, and meaningful. Now a repo: https://github.com/josephwecker/bashrc_dispatch
#!/bin/bash
# License: Public Domain.
# Author: Joseph Wecker, 2012
#
# -- DEPRICATED --
# This gist is slow and is missing .bashrc_once
# Use the one in the repo instead! https://github.com/josephwecker/bashrc_dispatch
# (Thanks gioele)
#
# Are you tired of trying to remember what .bashrc does vs .bash_profile vs .profile?