git clone https://gist.github.com/b6cca73ed8dcf3388bbab12ad19cca54.git
cd b6cca73ed8dcf3388bbab12ad19cca54
docker-compose pull
docker-compose down -v
docker-compose up -d
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
#!/bin/bash | |
## Install ISPConfig3 on Ubuntu 14.04 64Bits | |
## Author Original: Nilton OS blog.linuxpro.com.br | |
## Modificado Español: Luis Gago Casas luisgagocasas.com | |
## Version 0.6 | |
## Caso precise | |
## echo 'LC_ALL="en_US.utf8"' >>/etc/environment | |
## dpkg-reconfigure dash |
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
#!/bin/bash | |
# This script will set up a LEMP environment for local development on | |
# Ubuntu 18.04. Nginx will look for sites in ~/Code/{folder}/public/. These | |
# sites can be accessed locally by going to http://{folder}.localtest.me. An | |
# example site called "info" is created automatically and you can view it by | |
# going to http://info.localtest.me. The source code for this site is in | |
# ~/Code/info/public/ | |
# ADD SOME PPAs |
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
# get back a list of urls for search term | |
# $ goog stuart-warren github | |
# $ goog site:stackoverflow.com ValueError | |
goog() { | |
# uses https://github.com/mgdm/htmlq | |
query=${@} | |
v="" | |
if [[ "$1" == "-v" ]]; then v="-v"; fi | |
curl ${v} -LG --data-urlencode "q=${query}" \ | |
--data-urlencode "sourceid=chrome" \ |
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
version: "3.8" | |
services: | |
chrome: | |
network_mode: "host" | |
image: jess/chrome | |
environment: | |
DISPLAY: 'unix:0' | |
volumes: | |
- /run/dbus/system_bus_socket:/run/dbus/system_bus_socket |
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
# watch the current directory for changes to files | |
# order the files by size and output the files in 3 columns | |
# highlight changes between outputs | |
watch -d 'du -sh * | sort -hr | pr -3 -t' |
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
MYSQL_ROOT_PASSWORD=rootpass |
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
#!/bin/bash | |
apt-get update -y | |
apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common -y |