$mod refers to the modifier key (alt by default)
startx i3start i3 from command line$mod+<Enter>open a terminal$mod+dopen dmenu (text based program launcher)$mod+rresize mode ( or to leave resize mode)$mod+shift+eexit i3
| # taboola_start | |
| 0.0.0.0 popup.taboola.com | |
| 0.0.0.0 www.popup.taboola.com | |
| 0.0.0.0 taboola.com | |
| 0.0.0.0 www.taboola.com | |
| 0.0.0.0 cdn.taboolasyndication.com | |
| 0.0.0.0 taboolasyndication.com | |
| 0.0.0.0 www.taboolasyndication.com | |
| 0.0.0.0 www.cdn.taboolasyndication.com | |
| 0.0.0.0 trc.taboola.com |
| # Block Taboola | |
| 0.0.0.0 popup.taboola.com | |
| 0.0.0.0 www.popup.taboola.com | |
| 0.0.0.0 taboola.com | |
| 0.0.0.0 www.taboola.com | |
| 0.0.0.0 cdn.taboolasyndication.com | |
| 0.0.0.0 taboolasyndication.com | |
| 0.0.0.0 www.taboolasyndication.com | |
| 0.0.0.0 www.cdn.taboolasyndication.com | |
| 0.0.0.0 trc.taboola.com |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "globals": { | |
| "alwaysShowTabs": true, | |
| "defaultProfile": "{79285a8e-036c-446f-8a9c-78994e34cf85}", | |
| "initialCols": 120, | |
| "initialRows": 30, | |
| "requestedTheme": "dark", | |
| "keybindings": [ | |
| { |
| #!bash.exe | |
| export SSH_AUTH_SOCK=/tmp/.ssh-socket | |
| echo ; | |
| echo Starting connection with ssh-agent... | |
| ssh-add -l 2>&1 >/dev/null | |
| if [ $? = 2 ]; then | |
| rm -f /tmp/.ssh-script /tmp/.ssh-agent-pid /tmp/.ssh-socket | |
| # Exit status 2 means couldn't connect to ssh-agent; start one now | |
| echo Creating new ssh-agent... | |
| ssh-agent -a $SSH_AUTH_SOCK > /tmp/.ssh-script |
| { | |
| // See https://go.microsoft.com/fwlink/?LinkId=733558 | |
| // for the documentation about the tasks.json format | |
| "version": "2.0.0", | |
| "tasks": [ | |
| { | |
| "label": "build", | |
| "type": "shell", | |
| "command": "cargo build", | |
| "group": { |
| #!/bin/bash | |
| # This assumes that the ~6GB mojave installer is in the /Applications folder. | |
| # If it's not, just open the App Store, search Mojave, and you can download the installer file from there. | |
| hdiutil create -o /tmp/mojave.cdr -size 6g -layout SPUD -fs HFS+J | |
| hdiutil attach /tmp/mojave.cdr.dmg -noverify -mountpoint /Volumes/install_mojave | |
| sudo /Applications/Install\ macOS\ mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/install_mojave | |
| mv /tmp/mojave.cdr.dmg ~/Desktop/InstallSystem.dmg | |
| hdiutil detach /Volumes/Install\ macOS\ mojave |
| stages: | |
| - pack | |
| ### Pack ###################################################################### | |
| docker: | |
| stage: pack | |
| environment: production | |
| image: docker:18 | |
| script: |
openssl req -x509 -newkey rsa:4096 -sha256 -keyout example.key -out example.crt -subj "/CN=example.com" -days 3650 -passout pass:foobar
openssl x509 -x509toreq -in example.crt -out example.csr -signkey example.key -passin pass:foobar
Most recently tested on macOS Sierra (10.12.6)
curl https://bootstrap.pypa.io/get-pip.py -o ~/Downloads/get-pip.py--user flag; python ~/Downloads/get-pip.py --user. pip will be installed to ~/Library/Python/2.7/bin/pip~/Library/Python/2.7/bin is in your $PATH. For bash users, edit the PATH= line in ~/.bashrc to append the local Python path; ie. PATH=$PATH:~/Library/Python/2.7/bin. Apply the changes, source ~/.bashrc.--user when installing modules; ie. pip install <package_name> --user