This gist has moved to a proper git repo so people can make pull requests: https://github.com/Zenexer/internet-reference/blob/main/Internet%20Slang%20and%20Emoticons.md
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
| // general update | |
| sudo apt-get update | |
| // general upgrade | |
| sudo apt-get upgrade | |
| // install midnight commander | |
| sudo apt-get install mc | |
| // install git |
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
| <?php | |
| // contributed by supplify.com | |
| error_reporting(E_ALL); | |
| ini_set('display_errors', 1); | |
| require_once '../curl/Zebra_cURL.php'; | |
| require_once '../app/Mage.php'; | |
| Mage::app(); | |
| class action extends Zebra_cURL{ |
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
| var deleteAllGroupMembers = (function () { | |
| var deleteAllGroupMembers = {}; | |
| // the facebook ids of the users that will not be removed. | |
| // IMPORTANT: add your own facebook id here so that the script will not remove yourself! | |
| var excludedFbIds = ['1234','11223344']; // make sure each id is a string! | |
| var usersToDeleteQueue = []; | |
| var scriptEnabled = false; | |
| var processing = false; | |
| deleteAllGroupMembers.start = function() { |
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
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
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 | |
| cd /tmp | |
| apt-get update | |
| apt install -y libtool pkg-config build-essential autoconf automake uuid-dev git wget | |
| git clone git://github.com/jedisct1/libsodium.git | |
| cd libsodium/ | |
| ./autogen.sh | |
| ./configure && make check | |
| make install | |
| ldconfig |
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 -e | |
| ### Copyright 1999-2015. Parallels IP Holdings GmbH. All Rights Reserved. | |
| ### Secure plesk clean installation with hostname certificate by Let's Encrypt | |
| export PYTHONWARNINGS="ignore:Non-standard path" | |
| LE_HOME=${LE_HOME:-"/usr/local/psa/var/modules/letsencrypt"} | |
| HOSTNAME=$(hostname) | |
| # Use staging server for testing | |
| # --server https://acme-staging.api.letsencrypt.org/directory |
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
| # run in sudo | |
| # Before installing, make sure you have installed all the needed packages | |
| sudo apt-get install libtool pkg-config build-essential autoconf automake | |
| sudo apt-get install libzmq-dev | |
| # Install libsodium | |
| git clone git://github.com/jedisct1/libsodium.git | |
| cd libsodium | |
| ./autogen.sh | |
| ./configure && make check |