Skip to content

Instantly share code, notes, and snippets.

View riipandi's full-sized avatar
🦀
Deep dive into Rust

Aris Ripandi riipandi

🦀
Deep dive into Rust
View GitHub Profile
@riipandi
riipandi / pureftpd-centos-setup.sh
Created March 11, 2012 11:01
Pure-FTPd Install Script - CentOS 6.x / Fedora 16
#!/bin/bash
# ----------------------------------------------------------------------
# http://www.howtoforge.com/virtual-hosting-with-PureFTPd-and-mysql-debian-lenny
# ----------------------------------------------------------------------
# Install Apache, MySQL, PHP
yum install -y mysql mysql-server php phpmyadmin httpd
# Install & konfigurasi PureFTPd
@riipandi
riipandi / baik-setup.iss
Created March 11, 2012 11:05
BAIK Interpreter Setup Script
; -----------------------------------
; BAIK 7.0 INNO Installer SCript
; Aris S Ripandi (riespandi@gmail.com)
; -----------------------------------
[Setup]
AppId={{87CBA5F1-7CDC-44E9-BFEB-3D1E7841A2C2}
AppName=BAIK Interpreter
AppVersion=7.0
AppPublisher=Haris Hasanudin,MSc.
@riipandi
riipandi / modem-smart-zte.sh
Last active October 1, 2015 15:57
Setup Modem SMART ZTE
#!/bin/sh
# Written by Aris S Ripandi (riespandi@gmail.com
# 2012/01/16
# http://www.hex-a.blogspot.com/2012/12/cara-setting-modem-smart-freen-ce682-di.html
# cek user dulu (harus root)
[[ $(id -u) -ne 0 ]] && { echo "$0: You must be root user to run this script. Run it as 'sudo $0'"; exit 1; }
function setup() {
lsusb
eject /dev/sr0
@riipandi
riipandi / tabel-lisensi-mikrotik.txt
Created March 28, 2012 13:59
Tabel Perbandingan Level Lisensi Mikrotik
---------------- PERBEDAAN LEVEL PADA LICENSE MIKROTIK -----------------
------------------------------------------------------------------------
Level Number 4 (WISP) 5 (WISP) 6 (Controller)
------------------------------------------------------------------------
Upgradable To --------------- ROS v4.x ROS v5.x ROS v5.x
Initial Config Support ------ 15 days 30 days 30 days
Wireless AP ----------------- yes yes yes
Wireless Client and Bridge -- yes yes yes
RIP, OSPF, BGP protocols ---- yes yes yes
EoIP tunnels ---------------- ----------- unlimited -----------
@riipandi
riipandi / getdeb6.sh
Created May 15, 2012 22:23
Download Debian Squeeze DVD images
#!/bin/bash
# getdeb6: Download Debian 6 DVD images
# Tip: run it over screen session
# Added $_version for easy upgrade
# @usage: chmod +x getubrepo && ./getubrepo 32
# ----------------------------------------------------------------------
_bit="${1:-64}"
_arch="i386"
_version="6.0.5"
_base="http://cdimage.debian.org/debian-cd/${_version}/i386/iso-dvd/"
@riipandi
riipandi / getubrepo.sh
Created May 15, 2012 22:22
Download Ubuntu ISO DVD Repository
#!/bin/bash
# @des: Download Ubuntu ISO DVD Repository
# @author: Aris S. Ripandi <riespandi@gmail.com>
# @usage: chmod +x getubrepo && ./getubrepo 32
# ----------------------------------------------------------------------
_bit="${1:-64}"
_arch="i386"
_version="12.04"
_base="http://kambing.ui.ac.id/iso/ubuntu-repository/${_version}"
[ "$_bit" == "64" ] && { _arch="amd64"; }
@riipandi
riipandi / rcube-setup.sh
Created June 10, 2012 12:35
Install RoundCube Webmail Client
#!/bin/bash
#
cd /tmp && wget http://dl.dropbox.com/u/3643528/siliwangi/rcubemail.tar.gz
tar xzvf rcubemail.tar.gz && cp -r /tmp/rcubemail /var/www/
rm -fr /tmp/rcubemail*
cat > /tmp/rcubemail.sql <<EOF
CREATE DATABASE rcubemail;
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON rcubemail.* TO 'dbmailuser'@'localhost' IDENTIFIED BY '(*&^%$#@!)';
FLUSH PRIVILEGES;
@riipandi
riipandi / app.yaml
Created August 7, 2012 16:27
Octopress on GAE
application: APP_ID
version: 1
api_version: 1
runtime: python
default_expiration: "1d"
handlers:
- url: /(.*\.(appcache|manifest))
mime_type: text/cache-manifest
static_files: \1
@riipandi
riipandi / getubrepo.sh
Created October 2, 2012 13:20
Download Ubuntu DVD Repository
#!/bin/bash
# @des: Download Ubuntu ISO DVD Repository
# @author: Aris S. Ripandi <riespandi@gmail.com>
# @usage: chmod +x getubrepo && ./getubrepo 32
# ----------------------------------------------------------------------
_bit="${1:-64}"
_arch="i386"
_version="12.04"
_base="http://kambing.ui.ac.id/iso/ubuntu-repository/${_version}"
[ "$_bit" == "64" ] && { _arch="amd64"; }
@riipandi
riipandi / nice.rsc
Created October 12, 2012 08:52
Address List Mikrotik
/ip firewall address-list
add list=nice address="120.160.0.0/11"
add list=nice address="182.0.0.0/12"
add list=nice address="114.120.0.0/13"
add list=nice address="182.24.0.0/14"
add list=nice address="114.56.0.0/14"
add list=nice address="182.28.0.0/15"
add list=nice address="118.137.0.0/16"
add list=nice address="118.136.0.0/16"
add list=nice address="111.95.0.0/16"