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
/* | |
http://projecteuler.net/problem=7 | |
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. | |
What is the 10 001st prime number? | |
*/ | |
var findPrime = function findPrime(num) { | |
var t0 = performance.now(); |
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
var mouseUp = function(evt) { | |
canvas.addClones = false; | |
window.removeEventListener("keyup", canvas.removeClones) | |
selectedElements = selectedElements.filter(Boolean) | |
if(evt.button === 2) { | |
return; | |
} | |
var tempJustSelected = justSelected; | |
justSelected = null; | |
if (!started) { |
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
var connect = require('connect'); | |
var serveStatic = require('serve-static'); | |
connect().use(serveStatic(__dirname)).listen(8080); | |
console.log('displaying text so you know something happened') |
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
var selectedChanged = function(window,elems) { | |
$("[id*='bounds']").attr('class', 'invisible'); | |
var menu_items = $('#cmenu_canvas li'); | |
var mode = svgCanvas.getMode(); | |
if(mode === "select") setSelectMode(); | |
if (mode === "pathedit") return updateContextPanel(); | |
// if elems[1] is present, then we have more than one element | |
selectedElement = (elems.length == 1 || elems[1] == null ? elems[0] : null); | |
elems = elems.filter(Boolean); | |
multiselected = (elems.length >= 2) ? elems : false; |
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
<li> | |
<input type="radio" checked name="tabs" id="tab-minisketch"> | |
<label for="tab-minisketch">Minisketch</label> | |
<div id="tab-content-minisketch" class="tab-content animated fadeIn"> | |
<div id="minisketch" style="position:relative"> | |
</div> | |
</div> | |
</li> |
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
// Given a file name, pass it to the proper extension handler. | |
Module.prototype.load = function(filename) { | |
debug('load ' + JSON.stringify(filename) + | |
' for module ' + JSON.stringify(this.id)); | |
assert(!this.loaded); | |
this.filename = filename; | |
this.paths = Module._nodeModulePaths(path.dirname(filename)); | |
var extension = path.extname(filename) || '.js'; |
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 | |
function compare($X, $Y) { | |
return($Y['score'] - $X['score']); | |
} | |
header('Access-Control-Allow-Origin: *'); | |
define('MAX_PERS_COLLAGES', 3); // How many personal collages should be shown by default | |
define('MAX_COLLAGES', 5); // How many normal collages should be shown by default | |
$GroupID = ceil($_GET['id']); |
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
d8:announce40:http://thomasballinger.com:6969/announce10:created by15:BitTorrent/735013:creation datei1350689333e8:encoding5:UTF-84:infod6:lengthi1751391e4:name23:1999-12-31 18.20.09.jpg12:piece lengthi16384e6:pieces2140:�tyMxD]�X@?M��a�F���x��C�| �Q%"���YN | |
g���S~�w� | |
��O&!<p��S��f�����}�2����{��#����{���z pj1+� �~��|,��a��E��Z@BK.w*D���N^�� ��;�� �'֪�W��V����[W�]��u�Z��s�( | |
�=�w�9DrJ��?��:�G����a3cZ���C�1�K�xu\s� | |
���mΊ�J�2�7���o�;b��O�L�]�):���t�^�F��O�#�ң��QU���̟��S�oʭ | |
���sjr>o�Z��cP˙~87�K���R[קI�f�j�ZR�u�<��ab��dj��Bu+q59�u�=Jj����(��0�w��mPUeA��5�����I��X��B�~�~J�ZC� | |
����=�78?5X�t��4�P�����¼���|�6�2�P'�W ����όaX:(%u �mx1 | |
�:�>�^>�"�Pm��Z�WA�*�����C\�^�E�eΩ���B��r����ק�Z��{�m��BL�hv��xZ���y�{�9~�esq��*�\���y��<��}�R�C}����d[=㒰��'���B�L��-�u�S�;Dc����N�z���*��*��0 pzr�w�=P�dN���}cz9�\I=��E���^7?�Z�f���N�M���v��˃3c�w*=1����W0 �� *b�ܷ�M�S��9kv?a�m��� Y���z��TB������СZ�����]�*���=�K�ւ������ ��G�N���g�L�[�Ls�ٰԕ���4E��E3 |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
Gary Fleming | |
Tony Craddock Jr. | |
Rachna Puthottu | |
Arita Wanzer | |
Casey Rafter | |
Daniel Hallman | |
Cole Wilcom | |
Bobby Stierwalt | |
Tommy Lamp | |
Yoon Yojeh |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
Name | |
Gary Fleming | |
Tony Craddock Jr. | |
Rachna Puthottu | |
Arita Wanzer | |
Casey Rafter | |
Daniel Hallman | |
Cole Wilcom | |
Bobby Stierwalt | |
Tommy Lamp |
OlderNewer