tmux, like other great software, is deceptive. On the one hand, it's fairly easy to get set up and start using right away. On the other hand, it's difficult to take advantage of tmux's adanced features without spending some quality alone time with the manual. But the problem with manuals is that they aren't geared toward beginners. They are geared toward helping seasoned developers and computer enthusiasts quickly obtain the
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
chrome_options = Options() | |
chrome_options.add_argument("--headless") | |
chrome_options.binary_location = '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' | |
driver = webdriver.Chrome(executable_path='/usr/local/bin/chromedriver', chrome_options=chrome_options) | |
driver.get("http://www.duo.com") |
You don't need to do anything fancy other than running cpanm
- with the most recent Net::SSLeay things should Just Work.
I realized that since Net::SSLeay is looking in known places (including homebrew's install locations) for openssl, it means that my instructions that set up environment variables are no longer necessary! The following will install the module:
# openssl 1.0.2d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://krischan.eu/index.php/2014/04/21/spamassassin-bug-gpg-validation-failed/ | |
wget http://spamassassin.apache.org/updates/GPG.KEY | |
sa-update --import GPG.KEY | |
chown -R spamd:root /var/lib/spamassassin/sa-update-keys | |
chmod -R 775 /var/lib/spamassassin/sa-update-keys | |
sa-update -D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
show_usage () { | |
echo "Usage: `basename $0` [START [END]]" | |
echo | |
echo "Steps through the commit history from START to END," | |
echo "then returns to the branch or commit from before execution." | |
echo | |
echo "START defaults to the root commit (beginning of history)." | |
echo "END defaults to current branch/commit." |