Author Archives: littlebear

Vim VS Emacs

Above is emacs Above is vim

Posted in linux administration | Leave a comment

[ubuntu] Bind 9 DNS Server not accepting DNS client queries [Archive] – Ubuntu Forums

Add the following lines to named.conf.options in /etc/bind will do allow-query {any;}; allow-query-on {any;}; allow-recursion {any;}; allow-recursion-on {any;};   To the options of named.conf. via [ubuntu] Bind 9 DNS Server not accepting DNS client queries [Archive] – Ubuntu Forums.

Posted in linux administration | Leave a comment

Watermelon Dragon

Posted in random stuff | Leave a comment

Ignite Realtime: Openfire Server

Openfire 3.7.1 Openfire is a real time collaboration (RTC) server licensed under the Open Source Apache License. It uses the only widely adopted open protocol for instant messaging, XMPP (also called Jabber). Openfire is incredibly easy to setup and administer, … Continue reading

Posted in Uncategorized | Leave a comment

screenshot nexus s samsung

Posted in Uncategorized | Leave a comment

mod_rpaf for Apache

I fell love with Nginx’s ability to reverse proxy pass, it is awesome and stuff but I’m annoyed by the amount of effort in trying to retrieve visitor logs, so why not just let apache logs those X-Forwarded-For request anyways. … Continue reading

Posted in linux administration | Leave a comment

Create Thumbnail Images Easily with jQuery NailThumb | Queness

http://www.queness.com/post/11331/create-thumbnail-images-easily-with-jquery-nailthumb

Posted in Uncategorized | Leave a comment

Dynamic IP Address send to Email

Requirements: You need a static IP address, preferable a shared hosting or any web server capable of showing the IP address of its visitor. Your dynamic IP address can send outbound email on port 25, usually residential ISP don’t so … Continue reading

Posted in linux administration | Leave a comment

HTML5 Video Test – LittleBearZ Meow Blog -

Posted in random stuff | Leave a comment

Protected: Firefox Sync Key

There is no excerpt because this is a protected post.

Posted in irresponsible failure | Enter your password to view comments.

Hp laptop

Posted in Uncategorized | Leave a comment

FireFox Add-ons

Multi Links Downthemall Adblock Plus

Posted in Uncategorized | Leave a comment

Curl Function Usage in PHP

function get_contents($url){ $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL, $url); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch, CURLOPT_TIMEOUT, 1000); $file_contents = curl_exec($ch); curl_close($ch); return $file_contents; }

Posted in random stuff | Leave a comment

Bandwidth conversion calculator | web.forret.com

It is always troubling trying to find the right webhost for Virtual Private Server and or Dedicated Server doing what ever you do best. But the reality is that most people prefer unlimited bandwidth and so on and so forth, … Continue reading

Posted in linux administration | Leave a comment

figure out bandwidth by process

15:27 < Dozn> who was asking how to figure out bandwidth by process yesterday? 15:27 < Dozn> bah, for public knowledge then, http://nethogs.sourceforge.net/

Posted in linux administration | Leave a comment

VirtualBox Auto Mounting /etc/fstab

sudo mount -t vboxsf c /mnt/c /sbin/mount.vboxsf: mounting failed with the error: Invalid argument To solve this: Change c:\ and c to C:\ and it will auto generate C_DRIVE and thus I’ve learned that /etc/fstab and virtualbox doesn’t work well … Continue reading

Posted in linux administration | Leave a comment

Mount Virtualbox Shared Folders Automatically Using Fstab « Technical Bedtime Stories

vim /etc/fstab *Shared Folder Name* *Guestbox Local Folder Name” vboxsf defaults 0 0 mount -a Source: http://rotwhiler.wordpress.com/2008/10/09/mount-virtualbox-shared-folders-automatically-using-fstab/

Posted in linux administration | Leave a comment

Search for “nginx” | LittleBearZLittleBearZ

#path to pgrep command PGREP=”/usr/bin/pgrep” # Httpd daemon name, HTTPD=”nginx” # find httpd pid $PGREP ${HTTPD} if [ $? -ne 0 ] # if nginx not running then # restart nginx #$RESTART /root/lnmp restart fi

Posted in linux administration | Leave a comment

an error occured while installing mysql2 (0.3.11), and bundler cannot continue. make sure that `gem install mysql2 -v ’0.3.11′` succeeds before bundling. – Google Search

/var/lib/gems/1.8/bin/bundle install –without development test heroku Fetching gem metadata from http://rubygems.org/…… Fetching gem metadata from http://rubygems.org/.. Using rake (0.9.2.2) Using SystemTimer (1.2.3) Using multi_json (1.0.4) Using activesupport (3.1.4) Using builder (3.0.0) Using i18n (0.6.0) Using activemodel (3.1.4) Using erubis (2.7.0) … Continue reading

Posted in Uncategorized | Leave a comment

Archlinux Upgrade

It’s been 253 days since I’ve upgraded Archlinux since April 02, 2012 :: The following packages should be upgraded first : pacman :: Do you want to cancel the current operation :: and upgrade these packages now? [Y/n] Y resolving … Continue reading

Posted in linux administration | Leave a comment