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 | |
# | |
# Install Postgres 9.2 on a clean Ubuntu 12.04 | |
""" | |
LC_ALL issue | |
comment out the AcceptEnv LANG LC_* line in the remote /etc/ssh/sshd_config file. | |
sudo apt-get install language-pack-en-base | |
sudo dpkg-reconfigure locales | |
comment out the SendEnv LANG LC_* line in the local /etc/ssh/ssh_config file. |
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
// instagram.com utilities | |
// | |
// currently I only have unsend all messages in thread implemented. | |
// but may add more if I need them | |
// (this won't work in incognito due to localStorage, session, & cookie values being required) | |
// | |
// To use, navigate to the thread in a web browser (I only tested with Chrome) | |
// and copy and paste the code into a Developer tools console | |
// "threadId" will need to be updated with the appropriate value | |
class InstagramHelper { |
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 | |
sudo yum update -y | |
sudo yum install -y docker | |
sudo usermod -a -G docker ec2-user | |
id ec2-user | |
newgrp docker | |
sudo systemctl enable docker.service | |
sudo systemctl start docker.service | |
docker run -d --name=tinyproxy -p 8888:8888 --env BASIC_AUTH_USER=yourLOGIN --env BASIC_AUTH_PASSWORD=yourSECRETpassword --env TIMEOUT=60 monokal/tinyproxy:latest ANY |