Skip to content

Instantly share code, notes, and snippets.

View slav123's full-sized avatar

Slawomir Jasinski slav123

View GitHub Profile
@slav123
slav123 / gist:2075589367aa526cce6ef0aaf68aba75
Created March 8, 2018 09:45 — forked from bds/gist:2207826
Convert files from .scss to .sass
sass-convert -F scss -T sass application_styles.css.scss application_styles.css.sass
@slav123
slav123 / go-install.sh
Last active July 10, 2019 09:55 — forked from mlabouardy/go-install.sh
Setup Go environment variables
# GOROOT is the location where Go package is installed on your system
export GOROOT=/usr/lib/golang
# GOPATH is the location of your work directory
export GOPATH=$HOME/go
# PATH in order to access go binary system wide
export PATH=$PATH:$GOROOT/bin
@slav123
slav123 / kill-all-php-fpm.sh
Last active April 14, 2021 09:12 — forked from bmichalski/kill-all-php-fpm.sh
Kill all php-fpm processes
sudo kill -9 `sudo ps -ef | grep php-fpm | grep -v grep | awk '{print $2}'`
ps -A | grep php-fpm | awk '{print $1}' | xargs kill -9 $1