Skip to content

Instantly share code, notes, and snippets.

View tboztuna's full-sized avatar
🎯
Focusing

Tolga Boztuna tboztuna

🎯
Focusing
View GitHub Profile
@tboztuna
tboztuna / .travis.yml
Created July 29, 2018 08:57 — forked from ryboe/.travis.yml
Example .travis.yml for Golang
# This is a weird way of telling Travis to use the fast container-based test
# runner instead of the slow VM-based runner.
sudo: false
language: go
# Only the last two Go releases are supported by the Go team with security
# updates. Any older versions be considered deprecated. Don't bother testing
# with them.
go:
@tboztuna
tboztuna / gist:bca71406967dc9962fa8d3928cdd4f39
Created April 12, 2017 09:03
my zsh Powerlevel9k configuration
# POWERLEVEL9K THEME SETTINGS
POWERLEVEL9K_MODE='awesome-patched'
POWERLEVEL9K_HOME_SUB_ICON='$(print_icon "HOME_ICON")'
POWERLEVEL9K_DIR_PATH_SEPARATOR=' $(print_icon "LEFT_SUBSEGMENT_SEPARATOR") '
POWERLEVEL9K_SHORTEN_DIR_LENGTH=2
POWERLEVEL9K_SHORTEN_STRATEGY="truncate_middle"
@tboztuna
tboztuna / command.sh
Created March 27, 2017 12:37 — forked from metaskills/command.sh
Ubuntu 16.04 Install Latest FreeTDS
$ sudo apt-get install wget
$ sudo apt-get install build-essential
$ sudo apt-get install libc6-dev
$ wget ftp://ftp.freetds.org/pub/freetds/stable/freetds-1.00.27.tar.gz
$ tar -xzf freetds-1.00.27.tar.gz
$ cd freetds-1.00.27
$ ./configure --prefix=/usr/local --with-tdsver=7.3
$ make
$ make install
#
# Sample /etc/sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
##
# Override built-in defaults
##
@tboztuna
tboztuna / .bash_profile
Created July 23, 2016 23:30
My useful shortcuts in ~/.bash_profile
# ----------------------
# Git Aliases
# ----------------------
# Thanks to Jonathan Suh
alias ga='git add'
alias gaa='git add .'
alias gaaa='git add -A'
alias gb='git branch'
alias gbd='git branch -d '
alias gc='git commit'