I hereby claim:
- I am alecgorge on github.
- I am alecgorge (https://keybase.io/alecgorge) on keybase.
- I have a public key whose fingerprint is 265A 6C16 3686 84BA 151A D2EA BAD8 D736 A0A4 6B6E
To claim this, I am signing this object:
import functools | |
import logging | |
from concurrent.futures import Future, ThreadPoolExecutor | |
from typing import Any, Callable, Generic, Tuple, TypeVar | |
from gevent.threadpool import ThreadPoolExecutor as NativeThreadPoolExecutor # type: ignore[attr-defined] | |
from typing_extensions import ParamSpec | |
logger = logging.getLogger(__name__) |
// Encryption.cpp | |
#include <openssl/des.h> | |
char * Encryption::_DefaultKey = NULL; | |
bool Encryption::_IsDefaultKey = true; | |
const char * defaultString = "NppFTP00"; //must be 8 in length | |
const size_t Encryption::KeySize = 8; | |
int Encryption::Init() { | |
_DefaultKey = new char[KeySize]; |
a = [1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1,2,3,6] | |
n = len(a) | |
m = 2 | |
#Function to accept reference string and frame size. | |
def accept(): | |
global a,n,m | |
a = [] | |
n = input("\n Enter the size of reference string : ") | |
for i in range(n): |
/** | |
* Run this script in the console on http://www.facebook.com/friends/edit/?sk=phonebook | |
*/ | |
(function () { | |
function getScript(url, success) { | |
var script = document.createElement('script'); | |
script.src = url; | |
var head = document.getElementsByTagName('head')[0], | |
done = false; | |
script.onload = script.onreadystatechange = function () { |
<?php | |
function parse_properties($txtProperties) { | |
$result = array(); | |
$lines = split("\n", $txtProperties); | |
$key = ""; | |
$isWaitingOtherLine = false; | |
foreach ($lines as $i => $line) { | |
if (empty($line) || (!$isWaitingOtherLine && strpos($line, "#") === 0)) | |
continue; | |
https://phish.in/audio/000/014/438/14438.mp3 | |
cache cold: Connect: 0.039889 TTFB: 0.343972 Total time: 44.155656 | |
cache hot : Connect: 0.041104 TTFB: 0.211651 Total time: 3.603023 | |
direct : Connect: 0.079600 TTFB: 0.416767 Total time: 6.376287 | |
https://phish.in/audio/000/014/447/14447.mp3 | |
cache cold: Connect: 0.039804 TTFB: 0.343956 Total time: 4.963368 | |
cache hot : Connect: 0.039804 TTFB: 0.207647 Total time: 0.699860 |
I hereby claim:
To claim this, I am signing this object:
upstream iguana_node { | |
server localhost:9000; | |
} | |
upstream iguana_phantom { | |
server localhost:8888; | |
} | |
server { | |
listen 80; |
// Photoshop Script to Create iPhone Icons from iTunesArtwork | |
// | |
// WARNING!!! In the rare case that there are name collisions, this script will | |
// overwrite (delete perminently) files in the same folder in which the selected | |
// iTunesArtwork file is located. Therefore, to be safe, before running the | |
// script, it's best to make sure the selected iTuensArtwork file is the only | |
// file in its containing folder. | |
// | |
// Copyright (c) 2010 Matt Di Pasquale | |
// Added tweaks Copyright (c) 2012 by Josh Jones http://www.appsbynight.com |
(function ($) { | |
return $('a').filter(function () { | |
return $(this).text() == "PDF"; | |
}).map(function () { | |
var dl_free_name = $(this).attr('href').substring(0, $(this).attr('href').length - 5); | |
var ext = dl_free_name.substring(dl_free_name.length - 3); | |
var track = $(this).parents('.session').find('.track').text(); | |
var title = $(this).parents('.session').find('.title').text().replace(/[^a-zA-Z0-9-_ ]+/g, ''); | |
return 'wget "' + dl_free_name + '" -O "[' + track + '] ' + title + '.' + ext + '"'; | |
}).toArray().join("\n"); |