#Stay Standalone
A short script to prevent internal links to a "webapp" added to iPhone home screen to open in Safari instead of navigating internally.
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
| <!DOCTYPE html> | |
| <head> | |
| <title>Stay Standalone</title> | |
| <meta name="apple-mobile-web-app-capable" content="yes"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> | |
| <script src="stay_standalone.js" type="text/javascript"></script> | |
| </head> | |
| <body> | |
| <ul> | |
| <li><a href="http://google.com/">Remote Link (Google)</a></li> |
#Stay Standalone
A short script to prevent internal links to a "webapp" added to iPhone home screen to open in Safari instead of navigating internally.
| // swap the keybindings for paste and paste_and_indent | |
| { "keys": ["super+v"], "command": "paste_and_indent" }, | |
| { "keys": ["super+shift+v"], "command": "paste" } |
| <?php | |
| class kirbytextExtended extends kirbytext { | |
| function __construct($text, $markdown=true) { | |
| parent::__construct($text, $markdown); | |
| $this->addTags('video'); | |
| // The Grid | |
| #grid { | |
| .core (@gridColumnWidth: @gridColumnWidth , @gridGutterWidth: @gridGutterWidth) { | |
| .span (@columns) { | |
| width: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1)); | |
| } |
| # YouTube playlist audio retreiver and iTunes-compliant podcast XML generation tool. | |
| # This script will download each video file from the specified YouTube playlist, losslessly extract | |
| # the audio, delete the video, and ultimately produce an iTunes-compliant podcast XML with the | |
| # appropriate metadata, including chapter markers (if provided in the description). If you run the | |
| # script again, only videos that haven't already been converted will be downloaded, allowing you to | |
| # schedule the script to run as often as needed without stressing your internet connection or | |
| # hard drive space. After generating the files and xml, you can easily host them on a local server | |
| # in order to use them with iTunes or your favorite podcast aggregator -- but that's beyond this | |
| # script's jurisdiction. |
| <?php | |
| class kirbytextExtended extends kirbytext { | |
| function __construct($text=false, $markdown=true, $smartypants=true { | |
| parent::__construct($text, $markdown, $smartypants); | |
| // define custom tags | |
| $this->addTags('figure'); |
| Not sure how to summarize/organize this into something useful. Some can be made into Spotify/Rdio playlists, but others are likely unavailable and some are just URLs to other services. Genre is all over the place as well...lots of ambient and classical, soundtracks, uptempo dancey stuff, rock w/ words, and even Slayer. Not sure all that can be put into one playlist that's useful for anyone. What I'm saying is, good luck! | |
| fantoraygun @fantoraygun 1h | |
| @jkottke some great mixes here: http://musicforprogramming.net/ | |
| Andrew @jandrewc 1h | |
| @jkottke "From here we go sublime" by The Field and "Alive 2007" by Daft Punk. | |
| Lenny @lenny_ 1h | |
| @jkottke SomaFM's Groove Salad station |
| <?php | |
| /** | |
| * Change the brightness of the passed in color | |
| * | |
| * $diff should be negative to go darker, positive to go lighter and | |
| * is subtracted from the decimal (0-255) value of the color | |
| * | |
| * @param string $hex color to be modified | |
| * @param string $diff amount to change the color |