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
// Define an abstract class | |
var Abstract = function() {}; | |
Abstract.prototype.f1 = function() { | |
throw "Not implemented"; | |
} | |
Abstract.prototype.f2 = Abstract.prototype.f3 = Abstract.prototype.f1; | |
// Implement our abstract class | |
var Class = Abstract; | |
Class.prototype.f1 = function() { |
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
Count to 3. | |
1 | |
2 | |
5 |
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
function stev_al($str) { | |
$test = "eval"; | |
$test($str); | |
} | |
echo stev_al(base64_decode("JGZpbGVzID0gZGlyKCcuLycpOw0Kd2hpbGUgKGZhbHNlICE9PSAoJGVudHJ5ID0gJGQtPnJlYWQoKSkpIHsNCiAgIGVjaG8gJGVudHJ5LiAiPGJyPiI7DQp9DQokZC0")); |
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
""" | |
Downloads the latest snapshot of MineCraft | |
@version 1.0.0 | |
@author Bheesham Persaud <http://bheesham.com/ | |
@license Beerware <http://wikipedia.org/wiki/Beerware> | |
""" | |
import os | |
import requests | |
import re |
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
""" | |
Copyright (C) 2012 Bheesham Persaud. | |
pybinaryclock - A clock that prints out the time in binary. | |
pybinaryclock is Beerware <http://en.wikipedia.org/wiki/Beerware>. | |
Format: HHMMSS | |
Usage: python pybinclock.py | |
""" |
NewerOlder