Skip to content

Instantly share code, notes, and snippets.

View oguzoldev's full-sized avatar
🌎
Working from earth

oguz ol oguzoldev

🌎
Working from earth
View GitHub Profile
@oguzoldev
oguzoldev / atom-wrap-guide-hide.md
Last active May 3, 2016 20:34
Atom Wrap Guide Hide

Use Atom > Open Your Stylesheet to open the styles.less file in the editor, then add the following:

atom-text-editor::shadow {
    .wrap-guide {
        visibility: hidden;
    }
}
@oguzoldev
oguzoldev / puma-v2.11.3-openssl-error.md
Created May 3, 2016 20:01
Puma v2.11.3 OpenSSL Error

Puma v2.11.3 OpenSSL Error

gem install puma -v '2.11.3' -- --with-cppflags=-I/usr/local/opt/openssl/include
@oguzoldev
oguzoldev / eventmachine-v1.0.5-openssl-error.md
Created May 3, 2016 20:02
Eventmachine v1.0.5 OpenSSL Error

Eventmachine v1.0.5 OpenSSL Error

gem install eventmachine -v '1.0.5' -- --with-cppflags=-I/usr/local/opt/openssl/include
@oguzoldev
oguzoldev / change-apple-osx-dock-size-from-apple-terminal.md
Created May 3, 2016 20:05
Change Apple OS X Dock size from Apple Terminal

Change Apple OS X Dock size from Apple Terminal

defaults write com.apple.dock tilesize -int 32; killall Dock

32 is icon size

libv8 Error Fix

brew install homebrew/versions/v8-315
brew link --overwrite v8-315 --force
gem install libv8 -v '3.16.14.13' -- --with-system-v8
gem install therubyracer -v '0.12.2' -- --with-system-v8
@oguzoldev
oguzoldev / install-wget-on-raspberry-pi.md
Created May 3, 2016 20:09
Install wget on Raspberry Pi

Install wget on Raspberry Pi

$ apt-get update
$ apt-get upgrade -y
$ apt-get dist-upgrade -y
$ apt-get install wget
@oguzoldev
oguzoldev / background-download file-in-raspberry-pi-terminal.md
Created May 3, 2016 20:10
Background Download File In Raspberry Pi Terminal

Background Download File In Raspberry Pi Terminal

$ nohup wget -qc download_file_url & exit
$ ps aux | grep wget
$ kill pid
@oguzoldev
oguzoldev / sublime-automatic-reindent.md
Last active May 26, 2016 12:18
Sublime Automatic Reindent

Prefences/keybindig-user

[
  { "keys": ["option+command+["], "command": "reindent"}
]
@oguzoldev
oguzoldev / install-redis-3.2.3.md
Last active September 10, 2016 20:00
Install redis 3.2.3 for mac

Install redis 3.2.3

curl -o http://download.redis.io/releases/redis-3.2.3.tar.gz
tar xzf redis-3.2.3.tar.gz
cd redis-3.2.3
make
cp src/redis-server src/redis-cli /usr/local/bin

Linux update date and time on internet

sudo date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z"