Cooling ADSL Wireless Router with Fan and some creativity
Here is some solution for overheating Wireless Router. Note that I do not own any of these photos. Source: http://www.boransat.net/board/index.php?topic=28537.0
Here is some solution for overheating Wireless Router. Note that I do not own any of these photos. Source: http://www.boransat.net/board/index.php?topic=28537.0
Uncomplicated Firewall (UFW) is a helper tool which allows you to quickly setup iptables firewall in any Ubuntu server. It is installed by default and it allows you to secure your server at no time! Basic UFW Basic UFW: Check Status You can check UFW by running this command. The verbose argument prints additional information […]
Found a great Python code snippet for listing the most popular URL from Apache / NGINX ‘access.log’ file. Very practical! import collections logfile = open(“access.log”, “r”) clean_log=[] for line in logfile: try: # copy the URLS to an empty list. # We get the part between GET and HTTP clean_log.append(line[line.index(“GET”)+4:line.index(“HTTP”)]) except: pass counter = collections.Counter(clean_log) […]
UPDATE: You can now install NGINX with PageSpeed in Ubuntu LTS with deb package: https://blog.mypapit.net/2015/08/install-nginx-with-pagespeed-using-deb-for-ubuntu-lts-amd64.html INSTALLING NGINX USING UBUNTU APT-GET SOURCE PageSpeed modules are open source modules developed by Google Inc that can perform website optimization to ensure faster site delivery, automatically. PageSpeed module is not included in NGINX installation in Ubuntu or Debian. So […]
You can now check your public IP Address by visiting checkip.mypapit.net. The website will display your public IP Address (or your anonymous proxy IP Address). As usual, this service is provided without any warranty. Additionally, you can also check IP Address from bash command line using this curl/wget trick. wget -qO – checkip.mypapit.net curl -o […]
I’ve managed to connect this blog with IFTTT! However due to certain security restriction that I’ve enforced on this blog to curb spammers and unauthorized access (aka crackers), I’ve decided against connecting my blog directly through XMLRPC endpoint. So I’ve use RSS/ATOM feeds instead. IFTTT is a wonderful service which allows you to connect various […]
In my humble opinion, a must have tool for those who are just migrated from Apache to Nginx web server. The online tool is able to convert Apache rewrite rules to nginx compatible rules on the fly, very convenient!
Google has generously offered free hosting services for free open source developers to host their projects either by using Mercurial, Subversion or git. This blog post touches on the basic on to use SVN to maintain source code repository on Google Code Hosting. Assumptions This tutorial assume that you have : Created an open source […]
This is a follow-up of my previous post “What to do when your Google disabled your Gmail account?“. Here’s how to download all emails from your GMail account with Gmvault: Download and setting up gmvault 1. First you need to install python-pip [bash] sudo apt-get install python-pip [/bash] 2. Then using ‘pip’, install gmvault [bash] […]
Busy websites which has a lot of insert/delete transactions may introduce fragmentation in MySQL tables. Fortunately, users and optimize mysql tables with ‘OPTIMIZE TABLE’ command, but how to execute it automatically? Here’s how: The mysql-client package in Ubuntu installation comes with a tool called mysqlcheck which is handy for optimizing table in mysql. This command […]
SYN-flood attack is commonly utilized as a mean to disrupt network communication and it is a form of (Distributed Denial-of-Service) DDOS attack. RFC4987 details common mitigation to deal with SYN-flood attack. However in this post, I’m going to share you the method that I use to reduce the risk of SYN-flood attack from my department […]
A bit of advice when starting up an e-commerce (especially storefront) site, please use proper e-commerce software for the job. Do not ‘force’ a general-purpose (CMS) to be an e-commerce site via plugins (or *cough* *cough* ‘component’), it’s gonna be a pain-in-the-ass to secure ’em. So do yourself (and the sysadmin guys) a favor, use […]
*Note that I’m not a legal expert or an attorney, this is just based on my personal experience and internet search* There are people who asked me about why bother to release a piece of software or code under Open Source License instead of putting it in Public Domain. First of all it is a […]
Fail2ban is a security tool used for preventing brute-force attack and Distributed Denial of Service (DDoS) attack to your GNU/Linux box. Fail2ban monitors failed login attempts and subsequently blocks the ip address from further logins. Although Fail2ban can also be used to secure other services in Ubuntu server, in this post, I will only focus […]
Good news to those who are looking to get their hands on Bitcoins, beside setting up a mining rig, one can get free bitcoin from Bitcoin Faucet, a website dedicated to hand free bitcoin. What you need is a Bitcoin receiving address, obtained by registering an account with either MyBitcoin, MTGox, or Vekja. Additionally, you […]