This file contains hidden or 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
<h1>redrice</h1> | |
<style> | |
:root | |
{ | |
background-color: #fff; color: #960000; | |
font-size: 5em; text-align: center; font-style: italic; | |
} | |
</style> |
This file contains hidden or 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 | |
# Changelog | |
# --------- | |
# | |
# origin from https://gist.github.com/tg123/6240128 | |
# modified by marek-saji: | |
# - use single loop | |
# - skip frames delayed by 0 | |
# - loop animation with additional delay after every loop |
This file contains hidden or 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
[alias] | |
# Worklog. Separate repository kept in .git/worklog | |
# Initialize (bare) repository in .git/worklog | |
workloginit = !"\ | |
set -e ;\ | |
mkdir .git/worklog;\ | |
cd .git/worklog;\ | |
git init --bare;\ | |
echo '*' > .gitignore;\ |
This file contains hidden or 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/sh | |
echo outer | |
./2.sh | |
echo /outer |
This file contains hidden or 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
Host *.kd.io | |
User saji | |
ProxyCommand ssh %[email protected] nc %h %p |
This file contains hidden or 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
" be (VI)iMproved | |
set nocompatible | |
" UTF-8, anyone? | |
if has("multi_byte") | |
if &termencoding == "" | |
let &termencoding=&encoding | |
if $TERM == "linux" || $TERM_PROGRAM == "GLterm" | |
let &termencoding="latin1" | |
elseif $TERM == "xterm" || $TERM == "xterm-color" |
This file contains hidden or 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
/** | |
* cat draggin' | |
*/ | |
html, | |
body | |
{ | |
min-height: 100%; | |
min-width: 100%; | |
margin: 0; padding: 0; |
This file contains hidden or 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 | |
/** | |
* Performance of design patterns for grouping functions together | |
* | |
* ^C, when you get bored. | |
*/ | |
error_reporting(E_ALL); | |
class SomeClass |
This file contains hidden or 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
phpsh () { | |
BOOTSTRAP_FILE="$( | |
DIR="$( git rev-parse --show-toplevel 2>/dev/null || echo . )" | |
ls "$DIR/bootstrap.php" "$DIR/scripts/foo.php" 2>/dev/null | head -n1 | |
)" | |
php -a -d xdebug.cli_color=1 -d auto_prepend_file="$BOOTSTRAP_FILE" "$@" | |
} |
This file contains hidden or 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/sh | |
F=/dev/stdin | |
while : ; do | |
ls -al "$F" 2>/dev/null | |
F=$( readlink "$F" ) | |
[ -z "$F" ] && break | |
done |