Open up Terminal.app in your /Applications/Utilities directory, then type in these commands, one after each other:
-
Create a temporary directory for cycript:
mkdir cycript && cd cycript -
Pull the latest cycript from cycript.org:
| (* | |
| File: | |
| Application.applicationWillSwitchOut.scpt | |
| Abstract: | |
| This script will automatically save all on-disk text documents with unsaved | |
| changes when BBEdit loses focus. | |
| Version: |
| property theURL : "" | |
| tell application "Safari" | |
| set theURL to URL of current tab of window 1 | |
| end tell | |
| if appIsRunning("Google Chrome") then | |
| tell application "Google Chrome" | |
| make new window | |
| set URL of active tab of window 0 to theURL | |
| activate | |
| end tell |
| -- | |
| -- open currently open URL in Safari in Chrome | |
| -- forked from https://gist.github.com/3151932 | |
| -- | |
| property theURL : "" | |
| tell application "Safari" | |
| set theURL to URL of current tab of window 1 | |
| end tell | |
| if appIsRunning("Google Chrome") then |
| <?xml version=”1.0”?> | |
| <root> | |
| <item> | |
| <name>F19 to F19</name> | |
| <appendix>(F19 to Hyper (ctrl+shift+cmd+opt) + F19 Only, send F19)</appendix> | |
| <identifier>private.f192f19_escape</identifier> | |
| <autogen> | |
| --KeyOverlaidModifier-- | |
| KeyCode::F19, | |
| KeyCode::COMMAND_L, |
| #!/usr/bin/env ruby -Ku | |
| require 'net/http' | |
| require 'net/https' | |
| require 'open-uri' | |
| require 'cgi' | |
| require 'optparse' | |
| ACCOUNT = 'USERNAME' # Set to Google Voice account email for default account | |
| PASSWORD = 'PASSWORD' # Set to Google Voice account password for default account |
| #!/bin/bash | |
| # | |
| # crashplanFixup.sh for Macintosh OS X 10.9 (and probably earlier versions) | |
| # | |
| # This script will prevent CrashPlan from de-duplicating data on files greater than 1k. | |
| # Based on information from http://networkrockstar.ca/2013/09/speeding-up-crashplan-backups/ | |
| # | |
| # NOTE: Must be run with sudo! IE: $ sudo sh ./crashplanFixup | |
| # | |
| # v1.1 2014-03-13 by bill@wellingtonnet.net |
| // The following data should be run in the console while viewing the page https://read.amazon.com/ | |
| // It will export a CSV file called "download" which can (and should) be renamed with a .csv extension | |
| var db = openDatabase('K4W', '3', 'thedatabase', 1024 * 1024); | |
| getAmazonCsv = function() { | |
| // Set header for CSV export line - change this if you change the fields used | |
| var csvData = "ASIN,Title,Authors,PurchaseDate\n"; | |
| db.transaction(function(tx) { |
| @-moz-document url-prefix("https://mail.google.com/mail/") { | |
| /* | |
| ***** | |
| This style is based off of Nicer New Gmail but it's really more of a slash and burn approach. | |
| NO COLORS except tiny bit of red and yellow and some blue I can't get rid of. | |
| I know just enough CSS to be dangerous and not enough to really make things work correctly. Some things it | |
| chokes on: | |
| - tabs! I don't use them so who cares what they look like | |
| - hangout/chat tab - I disabled this as soon as they added it, maybe it's blue, I don't know |