a list of slides from nodeconf
you may want to take a look at the jsconf-gist too!
| // Copyright (c) 2011 Eloy Durán <eloy@fngtps.com> | |
| // Available under the MIT license: http://www.opensource.org/licenses/mit-license.php | |
| #import <objc/message.h> | |
| @interface FTAccessibleActionSheet : UIActionSheet | |
| - (void)copyAccessibilityMetadataFrom:(NSString *)title toControl:(UIView *)control; | |
| @end | |
| @implementation FTAccessibleActionSheet |
a list of slides from nodeconf
you may want to take a look at the jsconf-gist too!
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
| --- catalina.sh.dist 2011-05-19 19:22:30.000000000 +0000 | |
| +++ catalina.sh 2011-05-19 19:22:45.000000000 +0000 | |
| @@ -311,8 +311,14 @@ | |
| if [ ! -z "$CATALINA_PID" ]; then | |
| if [ -f "$CATALINA_PID" ]; then | |
| - echo "PID file ($CATALINA_PID) found. Is Tomcat still running? Start aborted." | |
| - exit 1 | |
| + RUNNING=`ps aux|grep \`cat $CATALINA_PID\`|grep [java]|wc -l` | |
| + if [ $RUNNING -eq 1 ]; then |
| /* | |
| Licensed under the MIT License | |
| Copyright (c) 2011 Cédric Luthi | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
| #!/usr/bin/env ruby -wKU | |
| # Adapted from Brett Terpstra’s original “Markdown to Evernote” service (http://brettterpstra.com/a-better-os-x-system-service-for-evernote-notes-with-multimarkdown/) | |
| # Martin Kopischke 2011 – License: Creative Commons Attribution Share-Alike (CC BY-SA) 3.0 Unported (http://creativecommons.org/licenses/by-sa/3.0/) | |
| # Changes: – create only one Evernote note per (Multi)Markdown input passed (instead of one per line) | |
| # – do not choke on shell escape characters (use Tempfile instead of shell pipe for osascript) | |
| # – default to MultiMarkdown 3 executable (instead of MMD 2 Perl script) | |
| # – make smart typography processing optional (set SMARTY to 'false' to bypass processing; | |
| # note smart typography cannot be disabled in MMD 3.0 and 3.0.1 | |
| # – handle both smart typography processing scripts (ie. SmartyPants.pl) |
| #!/usr/bin/php | |
| <?php | |
| require_once 'Zend/Oauth/Consumer.php'; | |
| require_once 'Zend/Console/Getopt.php'; | |
| //set valid config file types/extensions | |
| $configTypes = array('ini', 'xml', 'json', 'yaml'); | |
| //setup command line opts | |
| $opts = new Zend_Console_Getopt(array( |
| public class DropboxCredentials { | |
| public string Email { get; set; } | |
| public string Token { get; set; } | |
| public string TokenSecret { get; set; } | |
| public string DisplayName { get; set; } | |
| public string Uid { get; set; } | |
| public string LastDirectory { get; set; } | |
| public DropboxCredentials() { | |
| Email = ""; |
| /* | |
| This is my hacked up copy of Marked.app/Contents/Resources/gridless.css | |
| Changes: | |
| 1. Smaller headings | |
| 2. ~~No scrollbars~~ (I now prefer the Lion default behavior) | |
| 3. Styling of definition lists ala LaTeX description lists. | |
| 4. Centering h1.title, h3.author, h4.date (pandoc's title/author/date block). | |
| #Junk Files | |
| *.DS_Store | |
| [Tt]humbs.db | |
| #Visual Studio Files | |
| [Oo]bj | |
| [Bb]in | |
| [Dd]ebug | |
| [Bb]uild/ | |
| *.user |