Skip to content

Instantly share code, notes, and snippets.

Matt Kane ascorbic

Block or report user

Report or block ascorbic

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
@ascorbic
ascorbic / index.html
Created Feb 20, 2019
Tiny parcel/React
View index.html
<body>
<div id="root"></div>
<script src="index.tsx"></script>
</body>
View SketchSystems.spec
History&
waffle_bath unsticky a unsticky b
waffle_bath Unvisited
waffle_bath start -> waffle_bath Incomplete
waffle_bath Incomplete
waffle_bath start -> waffle_bath Incomplete
waffle_bath complete A -> waffle_bath CompletedOutcomeA
waffle_bath complete B -> waffle_bath CompletedOutcomeB
View SketchSystems.spec
Genie&
Music
Playing
STOP -> Stopped
Stopped
PLAY -> Playing
Search
Default*
Search for tracks -> Searching
Searching
@ascorbic
ascorbic / passengers.json
Created Jan 28, 2017
Annual passengers in UK train stations
View passengers.json
{
"ABW": 2929472,
"ABE": 214996,
"ACY": 275404,
"ABA": 566904,
"ABD": 3459944,
"AUR": 127312,
"AVY": 38094,
"ABH": 1984,
"AGV": 435478,
@ascorbic
ascorbic / StyleSettings.plist
Created Feb 24, 2014
Objective-Clean settings
View StyleSettings.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>kRequireSpaceAfterColon</key>
<false/>
<key>kRequireOpenBraceOnMethodSignatureLine</key>
<true/>
<key>kRequireOpenBraceOnConditionalStatementLine</key>
<true/>
@ascorbic
ascorbic / gist:812387
Created Feb 5, 2011
A full example, that should work.
View gist:812387
var gotPicture = function(path) {
$('#previewPic').attr('src', path); /*optional */
var params = {foo: 'bar'};
var cookie = localStorage.getItem("Cookie");
if(cookie) {
params['__cookie'] = cookie;
You can’t perform that action at this time.