start new:
tmux
start new with session name:
tmux new -s myname
tjt263@osx:~$ gist --login | |
Obtaining OAuth2 access_token from github. | |
GitHub username: tjt263 | |
GitHub password: | |
Error: Bad credentials | |
GitHub username: tjt263 | |
GitHub password: | |
Success! https://github.com/settings/applications |
Last login: Wed Mar 2 13:47:01 on ttys010 | |
---------------------------------------------------------------------------------------14:10:02 | |
tjt263@osx:~$ if [ -d "$(whereis scp") ]; then echo a | |
> ; | |
> | |
---------------------------------------------------------------------------------------14:16:37 | |
tjt263@osx:~$ if [ -d "$(whereis scp") ] ; then echo a | |
> | |
> | |
> -bash: unexpected EOF while looking for matching `"' |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------14:28:57 | |
tjt263@osx:~$ port search example |grep @ |cut -d'(' -f1 | |
gnss-sdr @0.0.6_6 | |
gnss-sdr-devel @20151115_5 | |
gnss-sdr-next @20151115_5 | |
gvemod-xforms-example @0.2_1 | |
hs-fingertree @0.1.0.0_3 | |
p5-pod-tests @1.190.0_3 | |
p5.22-pod-tests @1.190.0_3 | |
proxytunnel @1.9.0 |
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------14:40:54 | |
tjt263@osx:~$ port search example | |
gnss-sdr @0.0.6_6 (science) | |
An Open Source Global Navigation Satellite Systems (GNSS)(for example: GPS, Galileo, Glonass, Beidou, etc) Software Defined Radio (SDR) Receiver | |
gnss-sdr-devel @20151115_5 (science) | |
An Open Source Global Navigation Satellite Systems (GNSS)(for example: GPS, Galileo, Glonass, Beidou, etc) Software Defined Radio (SDR) Rec |
homebrew/completions/ctest-completion Caskroom/cask/aja-system-test Caskroom/cask/colortester Caskroom/cask/nsregextester Caskroom/cask/sqlitestudio | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------14:32:31 | |
tjt263@osx:~$ brew info $(!!) | |
brew info $(brew search test) | |
cpptest: stable 1.1.2 (bottled) | |
Unit testing framework handling automated tests in C++ | |
http://cpptest.sourceforge.net/ | |
Not installed | |
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/cpptest.rb |
cask :v1 => 'firefox' do | |
version :'39.0.3' | |
sha256 :'4223628545ea8c4eb661617c9a53561843a71aa61ef15a177e4f5cea08ca628b' | |
url 'https://download-installer.cdn.mozilla.net/pub/firefox/releases/39.0.3/mac/en-US/Firefox%2039.0.3.dmg' | |
name 'Firefox' | |
name 'Mozilla Firefox' | |
homepage 'https://www.mozilla.org/en-US/firefox/' | |
license :mpl | |
tags :vendor => 'Mozilla' |
Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your own needs.
#!/bin/sh | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' |