This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/sed -nf | |
# sedtris.sed - sed tetris | |
# 26th of May, 2008 | |
# Julia Jomantaite <[email protected]> | |
1{ | |
s/.*/ 2a2a2a2a|3a3a3a3a3a3a3a3a3a3a|2a2a2a2a~/ | |
s/[^~]*~$/&&&/ | |
s/.*/& 2a2a2a2a|0a0a0a0a0a0a0a0a0a0a|2a2a2a2a~/ | |
s/[^~]*~$/&&&&&&&&&&&&&&&&&&&&/ | |
s// 2a2a2a2a|4a4a4a4a4a4a4a4a4a4a|2a2a2a2a~/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="time.css" type="text/css"/> | |
<title>Time controller</title> | |
</head> | |
<body onselectstart="return false"> | |
<div class="blackmask"></div> | |
<section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Flora Lyric by LeaskH.com | |
# Originated by scturtle <[email protected]> | |
import urllib, urllib2 | |
import random | |
import re | |
import argparse | |
from xml.dom import minidom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
# Flora iTunes CLI by LeaskH.com | |
# Based on David Schlosnagle & David West's work | |
$based = 'tell application "iTunes"'; | |
$list = 'Instance'; | |
$actions = array( | |
'status' => array( | |
'', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Flora LibCjk by LeaskH.com | |
/** | |
* Dictionary: | |
* http://plugins.svn.wordpress.org/sil-dictionary-webonary/trunk/include/dictionary-search.php | |
* http://stackoverflow.com/questions/5074161/what-is-the-most-efficient-way-to-whitelist-utf-8-characters-in-php | |
*/ | |
function get_CJK_unicode_ranges() { | |
return array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RED="\[\033[31m\]" | |
GEN="\[\033[32m\]" | |
YEL="\[\033[33m\]" | |
OFF="\[\033[m\]" | |
NME="\u" | |
HST="\h" | |
DIR="\w" | |
DTE="`date`" | |
# TST="`date +%s`" | |
# LCT="[`whereami`]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Flora Rebuilt Linux Ramdisk by LeaskH.com | |
if [ "`/Library/Application\ Support/VMware\ Fusion/vmware-rawdiskCreator print /dev/disk1 | grep -c 'Linux'`" -eq 1 ]; then | |
LinuxDiskId=1; | |
fi | |
if [ "`/Library/Application\ Support/VMware\ Fusion/vmware-rawdiskCreator print /dev/disk2 | grep -c 'Linux'`" -eq 1 ]; then | |
LinuxDiskId=2; | |
fi | |
if [ "`/Library/Application\ Support/VMware\ Fusion/vmware-rawdiskCreator print /dev/disk3 | grep -c 'Linux'`" -eq 1 ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
# Flora Speech by LeaskH.com | |
# Import | |
# Depended on Flora LibCjk ( https://gist.github.com/4153061 ) | |
include_once('/Users/leask/Documents/Working/libcjk/libcjk.php'); | |
# Config | |
$cjk = array('Samantha', 'Sin-Ji'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Flora Search by LeaskH.com | |
function encode() { | |
echo "$*" | LANG=C awk ' | |
function char2hex(char) { | |
for (j = 0; j < 256; j++) { | |
if (sprintf("%c", j) == char) { | |
return sprintf("%%%X", j); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<--- --------------------------------------------------------------------------------------- ---- | |
Blog Entry: | |
Ask Ben: Parsing CSV Strings With Javascript Exec() Regular Expression Command | |
Code Snippet: | |
1 | |
Author: | |
Ben Nadel / Kinky Solutions |
OlderNewer