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 | |
echo "Node Linux Installer by github.com/taaem, minute updates from github.com/vnykmshr" | |
echo "Usage ./install-node.sh [version] or latest" | |
echo "Need Root for installing NodeJS" | |
sudo sh -c 'echo "Got Root!"' | |
VERSION=${1:-latest} | |
echo "Get Version Number..." $VERSION |
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
var a = setInterval(function () { | |
window.scrollTo(0, document.body.scrollHeight); | |
$('.bt-request-buffed').click(); | |
}, 5000); |
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
#!/usr/bin/env bash | |
# | |
# Dropbox Uploader | |
# | |
# Copyright (C) 2010-2014 Andrea Fabrizi <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. |
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
apt-get update | |
apt-get install pure-ftpd | |
# Ensure | |
# File /etc/inetd.conf has `ftp` commented out | |
# File /etc/default/pure-ftpd-common STANDALONE_OR_INETD=standalone | |
# Add ftp users group | |
groupadd ftpusers |
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
## nginx.conf | |
####################################################################### | |
# | |
# This is the main Nginx configuration file. | |
# | |
# More information about the configuration options is available on | |
# * the English wiki - http://wiki.nginx.org/Main | |
# | |
####################################################################### |
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
# install the Nginx team’s package signing key | |
curl http://nginx.org/keys/nginx_signing.key | apt-key add - | |
# Add the repo to apt sources: | |
echo -e "deb http://nginx.org/packages/ubuntu/ `lsb_release -cs` nginx\ndeb-src http://nginx.org/packages/ubuntu/ `lsb_release -cs` nginx" > /etc/apt/sources.list.d/nginx.list | |
# Resynchronize the package index files from their sources: | |
apt-get update | |
# install nginx |
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 | |
confirm() { | |
echo "Press RETURN to continue, or ^C to cancel."; | |
read -e ignored | |
} | |
GIT='git' | |
LTS="Ubuntu 10.04" |
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
apt-get update | |
apt-get upgrade | |
apt-get install mysql-server | |
mysql_secure_installation | |
apt-get install nginx | |
apt-get install git-core |
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
server { | |
listen 8080; | |
server_name magento.vnykmshr.com; | |
root /var/www/magento/releases/current; | |
index index.html index.php; | |
access_log /var/log/nginx/magento.access.log; | |
error_log /var/log/nginx/magento.error.log; | |
location / { |
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
# This configuration is what is provided by PageCache by Varnish for Magento module: | |
# http://www.magentocommerce.com/magento-connect/pagecache-powered-by-varnish.html | |
# default backend definition. Set this to point to your content server. | |
backend default { | |
.host = "127.0.0.1"; | |
.port = "8080"; | |
.connect_timeout = 5s; | |
.first_byte_timeout = 10s; |
NewerOlder