| gitflow | git |
|---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
How to use this:
# Make a suitable directory
mkdir whatever && cd whatever
# Set up virtual env
virtualenv --python=python3 venv
source venv/bin/activate
pip install flask flask_restplus
This file contains hidden or 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
| #!/usr/bin/env perl | |
| # Pandoc filter which converts paragraps containing only the LaTeX | |
| # `\newpage` or `\pagebreak` command into appropriate pagebreak markup | |
| # for other formats. | |
| # | |
| # You will need perl version 5.10.1 or higher <https://www.perl.org/get.html> | |
| # (Strawberry Perl recommended on Windows!) | |
| # and a module installer <http://www.cpan.org/modules/INSTALL.html> | |
| # and the Pandoc::Elements module version 0.33 or higher |
- Install
wpasupplicant - Turn on wifi radios:
sudo nmcli radio wifi on - Check your devices are recognised even if they're not "managed":
sudo iwconfig - Check your wifi (here called "wlp3s0") is capable of detecting nearby routers:
sudo iwlist wlp3s0 scan - Configure
netplanby dropping a file called01-netcfg.yamlinto/etc/netplan/or edit existing file there. See example below. netplan try,netplan generate,netplan apply.
This file contains hidden or 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
| # A roundabout way to get Ubuntu Artful alpha (17.10) on EDGAR (Acer Chromebook 14 4GB version - CB3-431-C5FM) | |
| # Install missing 'legacy' BIOS piece to enable Ctrl-L on boot: | |
| cd; curl -LOk https://mrchromebox.tech/firmware-util.sh && sudo bash firmware-util.sh | |
| # Install Galliumos (nightly - as of 09/09/2017) | |
| # https://wiki.galliumos.org/Installing | |
| cd; curl -LOk https://chrx.org/go && sh go -d galliumos -e desktop -r nightly -v |
This file contains hidden or 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 | |
| set -euo pipefail | |
| read -p "Github repo to clone: " gh | |
| read -p "Bitbucket destination: " bb | |
| read -p "Github username: " ghu | |
| read -p "Bitbucket username: " bbu | |
| git clone https://github.com/$ghu/$gh |
I hereby claim:
- I am austinjp on github.
- I am austinjp (https://keybase.io/austinjp) on keybase.
- I have a public key ASBy6Q1xn72bA6hOIwOOHeAulDC5dLdYmgBLLfFbaTqRQgo
To claim this, I am signing this object:
This file contains hidden or 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
| # Based on http://pastie.org/pastes/8665237/text | |
| # Generated by Percona Configuration Wizard (http://tools.percona.com/) version REL5-20120208 | |
| [mysql] | |
| # CLIENT # | |
| port = 3306 | |
| socket = /var/run/mysqld/mysqld.sock |
This file contains hidden or 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
| ;; Set TLS to use version 1.2 for elpa.gnu.org. | |
| ;; TLS version 1.1 also works, but 1.3 does NOT. | |
| ;; Note this must be BEFORE package-initialize. | |
| ;; May need to do: sudo apt install gnutls-bin libgnutls28-dev | |
| ;; Some background: https://emacs.stackexchange.com/a/51772 | |
| ;; Check supported TLS versions here: | |
| ;; https://www.ssllabs.com/ssltest/analyze.html?d=elpa.gnu.org&hideResults=on | |
| (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") |