Skip to content

Instantly share code, notes, and snippets.

View guiguetz's full-sized avatar
🎯
Focusing

Guilherme Aguiar guiguetz

🎯
Focusing
View GitHub Profile
@daysm
daysm / rasa-environment.yml
Created January 16, 2018 12:47
A conda environment for rasa.ai
name: rasa-env
channels:
- defaults
dependencies:
- ca-certificates=2017.08.26=h1d4fec5_0
- certifi=2017.11.5=py35h9749603_0
- libedit=3.1=heed3624_0
- libffi=3.2.1=hd88cf55_4
- libgcc-ng=7.2.0=h7cc24e2_2
- libstdcxx-ng=7.2.0=h7a57d05_2
@barbietunnie
barbietunnie / upgrade-c9-php7.sh
Last active August 16, 2018 19:57
Upgrade a Cloud 9 (c9.io) PHP workspace to version 7
sudo add-apt-repository ppa:ondrej/php -y
sudo apt-get update -y
sudo apt-get install php7.0-curl php7.0-cli php7.0-dev php7.0-gd php7.0-intl php7.0-mcrypt php7.0-json php7.0-mysql php7.0-opcache php7.0-bcmath php7.0-mbstring php7.0-soap php7.0-xml php7.0-zip -y
sudo mv /etc/apache2/envvars /etc/apache2/envvars.bak
sudo apt-get remove libapache2-mod-php5 -y
sudo apt-get install libapache2-mod-php7.0 -y
sudo cp /etc/apache2/envvars.bak /etc/apache2/envvars
@garystafford
garystafford / helpful-docker-commands.sh
Last active July 1, 2024 06:57
My list of helpful docker commands
###############################################################################
# Helpful Docker commands and code snippets
###############################################################################
### CONTAINERS ###
docker stop $(docker ps -a -q) #stop ALL containers
docker rm -f $(docker ps -a -q) # remove ALL containers
docker rm -f $(sudo docker ps --before="container_id_here" -q) # can also filter
# exec into container