Skip to content

Instantly share code, notes, and snippets.

Stan Kudrow stankud

  • Vice Media
  • New York
Block or report user

Report or block stankud

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ip_geo_info.json
{
"city":"New York",
"zipcode":"10007",
"timezone_offset":-5,
"latitude":40.7121,
"connection_type":"fttx",
"timezone_name":"America/New_York",
"isp_name":"Lightower Fiber Networks I",
"organization_name":"Lightower Fiber Networks",
"country":"US",
View keen.json
{
"id": "cj0se5d36061w01nlmthpr5w1",
"timestamp": "2017-03-16T15:30:11.252Z",
"created_at": "2017-03-16T15:30:11.252Z"
}
View article-impressions-unique-post-keen.json
{
"social_channel_url":"https://www.facebook.com/thefutureisnowbymic",
"domain":"mic.com",
"visitor":"85ff9745-c673-4990-82c5-ee1d54b2a78c",
"duration":421,
"timezone":300,
"ad_blocker":false,
"ip_address":"72.69.2.7",
"section":"tech",
"referrer_type":"other",
View article-impressions-unique-pre-keen.json
{
"social_channel":"facebook_future",
"social_channel_url":"https://www.facebook.com/thefutureisnowbymic",
"ip_address":"${keen.ip}",
"keen":{
"addons":[
{
"name":"keen:ua_parser",
"input":{
"ua_string":"user_agent"
View init.el
;;; change back-up folder directory
;;; (setq backup-directory-alist '(("." . "~/.emacsBackups")))
;;; no backup files
(setq make-backup-files nil)
;;; use js-mode for .js/json files
(add-to-list 'auto-mode-alist '("\\.json$" . js-mode))
;;; bind meta key to option
@stankud
stankud / stars_tutorial.js
Last active Dec 27, 2015
Create a stars background with Kinetic.js
View stars_tutorial.js
//1. Create the app object to have easy access to all variables.
var app = {
};
//2. Add an initialize function to our app objects to have it called when the document is ready and create origin variables
var app = {
// add initialize method to our app
@stankud
stankud / halloween.js
Last active Dec 27, 2015
Change page to a picture after 5 seconds if it's Halloween
View halloween.js
docucument.onload = function)() {
var seconds = 5
var today = new Date()
if (today.getMonth() == 9 && today.getDate() == 31){
setInterval(function(){
body = getElementsByTagName('body');
body[0].innerHTML = '<img src="http://i.imgur.com/iPOS6.gif">';
}, (seconds*1000));
}
}
You can’t perform that action at this time.