- Mac and Windows backup applications
- Linux supported through scripts to Backblaze B2 (Object Storage) service
- Expicitly disallows backing up of /usr/, so anything installed in /usr/local/ via Homebrew will NOT be backed up!
| import json | |
| type | |
| Kind = enum | |
| kFoo, kBar | |
| Baz = object | |
| name: string | |
| case kind: Kind | |
| of kFoo: iAge: int |
| Command | Desc |
|---|---|
systemctl status <service> systemctl status docker |
Get service status |
systemctl stop <service> systemctl stop docker |
Stop service |
systemctl start <service> systemctl start docker |
Start service |
Mike Fikes mentioned that he's suggested creating a cljs command for the command line that is similar to the current clj command. It sounds like a good idea that might take some time to get momentum. In the interim, you can create your own.
Advantage is that it doesn't pollute your deps.edn for non-javascript work.
| run: | |
| clj -Sdeps '{:paths ["."] :deps {org.clojure/clojurescript {:git/url "https://github.com/clojure/clojurescript" :sha "ec0e4c49fa5bf97d6c8b5a8e5d3bd957855bfe56"}}}' -m cljs.main -re browser -c index -r | |
| run-reagent: | |
| clj -Sdeps '{:paths ["."] :deps {org.clojure/clojurescript {:git/url "https://github.com/clojure/clojurescript" :sha "ec0e4c49fa5bf97d6c8b5a8e5d3bd957855bfe56"} reagent {:mvn/version "0.8.0-alpha2"}}}' -m cljs.main -re browser -c index-reagent -r |
| Command | Desc |
|---|---|
brew update |
Update brew package info |
brew upgrade <package-name> |
Install new version of package |
brew info <package-name> |
See which version is linked |
brew ls <package-name> --versions |
List package versions |
brew ls <package-name> |
List files in package |
brew switch <package-name> <version> |
Link to specified version of package |
brew cleanup |
Remove outdated package versions |
| # Install bazel | |
| # download tensorflow src | |
| # Checkout tagged version | |
| # ./configure | |
| # Compile | |
| bazel build -c opt --copt=-march=native //tensorflow/tools/pip_package:build_pip_package | |
| #bazel build -c opt --copt=-mavx --copt=-msse4.1 --copt=-msse4.2 //tensorflow/tools/pip_package:build_pip_package | |
| # Build the PIP package |
| - hosts: localhost | |
| tasks: | |
| - name: update sysctl | |
| action: sysctl state=present reload=yes {{ item }} | |
| with_items: | |
| # max open files | |
| - name=fs.file-max value=65535 | |
| # lets not use swap. | |
| - name=vm.swappiness value=0 | |
| # enable syn coockies. this can actually cause overhead. |