Skip to content

Instantly share code, notes, and snippets.

View joshuapinter's full-sized avatar
🎯
Focusing

Joshua Pinter joshuapinter

🎯
Focusing
View GitHub Profile
Hey Jeff,
Nope, don’t work for Airmail. Just a fan and an avid (recently annoyed) user. :)
Unfortunately, it will have to redownload everything again. But there are zero performance issues so it’s worth it. It just hums away in the background without clogging up the machine.
One thing of note that I discovered is how much storage is being used for these local caches, AND when you download the beta it effectively doubles that storage as it keeps the beta messages in a different directory.
To check on the use of these local cache directories, you can run the following command from Terminal (Use Spotlight to find it if you’re not sure):
@joshuapinter
joshuapinter / irb.rb
Created March 16, 2015 22:11
Activate Authlogic in Console
if defined?(ActiveRecord::Base) && defined?(Authlogic)
controller = ApplicationController.new
require 'action_controller/test_case'
controller.instance_variable_set(:@_request, ActionController::TestRequest.new)
controller.instance_variable_set(:@_response, ActionController::TestResponse.new)
Authlogic::Session::Base.controller = Authlogic::ControllerAdapters::RailsAdapter.new(controller)
end
UserSession.new( User.first )
@joshuapinter
joshuapinter / .npmrc
Created March 14, 2019 17:01
Common Configuration Files
save-exact = true # Saves exact version without needing --save-exact.