Webmin Remote Access

ssh -L 10001:localhost:10000 youruserhere@server01

Posted in Uncategorized | Leave a comment

Protected: Subdomain Up For Grab

This post is password protected. To view it please enter your password below:


Posted in Uncategorized | Enter your password to view comments.

Notes on Nginx

http://people.adams.edu/~cdmiller/posts/nginx-reverse-proxy-cache/

Posted in Uncategorized | Leave a comment

Protected: 3TB HDD Seagate Barracuda ST3000DM001

This post is password protected. To view it please enter your password below:


Posted in Uncategorized | Enter your password to view comments.

Protected: Google Calendar ICAL Private URL

This post is password protected. To view it please enter your password below:


Posted in Uncategorized | Enter your password to view comments.

Laptop Battery Estimator For Windows

http://research.microsoft.com/en-us/downloads/fe9e10c5-5c5b-450c-a674-daf55565f794/default.aspx

Posted in Uncategorized | Leave a comment

How to Calculate Electricity Fees For Your Laptop or Notebook

was bored, did calculation to see how much it cost to run laptop 24/h for a year. According to average stats, it’s around 55W. 55K=0.055kW , Power rating (kilowatts) X Time on each day (24 hours) X Cost per kWh (assuming 0.20 included delivery fees) * 31 (days in a month) * 12 (month in year) = $98.208 so around $100 bucks a year
Posted in Uncategorized | Leave a comment

Windows Live Calendar Gadget

Effective Time Managment, Download at http://wlcalendargadget.codeplex.com/

Synchronize with Google’s ICAL in Private mode under setting.

Source: Randy Pausch Lecture: Time Management

Posted in Uncategorized | Leave a comment

Ubuntu OneIric

Disable History with Dash using

#! /bin/bash

DELPATH=/home/USERNAME/.local/share

rm $DELPATH/recently-used.xbel
touch $DELPATH/recently-used.xbel
rm $DELPATH/zeitgeist/activity.sqlite
zeitgeist-daemon --replace
Posted in Uncategorized | Leave a comment

CentOS 6.0 ISO 4.382GB

ed2k://|file|CentOS_6.0_Final.iso|4705456128|3F55F69E53410EA4F0E9DDE8F2B2BCF2|/

Posted in Uncategorized | Leave a comment

mike_art03a

Interesting discussion going on here. I find Bell’s costs to be exorbitantly ridiculous! I run a hosting a company with over 30 gigabit fibre links in 4 countries (The US, UK, Sweden and Australia) and they average me about $1600 per link, and they’re not metered! Heck, gigabit fibre links in Sweden are only about $700 a piece! So 30 x $1600 = $48000/mth for 30 gigabits of total connectivity. I was thinking of renting part of a data centre in Montreal, but rackspace is little expensive in Canada.

Posted in Uncategorized | Leave a comment

4894147002807 HomeDepot $4.99

Item Unspecified

Posted in Uncategorized | Leave a comment

PHP Script to dump source

I’ve always been awed at the simplicity of PHP, and been trying to find a good way to dump source without copy and pasting the file into a text/plain format.

Steps:

1. Create a source function ie

<?php
/************************************
Date: January 21, 2012
Author: LittleBearZ
Website: http://www.littlebearz.com/
E-mail: open-sourced@littlebearz.com
License:
    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 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
****************************************/

/***********************************
* The below view_source(); calls upon
* the big method to be used
* whereas function view_source(){}
* defines what's in this function
************************************/
view_source();

function view_source()
{
if (isset($_GET['source']))
	{
 	header("Content-type: text/plain");
 	readfile(__FILE__);
	}
}
?>

 

2. How to use

In a web browser, visit to that PHP page with ?source as ending, ie.

http://pbin.xxw.ca/793f4ca422be.php?source

Posted in Uncategorized | Leave a comment

Snippet from Internet

Zhang “I’ve come up with a perfect solution: You can come to China to download all your pirated media, and we’ll go to America to discuss politically sensitive subjects.”

Posted in Uncategorized | Leave a comment