Skip to content

Instantly share code, notes, and snippets.

@automaticit
automaticit / hide-quantum-tab-bar.sh
Created Nov 21, 2017
Hide Firefox Quantum tab bar
View hide-quantum-tab-bar.sh
#!/bin/bash
#
# Based upon [[https://superuser.com/questions/1268732/how-to-hide-tab-bar-tabstrip-in-firefox-57-quantum/1268734#1268734][How to hide tab bar (tabstrip) in Firefox 57+ Quantum]] by [[https://superuser.com/users/162466/vasyanovikov][VasyaNovikov]]
# This causes the [[https://support.mozilla.org/en-US/questions/1187186][The Back Button is top right under the Red close button on my Mac]] issue.
# Resolve that by right-clicking the toolbar, then inserting three Flexible Space into the toolbar on the far-left-hand side.
case $( uname ) in
"Linux")
profile_dir=~/.mozilla/firefox/$( ls -tr ~/.mozilla/firefox/ | grep -v profiles.ini | tail -1 )
;;
"Darwin")
@automaticit
automaticit / .emacs-append
Created May 22, 2016
VMRC Linking in Emacs Org Mode on Macintosh OS X
View .emacs-append
;;
;; Enable vmrc linking in OS X
;; Resources: [[http://endlessparentheses.com/use-org-mode-links-for-absolutely-anything.html][Use Org-Mode Links for Absolutely Anything]]
;; [[http://blog.manbolo.com/2013/10/25/automating-terminal-tasks-on-osx][Automating Terminal Tasks on OSX]]
;; [[http://www.robpeck.com/2010/05/scripting-iterm-with-applescript/#.V0Hz6mYsjcf][Scripting iTerm with AppleScript]]
;; [[https://www.iterm2.com/applescript.html][iTerm2 Applescript]]
;; [[http://stackoverflow.com/questions/1870270/sending-commands-and-strings-to-terminal-app-with-applescript][Sending commands and strings to Terminal.app with Applescript]]
;; [[http://irreal.org/blog/?p=4865][Calling Applescript from Emacs]]
;; [[http://pragmaticemacs.com/emacs/search-with-os-x-spotlight-from-emacs/][Search with OS X Spotlight from emacs]]
;; [[http://jblevins.org/log/emacs-omnifocus][Sending Tasks to OmniFocus from Emacs]]
You can’t perform that action at this time.