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
| curl -d 'track=bot' http://stream.twitter.com/track.json -ubotcualquiera:botpass > tweets.json 2> /dev/null & tail -f tweets.json | while read tweet; do echo $tweet | grep -E -o '"screen_name":"[[:alnum:]]+"' | cut -d '"' -f 4 | while read screen_name; do echo "siguiendo a: $screen_name"; curl -d '' http://twitter.com/friendships/create/$screen_name.json?follow=true -ubotcualquiera:botpass; done ; 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
| curl -d 'track=one line' http://stream.twitter.com/track.json -ubotcualquiera:botpass > tweets.json 2> /dev/null & tail -f tweets.json | \ | |
| while read tweet; do echo $tweet | \ | |
| grep -E -o '"screen_name":"[[:alnum:]]+"' | cut -d '"' -f 4 | while read screen_name; do \ | |
| echo "following: $screen_name"; curl -d '' http://twitter.com/friendships/create/$screen_name.json?follow=true -ubotcualquiera:botpass; \ | |
| done ; \ | |
| 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 getTextValue(n) | |
| { | |
| var s = ''; | |
| for (var c=0;c<n.childNodes.length;c++) | |
| { | |
| s+=n.childNodes[c].nodeValue; | |
| } | |
| return s; | |
| } |
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 getElementsInRegion(x, y, width, height) { | |
| var elements = [], | |
| expando = +new Date, | |
| cx = x, | |
| cy = y, | |
| curEl; | |
| height = y + height; | |
| width = x + width; |
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
| jQuery.easing.flicker = function(p, t, b, c) { | |
| // p = progression: between 0 and 1 | |
| // t = current time | |
| // b = beginning value | |
| // c = change in value | |
| return (Math.random() > .5 ? p : 1) * c + b; | |
| }; | |
| // See the demo: http://jsbin.com/ihama |
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
| /* | |
| Daaaaatabase | |
| Allows the use of multiple database types using one class | |
| */ | |
| class Database | |
| { | |
| var $mInsertId; // holds last insert id. Only applies to MySQL | |
| var $mQueries = array(); // holds all queries |
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
| /* ************************************************************************ | |
| sLoad - a chainable lazy loader | |
| License: | |
| MIT: http://www.opensource.org/licenses/mit-license.php | |
| Authors: | |
| * Yëco (http://elBleg.com) |
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
| 0.1 + 0.2 //0.30000000000000004 |
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
| 0.1 + 0.2 === 0.3 //false |
OlderNewer