https://github.com/powerline/fonts
Set font to one of the fonts in Powerline i.e. Droid Sans Mono Slashed for Powerline
Probably set the color palette. Linux console works well.
| # Custom OSX .profile | |
| # Set default editor to emacs | |
| export EDITOR=emacs | |
| # Specify a custom prompt. This is linux mint-ish. | |
| export PS1="\[[32m\]\u@\h\[[37m\]:\[[36m\]\w\[[30m\]$\[[m\] " |
| find -E . -regex ".*\.(html|css|js) ! -type d -exec bash -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \; |
| #!/bin/bash | |
| # Based on http://askubuntu.com/a/630530 | |
| wget -q https://github.com/atom/atom/releases/latest -O /tmp/latest | |
| wget -q https://github.com$(grep -E 'href=".*atom-amd64.deb' /tmp/latest --only | sed -e 's/href="//') -O /tmp/atom-amd64.deb | |
| sudo dpkg -i /tmp/atom-amd64.deb |
| #!/bin/bash | |
| # Find all files ending in "*.py", but exclude the ./venv directory | |
| find . -path ./venv -prune -o -name '*.py' -print |
https://github.com/powerline/fonts
Set font to one of the fonts in Powerline i.e. Droid Sans Mono Slashed for Powerline
Probably set the color palette. Linux console works well.
| #!/usr/bin/env python | |
| from __future__ import print_function | |
| import argparse | |
| import collections | |
| import re | |
| import subprocess | |
| import sys | |
| KNOWN_IMPORT_PACKAGE_MAP = { |
| # Convert file from OBS FLV to MP4 format for editing in Sony Vegas Pro | |
| ffmpeg -threads 0 -i [input-file.flv] -vcodec copy [output-file.mp4] |
| #!/bin/bash | |
| # Tested on Ubuntu 16.04.1 Desktop | |
| sudo apt-get install -y \ | |
| open-vm-tools open-vm-tools-desktop \ | |
| tmux \ | |
| git \ | |
| python3-pip | |
| PIP=pip3 |