Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| [alias] | |
| fixup = !sh -c 'REV=$(git rev-parse $1) && git commit --fixup $@ && git rebase -i --autosquash $REV^' - | |
| squash = !sh -c 'REV=$(git rev-parse $1) && git commit --squash $@ && git rebase -i --autosquash $REV^' - |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
Install ImageMagick for image conversion:
brew install imagemagick
Install tesseract for OCR:
brew install tesseract --all-languages
Or install without --all-languages and install them manually as needed.
| <?php | |
| /** | |
| * Created by PhpStorm. | |
| * User: Sören Bernstein | |
| * Date: 15.09.2015 | |
| * Time: 12:57 | |
| */ | |
| namespace Redlink\CASBundle\Command; |
List the current installed Java versions
$ /usr/libexec/java_home -V
Install the version desired
Apple provides their own version of 6 (Java for OS X 2015-001)
| #!/usr/bin/env ruby | |
| # A quick script to download all your files from CloudApp. | |
| # To run this just run the script passing your e-mail & password | |
| # to the script, for example: | |
| # | |
| # gem install cloudapp_api | |
| # ruby cloudapp-export.rb [email protected] mypassword | |
| # |
If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
This sets up Atom to properly lint ES6+Babel+JSX using Airbnb's .eslintrc as a starting point.
npm install --save-dev eslint-config-airbnb babel-eslint eslint-plugin-react from your project root."extends": "eslint-config-airbnb" to your .eslintrc| { "keys": ["home"], "command": "move_to", "args": {"to": "bol"} }, | |
| { "keys": ["end"], "command": "move_to", "args": {"to": "eol"} } |
$ vi /root/.profilePATH=/opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin$ ln -s /opt/bin/rdiff-backup-2.6 /usr/bin/rdiff-backup$ ln -s /opt/bin/rdiff-backup-statistics-2.6 /usr/bin/rdiff-backup-statistics