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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>icon testing</title> | |
<link type="text/css" rel="stylesheet" href="style/css/font-awesome.css" media="screen" /> | |
<style type="text/css"> | |
.icon-box { | |
color: #fff; | |
background: #000; | |
padding: 5px 3px 2px 3px; |
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
<? | |
/** | |
* generate random alphanumeric string | |
* | |
* @param int $len length of string | |
* @return string | |
*/ | |
function randString($len=16) { | |
$str = ""; | |
$chars = array_merge(range('a', 'z'), range(0, 9), range('A', 'Z')); |
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 | |
class ΰ² _ΰ² extends Exception { | |
public function __construct($msg, $code=0, Exception $prev=null) { | |
parent::__construct("ΰ² _ΰ² ", $code, $prev); | |
} | |
public function __toString() { | |
return "ΰ² _ΰ² "; | |
} | |
} | |
?> |
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
.pixelated { | |
image-rendering: -moz-crisp-edges; | |
image-rendering: -o-crisp-edges; | |
image-rendering: -webkit-optimize-contrast; | |
-ms-interpolation-mode: nearest-neighbor; | |
} |
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
<html> | |
<head> | |
<title>base64 encoded webfonts example</title> | |
<?php | |
$file = "webfont.eot"; | |
$handle = fopen($filename, "r"); | |
$data = fread(fopen($file, "r"), filesize($file)); | |
?> | |
<style> | |
@font-face { |
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
: X | |
:: XX | |
:::: XXXX | |
:::::: XXXXXX | |
:::::::: XXXXXXXX | |
::::::::: XXXXXXXXX | |
::::::::::: XXXXXXXXXXX | |
::::::::::::: XXXXXXXXXXXXX | |
::::::::::::::: XXXXXXXXXXXXXXX |
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
$.ajax({ | |
url: 'ui/tpl/login.handlebars', | |
context: this, | |
cache: true, | |
success: function(data) { | |
var tpl = Handlebars.compile(data); | |
this.$el.html(tpl(this.model.toJSON())); | |
} | |
}); |
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
.$DDDDDDI.. ..~DDDDDDO. | |
=DD888888888DDD. .IDDD888888888DO. | |
.~DDDDDD. 8DD888OOOOOO8888DDZ..DDD888OOOOO88888DD. .DDDDDO. | |
.DDDDDDDD$ ~D88O8OOOOOOOOOO888DDDDD8888OOOOOOOOOO888D8 .DDDDDDDD. | |
?DDDDZ D' ..DD88OOOOOOOOOOOOO8888DDDD888OOOOOOOOOOOOO88DD+ `D DDDNN | |
NDNDD . .DD888OOOOOOOOOOOO88888DDDDD88888OOOOOOOOOOOOO88DN. . DDDDD | |
DNNDDD, .8ND88OOOOOOOOOOO888DDDNNNNDNDDDNDDD88OOOOOOOOOOO88DDN. ,NDNDDN | |
ZDNNNNNNNDDD888OOOOOOO88888DDN? `NNND8888OOOOOOO8888DDNNNNNNDDN |
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 -e "\e[01;33m[repo url]\e[00m" | |
read repo | |
echo -e "\e[01;33m[short link]\e[00m" | |
read link | |
curl -i http://git.io -F "url=$repo" -F "code=$link" |
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 | |
# | |
# screenFetch (v2.4.0) | |
# | |
# Script to fetch system and theme settings for screenshots in most mainstream | |
# Linux distributions. | |
# | |
# This script is released under the General Public License (GPL). Though it's open | |
# source and you are free to do with it as you please, I would appreciate if you would | |
# send any code modifications/additions upstream to me so that I can include them in |