Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
| #!/bin/sh | |
| echo Install all AppStore Apps at first! | |
| # no solution to automate AppStore installs | |
| read -p "Press any key to continue... " -n1 -s | |
| echo '\n' | |
| echo Install and Set San Francisco as System Font | |
| ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)" | |
| echo Install Homebrew, Postgres, wget and cask | |
| ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |
| function ls --description 'List contents of directory' | |
| command ls -lFG $argv | |
| end | |
| function subl --description 'Launches sublime text in a new window' | |
| command subl -n $argv | |
| end | |
| function code --description 'Launches visual code studio in a new window' | |
| command code -n $argv |
| --- | |
| version: 1 | |
| disable_existing_loggers: False | |
| formatters: | |
| simple: | |
| format: "%(name)-20s%(levelname)-8s%(message)s" | |
| handlers: | |
| console: | |
| class: logging.StreamHandler | |
| level: DEBUG |
| # -*- coding: utf-8 -*- | |
| from __future__ import unicode_literals | |
| from gevent import monkey; monkey.patch_all() | |
| import re | |
| from urlparse import urljoin | |
| from gevent.pool import Pool | |
| import requests |
| # Ask for the administrator password upfront | |
| sudo -v | |
| mkdir -p /Volumes/Sites/Work/Clients | |
| mkdir -p /Volumes/Sites/Work/Internal | |
| mkdir -p /Volumes/Sites/Personal | |
| mkdir -p ~/Downloads/Torrents | |
| xcode-select --install |
| #!/usr/bin/env bash | |
| # Ask for sudo up front | |
| echo "Some steps require sudo so please enter your password" | |
| sudo -v | |
| # Check for and install developer tools | |
| xcode-select -p | |
| if [ $? -ne 0 ]; then | |
| # Install dev tools |
| """ | |
| Upsert gist | |
| Requires at least postgres 9.5 and sqlalchemy 1.1 | |
| Initial state: | |
| [] | |
| Initial upsert: |
| # tap brew | |
| tap "homebrew/bundle" | |
| tap "homebrew/services" | |
| tap "hashicorp/tap" | |
| # need to check | |
| #tap "homebrew/cask-versions" | |
| #tap "homebrew/cask-fonts" | |
| tap "buo/cask-upgrade" |