Skip to content

Instantly share code, notes, and snippets.

Kevin Gorski kevingorski

Block or report user

Report or block kevingorski

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 gist:e274343eabeb678f5d75834af2e47efa
Verifying my Blockstack ID is secured with the address 1GMrfy2kkfM3LtxuaRsdNp9N73rEhmdBR4 https://explorer.blockstack.org/address/1GMrfy2kkfM3LtxuaRsdNp9N73rEhmdBR4
@kevingorski
kevingorski / index.html
Created Jul 9, 2013
Trying to show delegated click events not working on group elements in IE.
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>SVG Group Element Click Events</title>
<style>
.DirectClickEvent { fill: green; }
.GroupClickEvent { fill: red; }
text { fill: white; }
@kevingorski
kevingorski / fileUploading.js
Last active Dec 10, 2015
jQuery promises and deferred object example
View fileUploading.js
// Imaginary file upload API
var file = {
totalBytes: 300,
upload: function(fileName) {
var uploading = $.Deferred(),
bytesTransferred = 0;
transferringInterval = setInterval(function() {
bytesTransferred += 50;
uploading.notify(bytesTransferred);
View Bookmarklet.html
<!-- This code would normally be compressed to one line and not include comments -->
<a id="Target" href="javascript:
// Begin self-executing function
(function(){
// Check for existing definitions
if(typeof CYRIN == 'undefined'
||typeof CYRIN.Bookmarklet == 'undefined'){
// Include updatable script
View dabblet.css
/**
* Popover for Neven
*/
body {
background-color: #BBB;
}
.container {
width: 250px;
}
@kevingorski
kevingorski / Alfred-test.js
Created Feb 11, 2011
Trying out Alfred.js, running into issues
View Alfred-test.js
var alfred = require('alfred');
alfred.open(__dirname + '/sessions.db', function(err, db) {
if (err) { throw err; }
console.log(err); // 'null'
console.log(db);
/*
{ options:
{ meta_compact_interval: 3600000,
You can’t perform that action at this time.