Make sure you have installed Homebrew and (Homebrew-Cask)[http://caskroom.io/].
# Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install Homebrew-cask
brew install caskroom/cask/brew-cask
Make sure you have installed Homebrew and (Homebrew-Cask)[http://caskroom.io/].
# Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install Homebrew-cask
brew install caskroom/cask/brew-cask
| #!/bin/bash | |
| #Works as both "./extractemail.sh filename" and "cat filename | ./myscript.sh" | |
| # Set variable input_file to either $1 or /dev/stdin, in case $1 is empty | |
| # Note that this assumes that you are expecting the file name to operate on on $1 | |
| # # This version doesn't test if the input is a valid filename | |
| # input_file="${1:-/dev/stdin}" | |
| # If the script argument is provided and it is a file, then variable input_fille is | |
| # assigned to the file name. If there is no valid argument then reads from stdin |
| Info: | See <http://docutils.sf.net/rst.html> for introductory docs. |
|---|---|
| Author: | David Goodger <[email protected]> |
| Date: | 2013-02-20 |
| Revision: | 7612 |
| Description: | This is a "docinfo block", or bibliographic field list |
Note
If you are reading this as HTML, please read
GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.
As root you need to edit /etc/apt/sources.lst
Then add contrib and non-free at the end of each line that begins with deb and deb-src just like the example:
deb http://http.us.debian.org/debian jessie main contrib non-free
deb http://security.debian.org jessie/updates main contrib non-free
| Verifying my Blockstack ID is secured with the address 1Fwaw6u32TCkmGdaxfKA1FH2th8V3Hc8r4 https://explorer.blockstack.org/address/1Fwaw6u32TCkmGdaxfKA1FH2th8V3Hc8r4 |
You should never assume that a mv command is atomic. Use the link dance:
ln -f extant new_link && rm -f extant
The hard link operations are atomic.
(The three step is when you want to save the old one:
ln -f extant new_name && ln -f new_file extant && rm new_file
$ sysctl -n machdep.cpu.brand_string
Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
$ sysctl -n hw.model
MacBookPro14,2
$ ioreg -l | awk '/IOPlatformSerialNumber/ { split($0, line, "\""); printf("%s\n", line[4]); }'
C02VG13CHV2M