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 | |
| /** | |
| * Script ini berfungsi menjadi rss bagi situs padangexpress.co.id | |
| * cara kerja: | |
| * ambil halaman index | |
| * ambil link posting | |
| * ambil semua posting dalam link index | |
| * tampilkan dalam 1 halaman | |
| * | |
| * @package Padangexpress scraper |
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 | |
| # backup repository lama | |
| mv /etc/apt/sources.list /etc/apt/sources.list.squeezeori | |
| # tulis repo baru | |
| cat > /etc/apt/sources.list <<END | |
| deb http://mirrors.kernel.org/debian/ wheezy main | |
| deb-src http://mirrors.kernel.org/debian/ wheezy main |
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 | |
| function check_install { | |
| if [ -z "`which "$1" 2>/dev/null`" ] | |
| then | |
| executable=$1 | |
| shift | |
| while [ -n "$1" ] | |
| do | |
| DEBIAN_FRONTEND=noninteractive apt-get -q -y install "$1" |
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
| 1. http://www.facebook.com/neo.comm | |
| 2. http://www.facebook.com/sysmartel | |
| 3. https://www.facebook.com/BagasRendraTyasAgriOktara | |
| 4. https://www.facebook.com/hab.habno | |
| 5. http://www.facebook.com/ertantoyk | |
| 6. http://www.facebook.com/difkaakbar14 | |
| 7. http://www.facebook.com/LanangNom | |
| 8. http://http://www.facebook.com/thomjoy | |
| 9. http://www.facebook.com/iebhe.oyie.sukasuka | |
| 10. https://www.facebook.com/Beat.cruzader |
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 $PASSWORD = ''; /* Please enter a password here ;) ***** Tools Script for OwnCloud 4 by Dennis Kuypers (snapr) - http://forum.owncloud.org */define('version','rev.01');if(isset($_GET['PING']))die("pong");if(!session_start()) die("Either your client does not allow/support cookies OR the server can not start a session");if(isset($_POST['tpw'])){ $_SESSION['tpw']=$_POST['tpw'];} $do=(isset($_GET["do"])?$_GET["do"]:'home');if(isset($_SESSION['tpw']) && $_SESSION['tpw']==$PASSWORD && isset($_GET['phpinfo'])){phpinfo();exit;} ?><!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>OwnCloud Tools</title><link type="text/css" rel="stylesheet" href="http://oc.kycdn.net/tools/bootstrap/css/bootstrap.css" /></head><body><div class="container"><div class="row" style="margin-top: 20px"><div class="span2"><ul class="well nav nav-list"><?php if(isset($_SESSION['tpw']) && $_SESSION['tpw']==$PASSWORD){ ?><li class="<?php echo($do=='home'?'active':''); ?>"><a href="?do=home" |
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 | |
| # penggunaan | |
| # bash setup-vps.sh <nama user> <domain> <ip> | |
| adduser $1 | |
| mkdir /home/$1/nginx | |
| mkdir /home/$1/public_html | |
| mkdir /home/$1/public_html/localhost | |
| mkdir /home/$1/public_html/$2 |
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
| user www-data; | |
| worker_processes 1; | |
| error_log /var/log/nginx/error.log warn; | |
| pid /var/run/nginx.pid; | |
| events { | |
| worker_connections 1024; | |
| } |
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/sh | |
| ### BEGIN INIT INFO | |
| # Provides: nginx | |
| # Required-Start: $network $remote_fs $local_fs | |
| # Required-Stop: $network $remote_fs $local_fs | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Stop/start nginx | |
| ### END INIT INFO |
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 | |
| function check_install { | |
| if [ -z "`which "$1" 2>/dev/null`" ] | |
| then | |
| executable=$1 | |
| shift | |
| while [ -n "$1" ] | |
| do | |
| DEBIAN_FRONTEND=noninteractive apt-get -q -y install "$1" |
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 | |
| # install squid | |
| apt-get install squid3 | |
| # Backup settingan default | |
| mv /etc/squid3/squid.conf /etc/squid3/squid.conf.bak | |
| # Tulis config baru | |
| cat > /etc/squid3/squid.conf <<END |
NewerOlder