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
# | |
# .nanorc | |
# colors: white, black, red, blue, green, yellow, magenta, cyan. | |
# | |
set autoindent | |
set historylog | |
set nohelp | |
set nowrap | |
set smooth | |
set tabsize 5 |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
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
export PS1='\[\033[1;33m\]$PWD\n*\[\033[0;38m\] ' | |
export EDITOR=/usr/bin/nano | |
export HISTSIZE=10485760 | |
export HISTFILESIZE=10485760 | |
# ls in color | |
export CLICOLOR=1 | |
export LSCOLORS=CxFxCxDxBxegedabagacad | |
# make clean tarballs w/o ._* files | |
export COPYFILE_DISABLE=true |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>DVTConsoleDebuggerInputTextColor</key> | |
<string>0 0 0 1</string> | |
<key>DVTConsoleDebuggerInputTextFont</key> | |
<string>Menlo-Bold - 11.0</string> | |
<key>DVTConsoleDebuggerOutputTextColor</key> | |
<string>0 0 0 1</string> |
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
syntax enable | |
colorscheme xcode-dark | |
" attempt to fix issue | |
" :95;0c is already typed on starting vim (not nvim) | |
set t_u7= | |
set t_SH= | |
" no need to press shift to enter command mode | |
noremap ; : |
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
user: | |
# setup .inputrc for faster tab completion | |
echo "set completion-ignore-case on" > ~/.inputrc | |
# create aliases | |
rm -f .bash_aliases | |
wget https://gist.githubusercontent.com/NatWeiss/ed2129061935fea0ee004cd360c0b708/raw/.bash_aliases | |
# update packages | |
sudo apt-get update --allow-releaseinfo-change | |
sudo apt-get dist-upgrade --fix-missing | |
sudo apt-get autoremove |
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
cmake_policy(SET CMP0017 NEW) | |
cmake_minimum_required(VERSION 2.8) | |
if (POLICY CMP0058) | |
# Ninja requires custom command byproducts to be explicit | |
cmake_policy(SET CMP0058 NEW) | |
endif() | |
# | |
# First set project name so cmake variables get set |
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
#message(STATUS "SYSTEM_NAME: ${CMAKE_SYSTEM_NAME}") | |
#message(STATUS "COMPILER: ${CMAKE_CXX_COMPILER_ID}") | |
if (${CMAKE_SYSTEM_NAME} MATCHES "Windows") | |
if(WINRT) | |
set(SYSTEM_STRING "Windows RT") | |
elseif(WP8) | |
set(SYSTEM_STRING "Windows Phone 8") | |
else() |
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
" Vim color file | |
set background=dark | |
highlight clear | |
if exists("syntax_on") | |
syntax reset | |
endif | |
let g:colors_name = "Xcode Dark" |
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
alias off="(sleep 1 && sudo shutdown now &) && exit" | |
v() { | |
if [[ ! -z $(jobs) ]]; then | |
#echo 'has jobs' | |
fg | |
else | |
#echo 'no jobs' | |
command vim "$@" | |
fi |
OlderNewer