This is mostly a list of Mac applications, but I've included a few Web apps as well.
Alfred : Useful Application Launcher. (When Quicksilver died I switched to Alfred.)
Divvy : Grid-Based Window Manager.
| # First install tmux | |
| brew install tmux | |
| # For mouse support (for switching panes and windows) | |
| # Only needed if you are using Terminal.app (iTerm has mouse support) | |
| Install http://www.culater.net/software/SIMBL/SIMBL.php | |
| Then install https://bitheap.org/mouseterm/ | |
| # More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/ |
| Copyright (C) 2011 by Colin MacKenzie IV | |
| 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 | |
| furnished to do so, subject to the following conditions: | |
| The above copyright notice and this permission notice shall be included in |
| require 'v8' | |
| require 'open-uri' | |
| require 'pp' | |
| require 'ap' | |
| require 'taka' | |
| require 'ostruct' | |
| # | |
| # Monkey patch all elements to include a 'style' attribute | |
| # |
| (* | |
| Jered Benoit | |
| jeredb.com | |
| Omnifocus -> Day One Daily Completed Task Log | |
| Based upon [Version 1.0] [1] of [OmniFocus - Weekly Project Report Generator] [2] | |
| Originally Authored by Chris Brogan and Rob Trew | |
| February 5, 2012 |
| #!/usr/bin/ruby | |
| # tp-dailylog.rb - Log TaskPaper tasks completed on the current day to a Day One entry | |
| # Brett Terpstra 2012 <http://brettterpstra.com> | |
| # | |
| # Run it with launchd at 11pm and forget about it | |
| # | |
| # Notes: | |
| # * Uses `mdfind` to locate all .taskpaper files changed in the last day | |
| # * Scans for @done(xxxx-xx-xx) tags in each line matching today's date | |
| # * Does not alter TaskPaper files in any way |
| domain = "www.test.com" | |
| email = "[email protected]" | |
| password = "test" | |
| require 'whois' | |
| require 'gmail' | |
| client = Whois::Client.new | |
| while true |
| var parser = document.createElement('a'); | |
| parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
| parser.protocol; // => "http:" | |
| parser.hostname; // => "example.com" | |
| parser.port; // => "3000" | |
| parser.pathname; // => "/pathname/" | |
| parser.search; // => "?search=test" | |
| parser.hash; // => "#hash" | |
| parser.host; // => "example.com:3000" |
| config/initializers/devise.rb : | |
| config.mailer_sender = "[email protected]" | |
| config/environments/production.rb : | |
| config.action_mailer.default_url_options = { :host => 'your.websitedomain.com' } | |
| ActionMailer::Base.smtp_settings = { | |
| :address => "smtp.sendgrid.net", | |
| :port => "25", | |
| :authentication => :plain, |
| // set-up a connection between the client and the server | |
| var socket = io.connect(); | |
| // let's assume that the client page, once rendered, knows what room it wants to join | |
| var room = "abc123"; | |
| socket.on('connect', function() { | |
| // Connected, let's sign-up for to receive messages for this room | |
| socket.emit('room', room); | |
| }); |