sudo pacman -S wine winetrickswinetricks atmlib gdiplus msxml3 msxml6 vcrun2005 vcrun2005sp1 vcrun2008 ie6 fontsmooth-rgb gecko| # usage | |
| # bash install-python-2.7.17.sh | |
| sudo apt-get update | |
| sudo apt-get install build-essential checkinstall -y | |
| sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev -y | |
| cd /usr/src | |
| sudo wget https://www.python.org/ftp/python/2.7.17/Python-2.7.17.tgz | |
| sudo tar xzf Python-2.7.17.tgz | |
| cd Python-2.7.17 | |
| sudo ./configure --enable-optimizations |
| 1. Web developer roadmap - https://github.com/kamranahmedse/developer-roadmap | |
| 2. Git - http://try.github.io/ | |
| 3. CSS frameworks | |
| Bootstrap | |
| TailwindCSS | |
| Bulma | |
| Foundation | |
| Milligram | |
| Pure CSS | |
| SemanticUI |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| # Install Arch Linux dual boot with Windows 10 on Thinkpad T480s. Dec 2018. | |
| # Full encrypted btrfs subvolume inside luks. UEFI and Secure Boot enabled. | |
| # filename: install-arch-linux-on-btrfs-subvolume-inside-luks.txt | |
| # The official guide: https://wiki.archlinux.org/index.php/Installation_Guide | |
| # Last edit: 2021/10/11 (Work in priogress...) | |
| # Shrink Windows partition to make room for the linux. | |
| # Remove BitLocker encryption and Fast Boot. After install can re-enable BitLocker. | |
| # Need to setup again Bitlocker, PIN, Fingerprint (tested on Win10 1803) |
| define('DELETE_EXPIRED_TRANSIENTS', true); | |
| define('DELETE_EXPIRED_TRANSIENTS_HOURS', '6'); | |
| define('DELETE_EXPIRED_TRANSIENTS_MAX_EXECUTION_TIME', '10'); | |
| define('DELETE_EXPIRED_TRANSIENTS_MAX_BATCH_RECORDS', '50'); | |
| define('DISABLE_ADMIN_AJAX', false); | |
| define('DISABLE_CART_FRAGMENTS', true); | |
| define('DISABLE_EMBEDS', true); | |
| define('DISABLE_EMBEDS_ALLOWED_SOURCES', 'none'); | |
| define('DISABLE_EMOJIS', true); | |
| define('DISABLE_GUTENBERG', true); |
| <!-- For old IEs --> | |
| <link rel="shortcut icon" href="favicon.ico" /> | |
| <!-- For new browsers - multisize ico --> | |
| <link rel="icon" type="image/x-icon" sizes="16x16 32x32" href="favicon.ico"> | |
| <!-- For iPad with high-resolution Retina display running iOS ≥ 7: --> | |
| <link rel="apple-touch-icon-precomposed" sizes="152x152" href="favicon-152.png"> |
| server { | |
| listen 80; | |
| listen [::]:80; #Use this to enable IPv6 | |
| server_name www.example.com; | |
| root /var/www/prestashop17; | |
| access_log /var/log/nginx/access.log; | |
| error_log /var/log/nginx/error.log; | |
| index index.php index.html; |
| server { | |
| listen 80; | |
| server_name maxmobiles.lo *.maxmobiles.lo; | |
| root /var/www/maxmobiles.lo; | |
| error_log /var/www/maxmobiles.lo/log/error.log warn; | |
| location / { | |
| index index.html index.php; ## Allow a static html file to be shown first |
| # Convert it into pkcs12 format | |
| openssl pkcs12 -export -out jenkins.p12 -inkey certificate.key -in certificate.crt -name "jenkins-cert" | |
| # Create keystore if not exist | |
| https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html | |
| # Import | |
| keytool -importkeystore -srckeystore jenkins.p12 -srcstoretype pkcs12 -destkeystore keystore.jks |