Skip to content

Instantly share code, notes, and snippets.


Randall Koutnik SomeKittens

View GitHub Profile
SomeKittens / comcast.js
Created Jul 3, 2016
Comcast injection code
View comcast.js
! function(t, e, i) {
function o(t) {
return t
function n(t) {
var e, i = [],
o = function() {
var o = arguments,
n = o.length;
View gist:0ad8bdeb0a9cb5cde5ef67afb1c38bbd

I'm trying to find geospatial data, specifically terrain/topography/landcover like urban, forest, desert, tundra, ocean, river, etc...

The first question I had asked on this site (see below) had an answer which stated that I'd need to interrogate the layers in order to generate the dataset I'd like to get. I have some idea of what the user is talking about now, but it implies that in order for me to get this data, I will need to learn some sort of GIS application, load up some raster/vector data, and then get the information on a per lat/long/elevation basis.

Some related questions I've asked on stack exchange while trying to figure out how to get this data include and I've also skimmed through the sites listed here: and it seems to me that mos

SomeKittens /
Last active Jan 27, 2016
npm progress bar test

First run (no progress bar): npm install 26.31s user 6.47s system 26% cpu 2:01.97 total

Second run (progress bar): npm install 29.98s user 5.68s system 36% cpu 1:36.98 total


SomeKittens /
Last active Apr 12, 2016
Notes from "Debugging Node in Production

Angular Buddies FOSS Bash!

(pssst - not a member of Angular Buddies yet? Join here!. You're looking for the #bash channel.)

Welcome to the first FOSS Bash! This is an experiment - everything's subject to change, feedback welcome.

The goal of the FOSS Bash is like an Amish barn rasing - lots of smart folks getting together to accomplish a great thing in a day. Today's target is UI Layout. My goal is to halve the number of issues, down to 13, and zero open PRs.

How you can help

# Noodling around with window auto-setup
get_window_id() {
return $(wmctrl -l | grep "$1" | tail -1 | cut -f1 -d" ")
SomeKittens /
Last active Sep 18, 2015
JavaScript Array.prototype vs for loops
[randallkoutnik:~/Dropbox/node/perf]$ node index.js
--- .forEach ---
.forEach took 26.271 ms
for loop took 2.369 ms
--- filter ---
.filter took 6.790 ms
for loop took 4.008 ms
SomeKittens / tmp.html
Last active Aug 29, 2015
Batarang repro
View tmp.html
<!DOCTYPE html>
<html ng-app="app">
<body ng-controller="asdf as A">
{{ A.text }}
<button ng-click="A.button();">A button!</button>
<script src=""></script>
<script type="text/javascript">

From stevefulton on this Cracked article

All these are reason why, I believe, the "prequels" were not the actual stories, but propaganda stories created by Palpatine and his minions to make the Jedi look terrible and worthless. Midiclorians were created so that the rest of the people in the universe would not try to become Jedi, as they would "measure" their "Midiclorian level" and find that it was low or non-existent...because they don't exist. The Jedi in the stories and bumbling fools who can't see what is right in front of them. At the same time, they make Palapatine look like the smartest, most powerful in the universe. Who would ever want to mess with him? The "real" stories of the Clone Wars, etc. are yet to be told, and I'm pretty sure we will see them surface as a new trilogy very soon.

View wat.js
if((parseInt(document.all.bmembers.value)!=0)&&((CheckRadioList("atitle"))||(document.all.afirstname.value!="")||(document.all.alastname.value!="")||((document.all.aphone.value!="")&&(document.all.aphone.value!="###-###-####"))||((document.all.aemail.value!="")&&(document.all.aemail.value!="[redacted email domain]")&&(document.all.aemail.value!="firstname.lastname[redacted email domain]")&&(document.all.aemail.value!="[redacted email]"))||(document.all.asector.value!="")||(document.all.aposition.value!="")||(document.all.agroup.value!="")||(CheckRadioList("alanguage"))||(document.all.aaddress.value!="")||(document.all.adirector.value!="")))