Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| This is a Python script to extract GNOME/GTK's color scheme and apply it to Wine, so that the themes (approximately) match. | |
| Instructions: | |
| 1. Set your Gnome theme as you would like it | |
| 2. Run with a command like "python wine_colors_from_gtk.py" | |
| 3. Restart any apps running in Wine. They should match the Gnome theme colors now. | |
| Better description with screenshots here: http://www.endolith.com/wordpress/2008/08/03/wine-colors/ | |
| This is also stored on https://code.launchpad.net/~endolith/+junk/wine-color-scraper |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |
| http { | |
| # Default virtual host for www.example.com. This will pick up all HTTP | |
| # requests to port 80 that are not for one of the other virtual hosts. | |
| server { | |
| listen 80; | |
| server_name www.example.com; | |
| # ...your server config here... |
| # This must be run from master | |
| git checkout master | |
| # Update our list of remotes | |
| git fetch | |
| git remote prune origin | |
| # Remove local fully merged branches | |
| git branch --merged master | grep -v 'master$' | xargs git branch -d | |
| # Show remote fully merged branches | |
| echo "The following remote branches are fully merged and will be removed:" | |
| git branch -r --merged master | sed 's/ *origin\///' | grep -v 'master$' |
| ಠ_ಠ | |
| ( ͡° ͜ʖ ͡°) | |
| ¯\_(ツ)_/¯ | |
| (╯°□°)╯︵ ┻━┻ | |
| http://www.fileformat.info/convert/text/upside-down.htm | |
| WRTTN http://wrttn.me/30dbfd/ | |
| Unicode Emoticons |
| To remove a submodule you need to: | |
| Delete the relevant line from the .gitmodules file. | |
| Delete the relevant section from .git/config. | |
| Run git rm --cached path_to_submodule (no trailing slash). | |
| Commit and delete the now untracked submodule files. |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| /* See http://mrdanadams.com/2012/pixel-ems-css-conversion-sass-mixin/ */ | |
| /* Default font size in pixels if not overridden. */ | |
| $baseFontSize: 16; | |
| /* Convert PX units to EMs. | |
| Ex: margin-right: pem(16); | |
| */ | |
| @function pem($pxval, $base: $baseFontSize) { | |
| @return #{$pxval / $base}em; |
| ; Variables definition | |
| ; ----------------------------------------------------------------------------- | |
| EnvGet, userProfile, USERPROFILE | |
| Software := userProfile . "\Dropbox\software\" | |
| ; Launch or toggle program, http://lifehacker.com/5468862/create-a-shortcut-key-for-restoring-a-specific-window | |
| ; ----------------------------------------------------------------------------- | |
| ToggleWinMinimize(WindowTitle) | |
| { | |
| SetTitleMatchMode,2 |
| #!/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 |