Skip to content

Instantly share code, notes, and snippets.

Jason Wiener jasonwiener

Block or report user

Report or block jasonwiener

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
jasonwiener / tag.scpt
Created Aug 4, 2017
BBEdit wrap selection (or create empty) HTML tag with CSS class using AppleScript
View tag.scpt
-- tag input options:
-- div -> <div>{SELECTED TEXT IF ANY}</div>
-- div.myclass -> <div class="myclass">{SELECTED TEXT IF ANY}</div>
on splitText(theText, theDelimiter)
set AppleScript's text item delimiters to theDelimiter
set theTextItems to every text item of theText
set AppleScript's text item delimiters to ""
return theTextItems
end splitText
jasonwiener / movietransitions.swift
Created Jan 2, 2016 — forked from SheffieldKevin/movietransitions.swift
Make a movie with transitions with AVFoundation and swift
View movietransitions.swift
// main.swift
// mutablecomposition
// Created by Kevin Meaney on 24/08/2015.
// Copyright (c) 2015 Kevin Meaney. All rights reserved.
import Foundation
jasonwiener / hello world come on in the water's fine
Last active Jan 2, 2016
this is the description of the gist
View hello world come on in the water's fine
<center>hello world</center>
View Stripe-invoice-response.json
"status": "success",
"now": 1377860542,
"data": {
"customer": "cus_1f0MLmnMDLhyok",
"object": "invoice",
"next_payment_attempt": null,
"attempted": true,
"livemode": false,
"lines": {
View Stripe-invoice-request.curl
$ curl \
-d "id='cus_28vOEDlYZHvyYL'"
View get_all.json
"status": "success",
"now": 1372448008,
"data": {
"veera": [
View add_edges.json
"status": "success",
"now": 1369168001,
"data": [
"took": "25.39ms"
View get_edges.json
You can’t perform that action at this time.