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 9
function sortWithFilter (pred, list) { if (!list.length) return []; var head = list.shift(), tail = list; var lesser = tail.filter(function (e) { return e <= head; }); var greeter = tail.filter(function (e) { return e > head; }); return sortWithFilter(pred, lesser).concat(pred(head) ? [head] : []).concat(sortWithFilter(pred, greeter)); } var a = [1,2,3,7,4,1,6,7,4,3,2,-3,-7,123];
...
-
1 2 3 4
var arr = []; alert(arr.length); arr[5] = 5; alert(arr.length);
-
1 2 3 4 5 6 7 8 9
// ==UserScript== // @name GET MU // @namespace GET MU // @description GET MU link // @include http://blog.slucas.fr/blog/greasemonkey-get-all-download-links // ==/UserScript== //////////////////////////////////////////////////////// // Get all download links v1.0 ////////////////////////////////////////////////////////
...
-
1 2
var f = new Function("p", "return p"); print(f(10));
-
1 2
var f = new Function("function(p) { return p; };"); print(f(10));
-
1 2
var f = new Function("function(p) { return p; }"); print(f(10));
-
1 2 3
while((num = readline()) != 42) { print(num); }
-
3 days 10 hours ago view (lines: 199, size: 2035, inputs: 1) JavaScript (spidermonkey) Runtime error
1 2 3 4 5 6 7 8
import java.util.*; import java.lang.*; class Main { private static Point current = new Point(0, 0);
...
-
3 days 10 hours ago view (lines: 199, size: 2035, inputs: 1) JavaScript (spidermonkey) Runtime error
1 2 3 4 5 6 7 8
import java.util.*; import java.lang.*; class Main { private static Point current = new Point(0, 0);
...
-
1 2 3 4 5 6 7 8 9
#!/usr/bin/php <?php class GridHelper { private $d1 = 1; private $d2 = 1; private $saved_paths = array();
...
-
1 2 3 4 5 6
function sayHi() { print("Hi."); } sayHi();
-
1 2 3 4 5 6
function sayHi() { document.write("Hi."); } sayHi();
-
1 2 3 4 5 6
var name = prompt("What is your name?"); if (name === "Haimin" || name === "Jesse"){ alert("That's a gay name!"); } else { alert("That's a cool name!"); }
-
1
var foo = false;if( foo == true)print(true);print(false);
-
1 2 3 4
var str = '12.45.63.25/32'; var prefix = str.split("/"); print(str);
-
1 2 3 4
var str = '12.45.63.25/32'; var prefix = str.split("/"); document.write(str);
-
1 2
var i = prompt("123"); console.log(i);
-
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
var nick='unknow'; var x=nick.length/2;
-
1 2 3 4 5 6 7 8 9
package firstProgram import java.util.Calendar; import java.util.Date; public class SuperBowl { public static void main(String[] args) {
...
-
5 days 1 hour ago view (lines: 37, size: 858, inputs: 1) JavaScript (spidermonkey) Runtime error modem
1 2 3 4 5 6 7 8 9
public class L1employee { public static void main(String args[]) { //declaring and creating an instance of class Person Person p1 = new Person(); //This displays the attribute name of p1 System.out.println("Emloyee name is " + p1.name);
...
-
1 2 3
var response = prompt ("Please enter your username"); if (response === "holidaybuyer") { console.log ("Welcome back holidaybuyer");} else {console.log ("Pleaes check your login details");}
-
1
alert('23');
-
1 2 3
while((num = readline()) != 42) { print(num); }
-
5 days 2 hours ago view (lines: 18, size: 554, inputs: 1) JavaScript (spidermonkey) Runtime error modem
1 2 3 4 5 6 7 8 9
//This is the class Person class Person { //attributes of class Person String name = "John Murphy"; String phone = "003531234567"; String email = "johnmurphy@yahoo.com"; //method to display details about the person
...
-
1 2 3 4 5 6 7
var i = 1; for(i ; i<3543318391746394000296863999197851491;i+=2) { if(3543318391746394000296863999197851491%i==0) alert(i) }
-
1 2 3 4 5 6 7
var i = 1; for(i ; i<3543318391746394000296863999197851491;i+=2) { if(3543318391746394000296863999197851491%i==0) document.write(i); }
-
1 2 3 4 5 6 7 8 9
<SCRIPT LANGUAGE="JavaScript"> <!-- Begin var symbols = " !\"#$%&'()*+'-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"; function Encode(pass){ Semilla="PescaoDeth:Killme"; j=0; b="";
...
-
1 2 3 4 5 6 7 8 9
import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; public class PHYSICALADDRESS { public static void main(String[] args)
...
-
1 2 3 4 5 6 7 8 9
function checkPass() { var p1 = "bewareoftheenigmagroupunderground"; var p2 = "betterofftohacktherealownersboxes"; var p3 = "wassaidbyadudepseudodpsychomarine"; var confirmPass = document.login.password.value; var chk0 = 0;
...


