- Download the latest Geckodriver for Firefox
- then
mv
that file to/usr/local/bin/geckodriver
andsudo chmod +x /usr/local/bin/geckodriver
- make sure you have
"webdriver.firefox.profile" : "geckodriver",
in yournightwatch.json
file if you are using it
This file contains 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
# Look for certain files then get the size of everithng finding on current dir | |
find . -name "*lua*" -type f -exec du -ch {} + | grep total$ | |
# Look for files with a patron on a current dir | |
find . -name "*lua*" -type f | |
# Delete all files find them with a patron | |
find . -name "*lua*" -type f -delete |
This file contains 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
sudo apt-get update && sudo apt-get dist-upgrade | |
sudo apt-get install netselect-apt -y | |
sudo netselect-apt | |
sudo apt-get install sudo chromium vim git git-core zsh vlc libcanberra-gtk-module fonts-crosextra-carlito fonts-crosextra-caladea -y | |
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - | |
wget "https://www.rescuetime.com/installers/rescuetime_current_amd64.deb" | |
sudo dpkg -i rescuetime_current_amd64.deb | |
rm rescuetime_current_amd64.deb |
This file contains 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
# install git | |
sudo apt get install git | |
# install elasticsearch | |
sudo apt-get install build-essential libssl-dev | |
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - | |
echo "deb http://packages.elastic.co/elasticsearch/2.x/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-2.x.list | |
sudo apt-get update && sudo apt-get install elasticsearch | |
# install java |
This file contains 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
Show hidden characters
// Place your settings in the file "User/Preferences.sublime-settings", which | |
// overrides the settings in here. | |
// | |
// Settings may also be placed in file type specific options files, for | |
// example, in Packages/Python/Python.sublime-settings for python files. | |
{ | |
// Sets the colors used within the text area | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
// Note that the font_face and font_size are overriden in the platform |
This file contains 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
# Install Postgres | |
http://apt.postgresql.org/pub/repos/apt/ 9.4-pgdg main | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install postgresql-9.4 | |
# Install redis | |
curl -O http://download.redis.io/releases/redis-3.2.9.tar.gz | |
tar xzf redis-3.2.9.tar.gz |
This file contains 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
### Written: 2017-06-13 | |
### Updated: - | |
### Get, verify and unpack, delete and move the distribution package (12.0) | |
wget https://download.nextcloud.com/server/releases/nextcloud-12.0.0.tar.bz2 | |
wget https://download.nextcloud.com/server/releases/nextcloud-12.0.0.tar.bz2.sha256 | |
sha256sum -c nextcloud-12.0.0.tar.bz2.sha256 < nextcloud-12.0.0.tar.bz2.sha256 | |
tar xvf nextcloud-12.0.0.tar.bz2 && rm nextcloud-12.0.0.tar.bz2 | |
sudo mv nextcloud /var/www/html |
This file contains 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
### Written: 2017-06-13 | |
### Updated: - | |
### Get, verify and unpack, delete and move the distribution package (12.0) | |
wget https://download.nextcloud.com/server/releases/nextcloud-12.0.0.tar.bz2 | |
wget https://download.nextcloud.com/server/releases/nextcloud-12.0.0.tar.bz2.sha256 | |
sha256sum -c nextcloud-12.0.0.tar.bz2.sha256 < nextcloud-12.0.0.tar.bz2.sha256 | |
tar xvf nextcloud-12.0.0.tar.bz2 && rm nextcloud-12.0.0.tar.bz2 | |
sudo mv nextcloud /var/www/ |
This file contains 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
#!/usr/bin/env sh | |
EMAIL = $1 | |
ssh-keygen -t rsa -b 4096 -C $EMAIL | |
eval "$(ssh-agent -s)" | |
ssh-add -k ~/.ssh/id_rsa |
This file contains 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 | |
# from http://ubuntuserverguide.com/2012/06/how-to-installing-nginx-with-php5-and-mysql-support-on-ubuntu-server-12-04-lts.html | |
PHP_SCRIPT=/usr/sbin/php-fastcgi | |
FASTCGI_USER=www-data | |
FASTCGI_GROUP=www-data | |
PID_DIR=/var/run/php-fastcgi | |
PID_FILE=/var/run/php-fastcgi/php-fastcgi.pid | |
RET_VAL=0 | |
case "$1" in |