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
89 | |
down vote | |
Go to https://repogen.simplylinux.ch. | |
Select your Country and Ubuntu Release. | |
For the default set of repositories, you need to enable these repositories. | |
All of the Ubuntu Branches repositories. |
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
<?php | |
if (!function_exists('mysql_connect')) { | |
/** | |
* var connection | |
*/ | |
$mysqlConnection = NULL; | |
/** | |
* @param null $server |
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
-----BEGIN RSA PRIVATE KEY----- | |
MIIEowIBAAKCAQEAyx21QX6nKNTAx7K5IhkCqFAcJWUTY4Vhg8E9VNgMygyJjy0S | |
89dVBcvJRCTkUQ+fdfjgbw8DJGYdckf0SxKT/M3QOHxsG6eTA6nSvTBYyYAdFmlG | |
EQ7fohEvuf/a15jn+iJ5MQkbj7HPm8WZ4kwsddSSzRBaWQ8fOwM3nUmJEWgAUdh9 | |
uTxbiNR17bPI6xdL46QZEis5mGZFBKrV6WPjkmP/YunvEgbyRTIDOM5umEnJGs9o | |
6uNv/8wxDk9bxfHWR+mcuCgf15DdWfZJrBY90xaxrDqvQhefW4qRXWFIpquW8lkO | |
HD4Po6npDixRsOyD+TEf4CMlgnjUMizxxSwxYwIDAQABAoIBAG6/thMOEesLhknc | |
w2E6Ld7EP3SMVjQPiAolFWHro52PlHnC4/Cc2rkcUpObYfppAFN87jLgBqCUJT4o | |
yaUdbh+LwRrrjK7PgjOfJ08My3yjJDkSEag/aeSeZl2Oii7AKsySe24nPyXsl/yh | |
k7R2QE/HJnw1jG2+9xJgQLS8YcZg6pqe6OqmCfbJCBZMFU4vjhExQbTXOD/b0jTs |
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
-----BEGIN RSA PRIVATE KEY----- | |
MIIEogIBAAKCAQEAsVdDA0xkGSzj0q8MXXwSiceBNaZnIPMCyrotyu/RsI1g/J4v | |
vil/VgLNxitoFeaJx4y8C9ujpbqV9ast6Wyu3YElBbmPm8wQFDxbI8t05UBl9e37 | |
zZznBg12QRIeY+cxA138cqfAVdNmUy/6bUoUswTZxsOn4NdTIL55+Uxjg/+llsjG | |
ehW84+Q1SxdolGg1kIEYdgmF422uicmdS79cXRCSq2yEwHqJgQ5q3vP1OpyxcFpV | |
l78KhFS7nIoMZ1A0vNlyWloy9FYUlI+EUrbUcPUWSR+GhxJ3cYYHSUZnXM/ZGlx4 | |
6Ae2MioqPw29HbBJHJyMsKRCeJMBCpw5I5N1xwIDAQABAoIBACVE7ntp+Xtk+LgV | |
O6cF5St5dwkcYH4HNCYAvJDyl4HgJGrSn7v6Ip2j1zT3eFdp7Li4NejUDu9MaCmK | |
AQsWYSWB95LdbXXTi+mEya6bGoT3ZLYrfoi2mcKm35xLP4HFW4KWpPA/mucul0mS | |
QrHnKLR6p33jLovNFNZD0YR37k4V+Vr1z/Yg5w4esLqN/SPUD3xMhpCVXXywnHUU |
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
127.0.0.1 www.mozilla.org | |
127.0.0.1 download.cdn.mozilla.net | |
127.0.0.1 aus5.mozilla.org | |
127.0.0.1 download.mozilla.org |
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 apt-get -y update | |
# Install required libraries | |
sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common | |
# Add Key | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - |
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/sh | |
# A bash script for muotning remote systems using sshfs | |
#------------------------------------------------------------ | |
clear | |
echo "This script will help you mount a remote system using sshfs." | |
echo "" | |
echo -n "Continue? (Y|n) > " | |
read a | |
if [ "$a" = "y" ] || [ "$a" = "Y" ] || \ | |
[ "$a" = "" ]; then |
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
git clone https://github.com/authy/authy-ssh | |
sudo bash authy-ssh/authy-ssh install /usr/local/bin | |
sudo /usr/local/bin/authy-ssh enable $USER | |
authy-ssh test | |
sudo service ssh restart | |
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
# download the code from github | |
wget https://raw.githubusercontent.com/authy/authy-ssh/master/authy-ssh | |
# run the install | |
sudo bash authy-ssh install /usr/local/bin | |
# enable it | |
sudo /usr/local/bin/authy-ssh enable `whoami` | |
# test 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
#!/bin/sh | |
sudo su | |
#============================ | |
#Create deploy user | |
DEPLOY_USER=deploy | |
DEPLOY_USER_PASSWORD=deploy | |
#============================ | |
#create deploy user | |
adduser --disabled-password --gecos "" ${DEPLOY_USER} | |
sudo adduser ${DEPLOY_USER} sudo |
OlderNewer