Author Archives: littlebear
[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.
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
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
Create Thumbnail Images Easily with jQuery NailThumb | Queness
http://www.queness.com/post/11331/create-thumbnail-images-easily-with-jquery-nailthumb
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
Protected: Firefox Sync Key
There is no excerpt because this is a protected post.
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; }
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
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/
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
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/
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
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
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
