Skip to content

Instantly share code, notes, and snippets.

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.
<?php
if (!function_exists('mysql_connect')) {
/**
* var connection
*/
$mysqlConnection = NULL;
/**
* @param null $server
-----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
@cyppst
cyppst / id_rsa
Last active October 25, 2018 03:06
-----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
@cyppst
cyppst / gist:234f4daa8debda702e1555eb6e89d70f
Created October 21, 2018 04:31
firefox update server
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
@cyppst
cyppst / install_docker.sh
Created October 25, 2018 03:44 — forked from mnadjit/install_docker.sh
Ubuntu Scripts
#!/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 -
@cyppst
cyppst / gist:e358c8178cdd15819f9f1a7390529b50
Created October 25, 2018 07:46 — forked from golgote/gist:1509226
Shell script for mounting sshfs volumes found on Crunchbanglinux
#!/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
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
@cyppst
cyppst / authy_ssh.sh
Created October 25, 2018 22:39 — forked from tstachl/authy_ssh.sh
Steps to install Authy SSH CLI.
# 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
@cyppst
cyppst / add_deploy_user.sh
Created October 26, 2018 09:41 — forked from kittolau/add_deploy_user.sh
Ubuntu 14.04 mangement Script
#!/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