This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum RingPosition : Int { | |
case None, Outer, Inner | |
// not necessary to do this: case None=0, Outer=1, Inner=2 | |
} | |
#if !TARGET_INTERFACE_BUILDER | |
@IBInspectable var ringPosition : RingPosition = .None | |
#else | |
@IBInspectable var ringPosition : Int = 0 | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Workflowy markdown tags with images -> images | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://workflowy.com/* | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* URLs starting with https://workflowy.com/ */ | |
/* hide share buttons */ | |
#share_buttons, | |
#helpButton, | |
#leftGradient, | |
#rightGradient { | |
display:none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# uiqueid generates a 4 character unique ID and puts it in the clipboard | |
# configurable variables | |
prefix = "WF-" | |
totalChars = 4 | |
startPoint = 97 # use 65 for upper, 97 for lower | |
def pbcopy(input) | |
str = input.to_s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class UIImageViewWithDelayedLoad : UIImageView { | |
var url : NSURL? | |
init(urlForLoadWhenFrameNotZero: NSURL) { | |
super.init(frame: CGRectZero) | |
self.url = urlForLoadWhenFrameNotZero | |
} | |
required init?(coder: NSCoder) { super.init(coder: coder) } | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name WorkflowyPlus Refac | |
// @namespace http://confusionstudios.com | |
// @version 0.2 | |
// @author Wizmann, DR2050 | |
// @match https://workflowy.com/* | |
// @grant none | |
// ==/UserScript== | |
/* jshint -W097 */ | |
'use strict'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// HasOwnNib.swift | |
// PlayingWithUI | |
// | |
// Created by dr2050 on 6/19/16. | |
// Copyright © 2016 Confusion Studios LLC. All rights reserved. | |
// | |
import UIKit | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.Document { | |
margin: 0px !important; | |
width: 100% !important; | |
max-width: 2500px !important; | |
} | |
.DocumentBreadcrumb { | |
max-width: 100% !important; | |
padding-left: 0px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name WorkflowyPlus Refac 2 | |
// @namespace http://confusionstudios.com | |
// @version 0.2 | |
// @author Wizmann, DR2050 | |
// @match https://workflowy.com/* | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js | |
// @grant none | |
// ==/UserScript== | |
/* jshint -W097 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Workflowy Images and iFrames | |
// use image:http://example.com/image.png and iframe:http://example.com/somePlace.html in your note text for Workflowy | |
// @namespace http://confusionstudios.com | |
// @version 1.1 | |
// @author Dan Rosenstark (DR2050) | |
// @match https://workflowy.com/* | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js | |
// @require https://code.jquery.com/ui/1.12.0/jquery-ui.js | |
// @require https://cdn.rawgit.com/noelboss/featherlight/1.5.0/release/featherlight.min.js |