Recent public codes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C++0x
- C99 strict
- CLIPS
- Clojure
- COBOL
- COBOL 85
- Common Lisp (clisp)
- D (dmd)
- Erlang
- F#
- Factor
- Falcon
- Forth
- Fortran
- Go
- Groovy
- Haskell
- Icon
- Intercal
- Java
- JavaScript (rhino)
- JavaScript (spidermonkey)
- Lua
- Nemerle
- Nice
- Nimrod
- Objective-C
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- SQL
- Tcl
- Text
- Unlambda
- VB.NET
- Whitespace
-
1 2 3 4 5 6 7 8
try { throw; } catch(e) { print(e); }
-
1 2 3 4 5 6 7 8
try { throw "e"; } catch(e) { print(e); }
-
1 2 3 4 5 6 7
try { throw "e"; } catch(e) { }
-
1 2 3 4 5 6 7
try { throw "e"; } catch() { }
-
1 2 3 4 5 6 7 8 9
<script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-2299484-1']); _gaq.push(['_setDomainName', '.enigmagroup.org']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
...
-
1 2 3 4 5 6 7 8 9
<html> <head> <style> /** Remove this and I kill you **/ #navigation-member-bar{max-height:22px;height:22px;position:fixed;top:0;left:0;background: #000 url("/images/bar13.png") 0 0 repeat-x;margin:margin:0px;float:left;border-bottom:1px solid #000;width:101%;z-index:10;} .top-member-bar-left{margin: 0;padding: 0;float: left;font: 11px Verdana;text-align: center;margin:0;} .top-member-bar-left li{display: inline;} .top-member-bar-left li a{float:left;color:white;text-align:center;padding:3px 5px;text-decoration:none;}
...
-
1 2 3 4 5 6 7 8 9
var base= new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z","a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"); var data=new Array(3); base.reverse(); data[0]=base[42]; data[1]=base[11]; data[2]=base[17]; data[3]=base[12]; data[4]=base[7]; data[5]=base[43];
...
-
1 2 3 4 5 6 7 8 9
<script language=JavaScript> var base= new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z","a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"); var data=new Array(3); base.reverse(); data[0]=base[42]; data[1]=base[11]; data[2]=base[17]; data[3]=base[12]; data[4]=base[7];
...
-
1 2 3 4 5 6 7 8 9
//RECOGNITION.JAVA import java.lang.*; import java.io.*; import.java.util.Scanner; public class RECOGNITION { //find euclidean distance btw 2 feature vectors
...
-
1 day 18 hours ago view (lines: 17, size: 213, inputs: 1) JavaScript (spidermonkey) Runtime error mooingduck
1 2 3 4 5 6 7 8 9
struct distance { vector<double> x; vector<double> y; vector<double> z; distance() : x(10000), y(10000), z(10000)
...
-
1 2 3 4 5 6
int wordFrequency = 10; string words = "hello how r u u u u u u u u u u u u u u u u u u ? hello there u u u u ! great to c u there. hello .hello hello hello hello hello .hello hello hello hello hello hello "; var result = (from word in words.Split(new string[] { " " }, StringSplitOptions.RemoveEmptyEntries) group word by word into g select new { Word = g.Key, Occurance = g.Count() }).ToList().FindAll(i => i.Occurance >= wordFrequency);
-
1 2 3 4 5 6
int wordFrequency = 10; string words = "hello how r u u u u u u u u u u u u u u u u u u ? hello there u u u u ! great to c u there. hello .hello hello hello hello hello .hello hello hello hello hello hello "; var result = (from word in words.Split(new string[] { " " }, StringSplitOptions.RemoveEmptyEntries) group word by word into g select new { Word = g.Key, Occurance = g.Count() }).ToList().FindAll(i => i.Occurance >= wordFrequency);
-
1 2 3 4 5 6
function foo(p) { print(p == null); print(p != null); } foo();
-
1 2 3 4 5 6 7 8 9
/** * Javascript GOST R 34.11-94 hash function implementation. * Based on C-code by Alexei Kravchenko and Markku-Juhani Saarinen * and Utf8 class by Chris Veness. * * Usage: gosthash("<string>") returns a hash-string. * Alexander Okrugin (November, 11, 2011) */ var Utf8 = {}; // Utf8 namespace
...
-
1 2 3 4 5 6 7 8 9
function GlobalObject() { this.test1 = function() { return this; }; this.test2 = function() { return (function(){return this;})(); }; } var go = new GlobalObject(); print(go.test1());
...
-
1 2 3 4 5 6
function getGlobalObject() { return function() { return this; }(); } print(getGlobalObject());
-
1 2 3 4 5 6 7 8 9
function GlobalObject() { this.test1 = function() { return this; }; this.test2 = function() { return (function(){return this;}); }; } var go = new GlobalObject(); print(go.test1());
...
-
1 2 3 4 5 6 7 8 9
function GlobalObject() { this.test1 = function() { return this; }(); this.test2 = function() { return (function(){return this;}); }(); } var go = new GlobalObject(); print(go.test1());
...
-
1 2 3 4 5 6 7 8 9
function getGlobalObject() { return function() { return this; }(); } print(getGlobalObject()); var go = getGlobalObject(); for(var p in go) print(p);
-
1 2 3 4 5 6
function getGlobalObject() { return function() { return this; }(); } print(getGlobalObject());
-
1 2 3 4 5 6
function getGlobalObject() { return function() { return thisl }(); } print(getGlobalObject());
-
1 2 3 4
function getGlobalObject() { return function() { return thisl }(); }
-
1 2 3 4
a = "a"; var o = {}; for(var p in o.__proto__) print(p);
-
1
print((function() { return this; })());
-
1 2 3 4
a = "a"; var o = {}; for(var p in o.__proto__) print(o[p]);
-
1 2 3 4
a = "a"; var o = {}; for(var p in o.__proto__) print(o[p]);
-
1 2 3 4 5 6 7 8 9
function foo(p) { print(p == null); p = p || null; print(p); } foo(); foo(null);
-
1 2 3 4 5 6 7 8 9
function foo(p) { p = p || null; print(p); } foo(); foo(null); foo(5);
-
1 2 3 4 5 6 7 8 9
function foo(p) { p = p || 10; return p; } print(foo()); print(foo(null)); print(foo(5));
-
1 2 3
//var task = null task = task || 10; print(task);


