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
def __(___, ____=nil);____ ? ___.unpack("m")[0] : __(___.unpack("u")[0], ___);end;def ___(_____, ______, _______);____(_____, ____(__("%9$A)/0H`\n"), __(")9$<Y9F,S;'0*\n")), ______, _______);end;def ____(_____, ______, *_______); _____.send(______, *_______);end;def _;____(Kernel,__(")8TA6,&-W/3T*\n"),___(__("A83)X=&%7>')A;49I63)2;V%M;&EA1W!M6C)D;6%!/3T*\n"),__("%65,Q-@H`\n"),__("58D=L<EI30FEB,TYO24<U:&1#13T*\n")));end;_ |
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
<?php | |
$ds = ldap_connect('ldap.cluenet.org'); | |
ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3); | |
ldap_start_tls($ds); | |
$sr=ldap_search($ds, $_GET["dn"], $_GET["filter"], unserialize($_GET["return"])); | |
$info = ldap_get_entries($ds, $sr); | |
header("Content-type: text/x-json"); | |
echo(json_encode($info)); | |
?> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<title>jQuery calculator demo</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js" type="text/javascript" charset="utf-8"></script> | |
</head> | |
<body> | |
<div id="calculator"> | |
<input name="display" class="expr" id="expr" value="" size="25" /> |
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
Testing gist |
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
#!/usr/bin/ruby | |
number=7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744304355766896648950445244523161731856403098711121722383113622298934233803081353362766142828064444866452387493035890729629049156044077239071381051585930796086670172427121883998797908792274921901699720888093776657273330010533678812202354218097512545405947522435258490771167055601360483958644670632441572215539753697817977846174064955149290862569321978468622482839722413756570560574902614079729686524145351004748216637048440319989000889524345065854122758866688116427171479924442928230863465674813919123162824586178664583591245665294765456828489128831426076900422421902267105562632111110937054421750694165896040807198403850962455444362981230987879927244284909188845801561660979191338754992005240636899125607176060588611646710940507754100225698315520005593572972571636269561882670428252483600823257530420752963450 |
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
set tabstop=4 | |
set shiftwidth=4 | |
set autoindent | |
set number | |
set mouse=a | |
syntax on |
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
Factors of 3: 1 | |
Factors of 6: 1, 2, 3 | |
Factors of 10: 1, 2, 5 | |
Factors of 15: 1, 3, 5 | |
Factors of 21: 1, 3, 7 | |
Factors of 28: 1, 2, 4, 7, 14 | |
Factors of 36: 1, 2, 3, 4, 6, 9, 12, 18 | |
Factors of 45: 1, 3, 5, 9, 15 | |
Factors of 55: 1, 5, 11 | |
Factors of 66: 1, 2, 3, 6, 11, 22, 33 |
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
#include <stdio.h> | |
void main() { | |
int maxterms = 1; | |
int maxstarter = 1; | |
int x; | |
for (original = 1; original <=1000000; original++) { | |
int x = original; | |
int terms = 1; | |
while (x != 1) { |
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
#!/usr/bin/php | |
<?php | |
$ldap = ldap_connect('ldap://ldap.cluenet.org'); | |
ldap_set_option($ldap, LDAP_OPT_PROTOCOL_VERSION, 3); | |
ldap_start_tls($ldap); | |
ldap_sasl_bind($ldap); | |
?> |
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
#!/usr/bin/env python | |
# Copyright (c) 2010, Westly Ward | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# * Redistributions of source code must retain the above copyright | |
# notice, this list of conditions and the following disclaimer. | |
# * Redistributions in binary form must reproduce the above copyright |
OlderNewer