I hereby claim:
- I am xezpeleta on github.
- I am xezpeleta (https://keybase.io/xezpeleta) on keybase.
- I have a public key whose fingerprint is D700 BAE6 3388 E984 9736 D5E9 5587 BA86 CB39 64F9
To claim this, I am signing this object:
| <!doctype html> | |
| <title>Site Maintenance</title> | |
| <style> | |
| body { text-align: center; padding: 150px; } | |
| h1 { font-size: 50px; } | |
| body { font: 20px Helvetica, sans-serif; color: #333; } | |
| article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
| a { color: #dc8100; text-decoration: none; } | |
| a:hover { color: #333; text-decoration: none; } | |
| </style> | 
I hereby claim:
To claim this, I am signing this object:
| # ===================================================================== | |
| # Bash on Windows installator | |
| # @author: Xabi Ezpeleta <[email protected]> | |
| # References: | |
| # - https://msdn.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development#use-group-policies-or-registry-keys-to-enable-a-device | |
| # - https://msdn.microsoft.com/en-us/commandline/wsl/install_guide | |
| # ===================================================================== | |
| # Enable Developer Mode | |
| reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1" | 
| REM Uninstall Bash on Windows | |
| lxrun /uninstall /full /y | |
| REM TODO: Disable WSL feature | |
| REM TODO: Disable Developer Mode | |
| REM debugging-pause | |
| pause | 
| #! /bin/sh -e | |
| # | |
| # File: /etc/cron.daily/reboot-when-required | |
| # Description: reboots the machine if its required | |
| if [ -f /var/run/reboot-required ]; then | |
| shutdown -r +5 "Reboot required. System will be restarted in 5min." | |
| fi | 
| #! /bin/bash -e | |
| # | |
| # Usage: | |
| # ./eb-installer.sh [OPTIONS] | |
| # [-f customconfigfile] [-h dbhost] [-u dbuser] | |
| # [-U dbadminuser] [-p dbpass] [-P dbadminpass] | |
| # [-n dbname] [-v version] [-y] [-d] [-I] | |
| # Config | 
| #! /bin/sh | |
| ## | |
| # update-drupal.sh It will update your Drupal installation using the utility Drush http://www.drush.org | |
| # To keep your Drupal updated, you can copy this script into your /etc/cron.daily directory | |
| # Don't forget to add execution right and remove ".sh" extension from the filename. | |
| ## | |
| cd /var/www/mydrupalsite | |
| drush up -y | 
| #! /usr/bin/php | |
| <?php | |
| ## | |
| # mantis-users-survey.php: Asebetetze inkestaren esteka bidaltzen zaio erabiltzaileari, bere matxura | |
| # itxi ostean. Horretarako, script hau egunero exekutatu behar da CRON bitartez. | |
| # Adibidez: | |
| # 55 23 * * * /root/scripts/mantis-users-survey.php >> /root/scripts/mantis-survey.log | |
| ## | 
| #! /bin/sh | |
| ## | |
| # update-wordpress.sh It will update your WordPress installation using the utility wp-cli http://wp-cli.org | |
| # To keep your WP updated, you can copy this script into your /etc/cron.daily directory | |
| # Don't forget to add execution right and remove ".sh" extension from the filename. | |
| ## | |
| WPDIR=/var/www/myblog | 
| #! /usr/bin/python | |
| ''' | |
| Python script to set up GA web tracking code, usually in static web files (in PHP files, you can use a simple 'include' or 'require_once'). | |
| add_ga_code.py <file> <track-id> | |
| Example: add_ga_code.py /var/www/index.html UA-557744-10 | |
| To add the tracking code in multiple files, use a oneliner. Example: |