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
J = $$('.uiTextareaAutogrow')[0]; | |
J.focus(); | |
for (e = $$('.fbChatOrderedList ._55lr'), | |
a = ['faz', 'beija', 'olha', 'lambe', 'xinga', 'acerta', 'empurra', 'chuta'], | |
b = ['murcha', 'treme', 'brilha', 'vira purpurina', 'chora', 'desiste'], | |
f = function (r) { | |
r.push(F = r.shift()); | |
return F; | |
}, |
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
(function Programmer(I){ return (I && typeof I !== 'Lazy' && typeof I === 'Earlyer') ? 'Rich' : eval(['arguments', 'callee', 'name'].join('.'));})(this); | |
/* | |
As you can see at http://twitter.com/typeof_ | |
http://www.jshint.com/ shows Three warnings: | |
1 Invalid typeof value 'Lazy' | |
1 Invalid typeof value 'Earlyer' | |
1 eval can be harmful. | |
*/ |
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
([[ $BASH != "" ]] && echo -e "\"\e[1;5C\": forward-word\n\"\e[1;5D\": backward-word">>~/.inputrc)||([[ $ZSH_NAME != "" ]] && echo "bindkey -e\nbindkey \"\\\e[1;5C\" forward-word\nbindkey \"\\\e[1;5D\" backward-word">>~/.zshrc) |
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 | |
# | |
# based on https://twitter.com/typeof_/status/438001208729403392 | |
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %Cgreen%cr %Cblue%an%Creset'" |
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
/* Foca no c贸digo | |
.---. | |
/o o\ | |
__(= " =)__ | |
//\'-=-'/\\ | |
) (_ | |
/ `"=-._ | |
/ \ ``"=. |
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 | |
require_once __DIR__.'/../../system/azure/autoload.php'; | |
use WindowsAzure\Common\ServicesBuilder; | |
use WindowsAzure\Blob\Models\CreateContainerOptions; | |
use WindowsAzure\Blob\Models\PublicAccessType; | |
use WindowsAzure\Common\ServiceException; | |
$config = array( |
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 | |
function csv2array($filename, array $options = array( | |
'delimiter' => ',', | |
'enclosure' => '"', | |
'escape' => "\\", | |
), $return = array()) | |
{ | |
if (file_exists($filename)) { | |
$csv = fopen($filename, 'r'); |
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
a=1;b=0;while [ $a -gt $b ];do s=0;for p in * ;do c=`ls $p|wc -l`; echo "$p $c jsons";s=`expr $s + $c`;done;echo -e "Total $s em `date +'%Y%m%d %H%M'`\nDiferen莽a do anterior: `expr $s - $a`";b=$a;a=$s;sleep 60;done |
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
function isBissextile(n) { return n % 4 === 0 && (n % 400 === 0 || n % 100 !== 0) ? true : false; } |
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
function daysInMonth(month, year) { return new Date(year, month, 0).getDate(); } |
OlderNewer