MenuLatest Blog Postings at adamsinfoUDP Tunneling to avoid hotspot or firewall restrictions netfilter/iptables split access with multiple ISPs Linux Consultant - Server Management, Basic Housekeeping SSHing from a compromised machine PHP Programmer - Logical Operators PHP Programmer - Numeric Shorthand PHP Programmer - Reading from files PHP Programmer - strlen, count and substr PHP Programmer - strpos, finding the position of a word in a string PHP Developer - Loops in General Full NAT, DNAT and SNAT aka 1:1 NAT, 1 to 1 NAT Freelance PHP Programmer - Managing Estimates PHP Developer - Looping through database results Move Xen Guest from loopback filesystem to LVM Installing and Configuring Xen with guests Copy/Export MySQL User Priviledges Linux Consultant - How to recover a compromised server BASH Script - Blank Out CC Details Hosting - Users too quick to judge? PHP Programmer - Modulo Operator Linux C setuid setgid tutorial Linux Security Freelancer - Securing a node - Where to start? Security Consultant - Man In The Middle Attacks (MITM) Security Consultant - London Site Visits Security Consultant - Scope of work PHP MySQL Developer - A Freelancer in London PHP MySQL Developer - Using MySQLi Prepared Statements to Avoid SQL Injection Shrinking/Resizing ext3 Partitions Installing Linux on the Embedded PPC50 Touchscreen How to Find and Replace data in MySQL Looking for a New Linux Project Multithreaded Tunnel Proxy and OpenVPN experiment Linux - Exim, Avenger and SpamAssassin Tips Linux Color Directory Listings Web Application Security Consultant Methodology Security Consultant - Ports & Port Knocking Shell Return Codes - Ping Monitoring Security Consultant - PHP Developer - SQL Injection Attacks Security Consultant - PHP Developer - Exploiting Common PHP Code Flaws Multithreaded Multi-Connection TCP Proxy Tunnel Update Security Consultant - Basic NMAP Usage Multithreaded TCP Proxy Tunnel Code Using the Phidget Interface Kit under Linux Multithreaded TCP Proxy Tunnel The Linux Robot - In hindsight The Linux Robot - Dancing Beat Recognition brctl: Creating a network bridge shPanel - the Linux System and Hosting Control Panel Creating an MD5 on Linux with md5sum An idea - cPanel like host management Copy files securely from host to host with SCP How to create a simple disk image formatted to ext3 Linux piping and redirecting stdin stderr stdout BASH Shell Scripting - Sort a string alphabetically bc - Linux command line calculator How to upgrade from Debian Etch to Lenny Local and Remote Kernel Upgrades - Failsafe Grub Linux and the Huawei HSDPA 3G E220 modem for mobile broadband Linux PPTP (Poptop) VPN Setup with MPPE and MPPC A Beginner's Guide to Object Oriented Programming (OOP) in PHP5 - Classes, Objects and Methods How to reset forgotton MySQL root password How to recover your Linux root password How to remove the tray icon from VNC (RealVNC) with XN Resource Editor Linux IP Address Configuration Static or DHCP A rudimentary PHP POP3 example The Linux Robot - Progress, Software & a Video Simple POP3 Communication HOWTO A BIND9 zonefile and commentary Debian Lovers - Why I love Voyage Linux The Robot - Progress and a Video The Robot: Hardware working and ready to go, a few minor glitches Using distcc for distributed compiling on an alix 3c2 The Robot: Independant, moving, talking, and controlled via WiFi Linux: AVIT Research USB to TTL Cable Some simple filtering and sniffing with tcpdump The Robot: Base, Wheels, Motors, and Sabertooth Motor Controllers The Robot: A body, Sensors and Good Progress The Robot: Phidgets USB Interface Board Kit works The Robot: Successful installation of Debian onto the Alix 3c2 board rsync over SSH, SSH key login, public keys, automated backups Linux on a Mikrotik 532a , Part 5 Final - OpenWRT and Custom Scripts Robot: Initial Hardware Order [rev 2] Help Debian, today's Linux news. Linux on a Mikrotik 532a, Part 4 - Customization, Debian Scripts, Shaping, Firewall, NAT, picoLCD The Robot: Hardware List, Wheel Plan, More Ideas, Steps to launch Linux Robot, more hardware ideas Linux Robot - Watch this space PHP, MySQL, Apache2 install HOWTO on Debian APNIC Box - Linux on a Mikrotik 532a, Part 3 - Installing Debian, Prebuilt Disk Image APNIC Box - Linux on a Mikrotik 532a, Part 2 - Hardware Modifications APNIC Box - Linux on a Mikrotik 532a, Part 1 - The Device DNS Hijacking, ISP Packet Modification, Morals and Privacy The Legality of Peer to peer software Linux Benchmark, IO statistics and system statistics with dstat Thoughts on "Google denies disassembling Vista code for Chrome" 95th percentile billing explaination Wireless Hacking, Problems with WEP, Wireless Security and WPA Going Green, PC Hibernation, Saving Money & Common Sense NetCat tutorial for Linux & Windows, HOWTO, nc Using picolcd on linux, lcdproc, routerboard, liblcdusb Quick Linux and Windows OpenVPN HOWTO and tutorial, including VPN routing Linux virtualization, vmware, xen, hosting, and squeezing the most out of your resources Bandwidth Limiting HOWTO with linux, tc and iproute2 Exim, MySQL, Courier IMAP, Courier POP3 & Spamassassin - vdomain and vuser set up. Custom linux router, routing, split access and more.. |
Draw Amazing Graphics & Backgrounds Online with Escape MotionIn case if your want to make amazing backgrounds using light, fire, neon etc then here are few tools for you to do that. For example the picture on the right was made using the flame tool by escape motion. [...] Continue Reading : Draw Amazing Graphics & Backgrounds Online with Escape Motion. © [...] Related posts:Create Amazing Looking Graphics for your Band, Clan, Creed, Modern Art Amazing Software with Artificial Intelligence – Design, Draw the Impossible Convert Your Photos into Amazing Looking Paintings Online Posted on 13 March 2010 | 6:57 am A surprising lack: milter clientsA surprising lack: milter clients There's a lot of anti-spam programs and systems, so I'm generally accustomed to being able to find a package to do pretty much any anti-spam job that I want to get done. Which is why I'm all the more surprised that it seems to be impossible to find milter clients or client libraries. The milter protocol started out as a Sendmail specific interface, but today they've become essentially the generic way to connect MTAs with various anti-spam filters and services. You can get milter server implementations for lots of languages, including Perl, Python, and Ruby, and people happily write milters in all of them; what you can't seem to get is the other side, the MTA client side, something that will let you talk to milter filters. On the surface, this sounds like a strange thing to want. But as I mentioned, the milter interface has become the generic way to talk to spam-filtering services and there are a number of times when you want to check messages without having to shove them through an MTA; for example, if you have a webmail system it might be nice to be able to run anti-spam checks on a message when a user hits the 'send mail' button and then take specific action within your web application if alarms go off (especially these days). Also, not all MTAs have built-in milter support but almost every MTA can run external programs during message submission, and writing an external program that just talks to a milter is much simpler (and more maintainable) than hacking milter support into the MTA directly. Well, it would be simpler if there were milter clients or client libraries, especially for scripting languages like Perl, Python, or Ruby. (As it is, I have a low priority project of someday going through the milter protocol (via pmilter), and probably the Python milter stuff, to write a milter client module in Python. Then I can write something to connect Exim's content scanning to milter filters.) (PS: I'm aware that there is a 2006 patch to add milter support to Exim. Sadly, it doesn't seem to have gone anywhere since 2006, and I can't even find a way to get the source code any more.) Posted on 13 March 2010 | 6:49 am Watch Out for Softpedia’s Free Cool Gifts!Most of the cool software that we have for Windows comes with a big price tag! But... as a marketing strategy, some of them offer these products for free! Related Posts TechHamlet Forums :Latest Forum Topics (9th of March 2010) TechHamlet Forums :Latest Forum Topics (25th of February 2010) Hacker’s Fun : Cool YouTube Videos What is Your Favorite Linux Disc Burner? Stand a Chance to Win a Free BitDefender Anti Virus Subscription or A Copy of 31 Days to Build a Better Blog Posted on 13 March 2010 | 5:39 am IE Tab 2 Embed Internet Explorer Extension for FirefoxIE Tab is popular extension for Firefox that could be used to embed internet Explorer into Firefox. This extension helps the Firefox to opening the compatible websites withing Firefox. you don't need to switch to internet explorer. Web developer need to see the verification of opening the websites in internet explorer for bugs. Posted on 13 March 2010 | 2:53 am Multiple Photo Resizer BatchBlitzMight be You use many photoeditor for resized the individual pictures. There is very hard for web developer and blogger to customize each picture again and again. Photo Rezier is easy and better choice for rezied multiple photos. SunlitGreen BatchBlitz is a free, powerful and easy-to-use photo categorize, file filter and batch editor. Posted on 13 March 2010 | 2:36 am LXC: IPv6? Yes!Following up to yesterday's post on LXC: Linux Containers, I had a quick play with 2 ULA subnets (aka RFC4193 addresses - dont forget that site-local was depreciated) - one subnet was dedicated to the LXC containers, one for my normal LAN. Perhaps unsurprisingly IPv6 appears to work perfectly well in this setup. I also altered the setup and bridged a container directly to eth0 on the host node, and watched the container assign itself a stateless address based on my prefix, and again everything appeared to work perfectly well out onto the public v6 network (courtesy of Hurricane Electric's Tunnel Broker service). So all in all I'd say that LXC is looking pretty good so far. There are a few other things I'd like to test, like how effective iptables are in the context of containers, and whether or not it is secure enough. Unfortunately I'm not going to have time to play with these things this weekend really. Answers on a postcard to the usual address if you already know though! Posted on 13 March 2010 | 12:16 am gThumb Finally Gets Flickr Support (Latest Build Is Available In The WebUpd8 PPA)
Posted on 12 March 2010 | 10:34 pm Shotwell 0.5 (Gnome Photo Manager) Has Been Released
Posted on 12 March 2010 | 8:40 pm Python Migration Utility for xend Virtual Machines to XCPA new python based migration utility for migrating your xend virtual machines to XCP is now available at: http://www.xen.org/products/cloud_projects.html It can generate XVAs from your xend based HVM and paravirtualised virtual machines. It can also steam your VM directly to a XenServer/XCP host over HTTP or HTTPS. Please read the README for pointers and guidelines on how to [...] Posted on 12 March 2010 | 6:49 pm SeeSaw TV trials get rave reviewsInitial feedback on the beta tests of the SeeSaw TV-on-demand platform has been largely positive. The service offers content from BBC Worldwide, Channel 4 and Five for free, though nothing from ITV at the moment. The site began sending out invites for its beta test at the end of January. “The streaming quality is better than Sky Player with no buffering problems so far,” said one tester writing on the Digital Spy forums. Posted on 12 March 2010 | 6:24 pm Xen Cloud Platform (XCP) Repositories Available on xen-unstableFrom Vincent Hanquez on xen-devel: I’m please to announce the availability of repositories [1,2] for the xen cloud platform tools [3] on xen-unstable. The goal of these repositories is to make compilation of the XCP platform toolstack: “easier” than in the current form. available with bleeding edge xen (and also libxenlight). integrate with any distributions (potentially creating debian/redhat/etc packages) Dependencies you [...] Posted on 12 March 2010 | 6:04 pm X2go - Open source terminal server project (alternative to FreeNX)x2go is an open source terminal server project offering a comprehensive “server based computing” solution. Combining the advantages of existing systems it features ease of use, ...Full Article Posted on 12 March 2010 | 3:18 pm Ubuntu as project in Google Summer of Code 2010I’m very excited to announce that Ubuntu has applied as participating organisation in the Google Summer of Code 2010! We submitted an organisational application, along with suggested ideas for potential projects for students. We also encourage students to come up with their own ideas. If you’re a student interested in Open Source (or if you know students who are), now is the ...Full Article Posted on 12 March 2010 | 12:40 pm Perfect Home Page for your Browser FAV4 or FastDial ?Ever thought what a perfect browser homepage would look like ? FAV4 has gained a lot of popularity, for its unique feature providing 4 quick links to your most needed sites. [...] Continue Reading : Perfect Home Page for your Browser FAV4 or FastDial ?. © Debajyoti Das for Snaphow.Com Blog. | Permalink | Post Comment [...] Related posts:Check What Most of your Site Visitors See with Google Browser Size How to Stop Loading Images / Pictures in your Browser ? Take Full Page Screenshots of Blogs & Websites or URLs Posted on 12 March 2010 | 3:30 am BT’s super-fast products criticizedBT’s download limits for its new fibre-optic broadband services have drawn fire from consumers. Visitors to the Webuser.co.uk site were unimpressed with the 20GB permonth limit on Option 1 of BT’s Infinity broadband package, which offers download speeds of up to 40Mbps and upload speeds of 2Mbps. “They offer amazing speed and then restrict how much you can use it. I wonder what happens if you go over the 20GB. Does it cut you off, slow you to a dial-up speed or put a penalty fee on your next bill?” wrote one visitor to Webuser.co.uk. Option 1 costs £19.99 per month on an 18-month contract, with a £50 set-up fee. There is no set-up fee for Option 2, which costs £24.99 per month, offers the same download speeds with upload speeds of up to 10Mbps and comes with no download limit, though a fair-usage agreement does apply. BT Infinity products are currently only available in areas where BT has deployed fibre-optic technology. Find out whether you can get the service by using a postcode checker on BT’s site. www.bt.com/infinity Posted on 11 March 2010 | 6:20 pm Laptop charges only when it’s offI came across a new problem, and this time the subject was a laptop. My mission was to repair an ACER Travelmate 2200 laptop that wouldn’t charge and run on AC power. It would run fine on battery, but when you plug in the AC adapter, it does nothing. It keeps running on battery power. The problem gets weird when you [...] Posted on 11 March 2010 | 11:02 am Twitter have Finally Added Some Security to its LinksRecently, we warned all the Twitter users about the new scams which were about to hit them : All Twitter Users Be-Aware! Your Account Might be Hacked!. These scams have done a lot of damage to most of the Twitter users! So, to prevent these kinds of attacks, Twitter have introduced a new link scanning strategy! Related Posts All Twitter Users Be-Aware! Your Account Might be Hacked! Twitter : How Many Unfaithful People are You Following? TechHamlet Forums :Latest Forum Topics (25th of February 2010) Facebook to Twitter TechHamlet Forums :Latest Forum Topics (9th of March 2010) Posted on 11 March 2010 | 10:24 am Force download files using phpHello guys here is a simple yet powerful script that allows you guys to force the users download some files with the dialog box Do you want to open or save the file, just copy paste the script below. <?php header(”Content-type:application/octect-stream”); header(’Content-Disposition: attachment; filename=Test_Download_For_’ . date(’Y-m-d’) . ‘.txt’); print “This is the file you downloaded, Its easy rgt [...] Related posts:“Header already sent” in php error and other use of Header function in PHPHow to get your deleted files back using google desktop?Simple Calendar Script Using Javascript Posted on 10 March 2010 | 8:28 pm Password protect pages using javascriptHello guys here is a simple code on how to password protect a webpage using javascript.This is not a good idea coz it is not at all secure.But simply just like that a webpage which is protected using simple javascript is fun. <script type=“text/javascript”> function passWord() { var testV = 1; var pass1 = prompt(’Please Enter Your [...] Related posts:Check password strength using javascriptDOM elements dynamically using our JAVASCRIPTWords Validation with Javascript Posted on 10 March 2010 | 6:54 pm Austin Texas - Linux Against Poverty 2010It's spring time in Texas. Posted on 10 March 2010 | 1:17 pm Google - the Evil Empire?According to this video, which portrays Google as being an evil empire, Google serves over 1 billion search results daily from over 450,000 servers, is valued at $200 billion, and has the motto "Do no evil". The video does a good job at shedding light on Google's reach into almost everything. As evil as Google may be, they sure have created some amazing tools and opened up a lot of doors for small business around the world by connecting them with customers through Adsense and search results. What may be unsettling though, is Google's CEO saying, "If you have something that you don't want anyone to know, maybe you shouldn't be doing it in the first place" (See second video). Even though he's right, because of the Patriot Act, Google is legally bound to provide the government with information on their servers. That's probably the real source of the evil if there is any. Posted on 9 March 2010 | 5:29 pm Fedora 13 Alpha Now Available, What are the features??
Posted on 9 March 2010 | 5:10 pm How to Monitor Process on Linux using pidstatThe pidstat command is used for monitoring individual tasks currently being managed by the Linux kernel. It writes to standard output activities for every task selected with option -p or for every task managed by the Linux kernel if option -p ALL has been used. Not selecting any tasks is equivalent to specifying -p ALL but only active tasks (tasks with non-zero statistics values) will appear in Posted on 9 March 2010 | 5:19 am Links/Online Guides/Forums for top Linux Distro'sHere is a huge list of Links/Online Guides/Forums for Linux, These are mainly Official Links which you can find on the respective site========================================== General Linux Guides/LinksThe Linux Documentation Project : – The Linux Documentation Project How-To : – Index of /pub/Linux/docs/HOWTO/other-formats/html Easy Linux : – Main Page - HowtoForge : – HowtoForge – Linux Posted on 8 March 2010 | 5:22 am Virtual Consoles / Terminals in Ubuntu / Debian LinuxIf you have not configured Ubuntu /Debian automatically start a graphical environment during startup. If you want to kill a process from a hanged graphical environment, you need to open a virtual console or virtual terminal. Posted on 7 March 2010 | 5:10 pm Change Ubuntu Login ScreenOne of the joys of using Ubuntu is the ability to easily customize even the most obscure features of the operating system and the login screen included with the default GDM theme is no exception. As with most light Linux tweaks, this one is quite straight-forward. There is a utility included with Ubuntu that allows quick [...] Posted on 7 March 2010 | 2:12 pm The battle of the browsers, part 2Not too long ago I wrote a post about the most popular operating systems and browsers on the Internet (read here). I quoted statistics from the w3schools Web site, which gave Firefox the number one spot among all browsers. They collected data for over 5 years and came to this conclusion. Internet Explorer (6, 7 and [...] Posted on 7 March 2010 | 3:24 am Collapsible Menu with jQueryTo begin with we need to make a menu, which I've just done a quick temporary 5 items in mine using the HTML lists tags. <pre class="brush:plain;"><menutitle>Main</menutitle> <ul id="menu"> <li><a href="#">Item 1</a></li> <li><a href="#">Item 2</a></li> <li><a href="#">Item 3</a></li> <li><a href="#">Item 4</a></li> <li><a href="#">Item 5</a></li> </ul></pre> Then in the header of your page, you will need to call your jQuery file. <pre class="brush:plain;"><script type="text/javascript" src="jquery.js"></script></pre> Now beneath the line where you're calling your jQuery from, you will need to write some more JavaScript to tell the document to run the later bit of code when the document has loaded. <pre class="brush:jscript;"><script type="text/javascript"> $(document).ready(function(){ }); </script></pre> Now the document is ready for your jQuery code, we need to tell it that when the "title" bit of the menu (which we've tagged as <menutitle>) is clicked, it should slide it closed. <pre class="brush:jscript;"><script type="text/javascript"> $(document).ready(function(){ $("menutitle").click(function () { $("#menu").slideToggle("slow"); }); }); </script></pre> The above code will toggle the sliding action of anything we've put <em>id="menu"</em> on, which is why we've put it on the <ul> bit. Now with everything put together and saved, you should have a menu that toggles closed and open when you press the top bit, which in my example is "Main" <strong>Please Note</strong><br />Please note though, that this is just an example of doing a menu that can open and close. You can use a cookie to saved if you've closed the menu so that when you refresh the page it stays closed or you can style the menu nicely with CSS. You can also use this method for anything if you wanted from showing and hiding an image, paragraphs, forms, buttons, flash applications, etc... You can get hold of the latest copy of jQuery from the <a href="http://jquery.com/" title="jQuery: The Write Less, Do More, JavaScript Library">jQuery website</a>. Posted on 6 March 2010 | 11:44 pm Setting up nginx as reverse proxy on Linux Centos 5.2 (and Plesk 9)Following my blog article on optimizing your web server by using nginx and memcached, I'll now detail the first step: setting up nginx as reverse proxy on your server. This is going to be a bit tricky, and you'll be getting your hands dirty, so be warned. Posted on 6 March 2010 | 7:53 am Comment on XCP Tutorial – Building a HVM Guest using Command Lines by Xen.org Weekly Newsletter Vol 10 No 9 – blog.xen.org[...] Tutorial – Building a HVM Guest from Command Line Interface – Memory Issues with new VMs – Installing a VM Operating System from [...] Posted on 5 March 2010 | 5:49 pm Comment on Xen Mascot Contest – Current Voting Results by Xen.org Weekly Newsletter Vol 10 No 9 – blog.xen.org[...] Mascot Contest – Three finalists [...] Posted on 5 March 2010 | 5:48 pm Storing trees in databasesA tree is a graph which is connected, uni-directed and acyclic. Lets look at different options of storing such trees in databases. Parent - Child Model The most common model for storing hierarchical information is storing the reference of the parent node along with the child node. so for a tree EmployeeBosssalary ANULL1000 BA900 CA950 DC800 EC700 FC600 For this model, the table to be Posted on 5 March 2010 | 9:18 am Using the Hama MCE remote on Linux with MPlayerThis blog post describes how to control your MPlayer media playback using the Hama MCE remote control on Linux. The instructions and software were tested on Ubuntu Jaunty, but they should work on any Linux 2.6 system which has sysfs mounted and which has USB HID support compiled to the kernel (can be checked with ls -l /sys/bus/usb/drivers/usbhid). The Hama MCE dongle, when connected to the USB port of a Linux machine, registers itself as two USB HID devices: a keyboard and a mouse. Most of its buttons generate regular keyboard events, for example, the numeric keys correspond to numpad keys, and its Enter key corresponds to the Enter key. You can use its mouse controls to move the mouse or click (the left and right buttons). On Ubuntu Jaunty, even the volume buttons work (they adjust the master volume). However, if you don't want to use your Hama MCE remote as a regular keyboard or mouse, but you'd like to control MPlayer (and possibly some few other applications you specify) with it, then you need special software. LIRC, the de facto standard remote control driver and server does support USB HID devices in general, but the Hama MCE sends some quite unusual events which LIRC seems to be impossible to make recognize. (For example, the hashmark button sends Shift, 3 and 5, and some other buttons send Shift or Control too, and LIRC doesn't seem to be able to track the Shift and Control state, which would be needed to distinguish some buttons from each other.) So I've implemented my own lircd, hama_mce_lircd.py, which can read button presses and other events from the Hama MCE remote, and it can broadcast them to applications via the socket /dev/lircd, using the traditional lircd protocol. The link above contains installation, usage and configuration instructions for controlling MPlayer with Hama MCE, using hama_mce_lircd.py. Each button works and can be bound to any MPlayer input.conf command, with the following limitations (of the dongle hardware):the ok and enter buttons are the same;the play and pause buttons are the same;the right click and the info buttons are the same;most buttons don't repeat when held down for a long time. An alternative and more generic Python Linux event reading and mangling library with Hama MCE support is available at http://github.com/rmt/pyinputevent/. Posted on 5 March 2010 | 8:26 am We have a Review Writer WinnerWell as promised we give away 1 year of free (bought item) downloads to one person per month who writes a review in the Joomla! extention system. As we don’t get 5 reviews per month, (Yet) we just picked one for the month of january. And the winner is…….. Erik of the company Digitivity Have fun downloading Erik ! Well…. [...] Posted on 5 March 2010 | 6:53 am New version of Calculator Plus ModuleYesterday i published a new version of my Calculator Plus Module for Joomla! 1.5 and it has everything in it what you need. It’s got : MS M+ M- MR MC, EXP, SQR plus minus divide times clear decimals plus/minus So.. basicly everything. This module is usage free. You can see the demo here. You can download the module here. Posted on 5 March 2010 | 6:00 am Linux Learning Centers Growing in Central Texas
Posted on 4 March 2010 | 3:20 pm Microsoft Security Advisory --- F1 Key on WebA friend of mine from Japan emailed me this interesting article and thought I would share it. Posted on 3 March 2010 | 11:37 am Options available for heating waterThe simplest and easiest way is to get a big utensil and fill it up with water and heat it on the stove. Remember to cover it up, and it gets hot faster. Another option that we used when we were living as tenants was an electric rod. It costs between 200 to 500 INR and depending upon the wattage heats up water fast - a Posted on 28 February 2010 | 1:39 pm Import and Enable the NFS ServiceLast week we had a little issue with mounting directories from a new Solaris 10 server. It was noted the nfs service was not running on it. We had to import and then enable the service. After that, we were able to mount the required directories from the server. Posted on 28 February 2010 | 6:16 am Error compiling cairommWhile compiling cairomm i got this error: Posted on 26 February 2010 | 5:16 pm Badly formed XML, there is no tagUsing glade-3 i got with this error/warning: Posted on 26 February 2010 | 4:50 pm Accessing a Data Source Remotely in FMW 11g (11.1.1.2.0) from JDeveloper 11g (11.1.1.2.0)I needed to access a data source remotely on FMW 11g server from JDeveloper 11g. I found that to do this I needed to follow these steps. Posted on 24 February 2010 | 11:09 pm UDP Tunneling to avoid hotspot or firewall restrictionsUDP tunneling is an attack that is often overlooked when manufacturers design wireless hotspot and other firewall/proxy based devices. When you try and resolve a domain name, you make a request to a name server on UDP port 53. The way that a lot of wireless hotspot, firewalls and proxies work, is that your DNS request [...] Posted on 24 February 2010 | 10:16 pm Getting detailed logging for Universal Connection Pool (UCP) / Fast Connection Failover (FCF) TestingWhile testing UCP/FCF I was having some issues with the RAC cluster setup. One useful way to determine exactly what is happening or not happening from the FAN events sent from RAC cluster to the pool was to setup logging as described below. Posted on 24 February 2010 | 3:10 am Atherstone Ball Game 2010<div style="float: left; padding: 4px;"><object width="425" height="344"> <param name="movie" value="http://www.youtube.com/v/an2rGMwffNw&hl=en_GB&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6"></param> <param name="allowFullScreen" value="true"></param> <param name="allowscriptaccess" value="always"></param> <embed src="http://www.youtube.com/v/an2rGMwffNw&hl=en_GB&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed> </object></div>Shrove Tuesday in Atherstone saw another game of the yearly Atherstone Ball Game. Roughly 901 years old now, this game begins with large crowds gathering in the main street (Long St) and await the huge ball to be thrown out of Barclay's Bank window. Once it's thrown out the people in the street boot the ball up and down the street for about an hour and a half, then once that time is up the mayhem erupts and everyone goes for the ball to see who has it when the claxon goes at 5pm. The game does involve violence, so if you're tempted to get the ball around 4.50pm then you more than likely will be punched, kicked or thrown everywhere... that's just how the game is. Anyways, this years winner was Mark Rollinson (I think I've spelt his name correctly). » <a href="http://en.wikipedia.org/wiki/Atherstone#Shrovetide_Ball_Game" target="_blank">WikiPedia :: Atherstone Ball Game</a> Posted on 22 February 2010 | 1:14 pm Long Time no post!Work, Work, Work! School, School, School! No time to write on my blog but it is nice to see that Failserver has grown ! THANK YOU ALL! Posted on 20 February 2010 | 5:20 pm Debian InstallerA Slight Flaw with the Debian Installer A few weeks ago, I noticed some really good e-Bay deals on used, Opteron-based servers. I mean, they were going for less money than I had to pay for old Pentium III-based servers just three years ago. So, I decided that maybe it was time to upgrade. Three [...] Posted on 20 February 2010 | 1:17 pm How to try the GDM login screen in many resolutionsThis blog post explains how to try the GDM login screen and make screen shots in any, user-specified screen resolution. This can be useful when designing GDM themes. The instructions were tried on Ubuntu Hardy (8.04), but they should work on Ubuntu Intrepid (8.10) and Ubuntu Jaunty (9.04). They won't work on Ubuntu Karmic, because it contains a custom GDM.Installation instructions:(When asked to run a command, run it in a terminal window.)Make sure GDM is your display manager. Since GDM is the default, chances are that it is. To make sure, run sudo dpkg-reconfigure gdm, and select GDM if it asks you.Log in using GDM if you haven't already done so. To do that, run sudo /etc/init.d/gdm restart . (You will lose your X11 session doing so.)Install Xephyr, a modern nested (embedded) X server, similar to Xnest: sudo apt-get install xserver-xephyrInstall ImageMagick for making screen shots in various image file formats: sudo apt-get install imagemagickTry Xephyr: Xephyr :9 -screen 800x600 -extension RANDR . A new window should appear with the usual a black-and-white diagonal background and a diagonal cross-shaped cursor. Abort Xephyr in the terminal window. Try with different -screen sizes.Find your GDM Xnest command line by running grep ^Xnest= /etc/gdm/gdm.conf . You should see something like Xnest=/usr/share/gdm/gdmXnestWrapper -br -audit 0.Create a new xnest wrapper script:echo '#!/bin/sh Posted on 20 February 2010 | 10:26 am Cisco GRE example setupHosts from LAN1 should be able to access hosts at LAN2 and vice-versa through GRE tunnel between R1 and R2. ISP doesn’t care what networks are behind R1 and R2 so the only way to establish connection between LAN1 and LAN2 is to use VPN, in this example we use GRE. GRE setup example topology R1’s startup-config [...] Posted on 18 February 2010 | 3:06 pm KDE 4.4 is ready for MandrivaRun one of these to add KDE-4.4.0 repo (depending on your OS of course): Posted on 17 February 2010 | 7:29 am D&D on Microsoft SurfaceThis is cool. CNET has an article up, with video, of Dungeons and Dragons being played on the Microsoft Surface. Now, I've never actually played D&D, mostly because all the tables and math and line of sight scares the crap out of me. But if I ever got the chance to play on a Surface, I'd definitely go for it, because the computer handles all the boring crap for you. Considering that Surface costs over $12000 dollars, I doubt I'll ever get the chance to play on it, but if costs come down on similar units in the future, your kids just might be playing D&D on a device similar to it in the future.... of course, that future might be a long ways away if you play D&D :) Here's the video.
If you want to read the CNET article, click here. Posted on 12 February 2010 | 2:17 am Full NAT, DNAT and SNAT aka 1:1 NAT, 1 to 1 NATFull NAT, DNAT and SNAT aka 1:1 NAT, 1 to 1 NAT – this is used when you want to map a dedicated external IP on an external interface to another IP on a separate interface with everything routed between them. EXTERNAL_IP=”87.117.XXX.XXX” EXTERNAL_IF=”eth1″ INTERNAL_IP=”192.168.1.105″ INTERNAL_IF=”eth0″ echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A PREROUTING -i ${EXTERNAL_IF} -d ${EXTERNAL_IP} -j DNAT –to-destination [...] Posted on 10 February 2010 | 3:29 pm Bash - find diff based on a fieldInput files: Posted on 10 February 2010 | 10:34 am Unix - delete file with hyphen at beginningAccidentally one of my script created a file named '-1264924755.done' (i.e. filename starting with a hyphen). Posted on 31 January 2010 | 8:15 am Helping Haiti: With Crystal of the International Medical Corps…It has been in the recent news the devastating twin earthquakes that mostly flattened Haiti. While the rest of the world stared with horror and shock many people has lost their home, their family, their near and dear ones in a few minutes of nature’s whims. Help poured in from all quarters and my friends [...] Posted on 25 January 2010 | 2:17 pm originalip option in dansguardianI upgraded my firewall on Mandriva 2009.1 to 2010 and got into problem with dansguardian. Client computers got DansGuardian 400 - Bad Request , url is malformed for certain sites such as google and facebook. I suspected it must be related to new option introduced by newly installed dansguardian (2.10.1.1). In changelog, I got this: Posted on 22 January 2010 | 3:19 am Extract Audio (.mp3) from Video Files Like .flv, .mov, .avi and Others with UbuntuIt is very easy to extract the audio track from video files using Linux. All you need is ffmpeg and some codecs. Let’s get started… Note: The commands below are for Ubuntu (or Debian derivatives) but you can do the same with any other Linux distribution provided you can install the necessary packages. 1. Add the Medibuntu’s repository [...] Posted on 20 January 2010 | 8:49 pm Domain management on mobileIt was pure delight to find out that GoDaddy — arguably the #1 domain registrar in the world — has an app for the iPhone / iPod touch. According to the App Store, it was posted late last year. Sometimes I get an inspiration for a domain name, and it’s now so much easier and [...] Posted on 12 January 2010 | 3:05 pm My Apostille Woes and Shashi Tharoor…My book was published this July and I got my first royalty statement soon after. My contract with Galileo Press was executed in the US and hence this required me to apply for a TIN to get the actual payment as well as claim tax exemption from the Indian Government. The process, it seemed, was [...] Posted on 8 January 2010 | 7:54 am How to Resume Partial File TransfersI work primarily with UNIX and Linux machines and scp is my main choice to transfer files with. It is both convenient, short and secure. Example: scp localfile user@remotecomputer:/path/to/target/dir Recently I was transferring an 8GB file and due to a network issue, the transfer was interrupted at nearly 40%. I found a solution at joen.dk ,which uses rsync to [...] Posted on 8 January 2010 | 5:03 am FAQ: How to install manual pages in Solaris?In order to use install man pages for various commands in Solaris it is necessary to get two packages: SUNWman and SUNWdoc. You can check if they are already installed using commands ‘pkginfo SUNWdoc' and 'pkginfo SUNWman', or just try ‘man man‘. If they are not present in your system you can install them from [...] Posted on 25 December 2009 | 12:47 pm Banking with Facebook - Probably not the best idea ever
Mike Bailey at Skeptikal.org wrote up last week about a new Facebook app called MyMoney. MyMoney is an application that according to its creators allows you to: Manage your finances right from your Facebook profile, simply and securely! MyMoney is an online home banking application that interacts with a variety of financial institutions, so you can view your account balances, transfer money between accounts, review histories, and much more. Sounds kind of cool? Hold your horses. In a post dripping with sarcasm (letting you know in case your detector is a bit off) he says: I know you're thinking this is a bad idea, and are concerned about MyMoney's security. Don't worry, I checked it out. They have "multiple layers of security protecting...data and accounts." The application iframes you into their site (hosted on https://mm.galaxyplus.com). If you forget the URL, they left zone transfers enabled for you, so you can just select from a list of galaxyplus.com subdomains. The iframe's URL has a parameter called "fb_sig_user." If you manipulate this parameter, you get to see the contents of all your friends' accounts (presumably so you can borrow money without all that awkward asking). The only thing I don't like about this application is that they left error reporting on. I don't like seeing those ugly ASP stack traces every time I use an HTML tag as a form parameter. Lol! Note to readers: online banking should be done in a virtual machine if at all possible, and that is all that you should do with VM, nothing else. If that is too much of a hassle, at least download and install a browser like Firefox or Chrome and use that browser exclusively for your banking. If you'd like to read the entire (hilarious) post, click here.
Posted on 11 December 2009 | 4:13 am Start and Stop Tomcat from within the Eclipse IDEStarting and stopping Tomcat from within the Eclipse IDE, once set up, can speed up your Java Web Application development time because you won't have the extra step of opening the terminal to start and stop Tomcat. The following instructions assume you have Eclipse installed and Tomcat installed. Posted on 15 November 2009 | 8:20 pm Introduction to Computer Vision with the OpenCV Library on LinuxAuthor: Lubos Rendek Abstract The purpose of this document is to help a reader to get started with Computer Vision library OpenCV on Linux system. OpencCV is a multi-platform library, but this article will be focused only on OpenCV using Linux operating system ( although, just the installation of the OpenCV library and video camera is platform-specific, all examples in this article should compile on any platform where OpenCV is properly installed such as Mac OS, MS Windows and etc.). Reader will be guided through a step-by-step guide on how to install and use some of the basic functions of OpenCV library such as displaying images, playing a video or using a video camera to process a video input stream.Conventions used in this article: $ - execution on the command line by a non-privileged user # - execution on the command line by a superuser the actual command to be executed on the command line or code of program to be compiledOUTPUT: output produced on the command line by command execution NOTE: general notes and additional information Introduction In simple words a Computer Vision is a scientific field which attempts to provide a sight to the machine. This scientific field has expanded rapidly in recent years. Among researchers this growth is because of many improvements of vision algorithms and among the computer vision hobbyists this is due to the cheaper hardware components and processing power. OpenCV library plays a great role in the Computer Vision field as it helps greatly to reduce cost and preparation time of computer vision research environment needed by university students, hobbyists and professionals. OpenCV also provides a simple to use functions to get the work done in a simple, effective and elegant manner. OpenCV was started by Intel, and later it was transformed to an open source project now available on SourceForge.net. OpenCV library has multi-platform availability, and it is partially written in C++ and C language. Despite the fact that this library is available on many Linux distributions from its relevant package repositories, in this article we will attempt to install and use OpenCV library compiled from a source code downloaded from SourceForge.net web site. The reasons for compiling a source code may include: new version 2.0.0 recently released and more features available some bugs fixed which affected Linux OpenCV 1.0.0 versions ( such as cvGetCaptureProperty() etc. ) more support is available for OpenCV 2.0.0 version than for former 1.0.0 version This article will start with installation of OpenCV on Debian 5.0 ( Lenny ). Later a reader will be guided through a number of examples on how to use OpenCV to display an image, play a video and use camera to capture the video input stream. Posted on 10 November 2009 | 10:58 pm Traveling with my Globe T@ttooI’ve been traveling around Mindanao these past few months and, to keep myself connected to the Internet I’ve been bringing along my Globe Tattoo broadband device. No matter where I am, and even if I’m on vacation, I can’t imagine not being able to connect to my email, social networking services, etc., so I don’t [...] Posted on 27 October 2009 | 12:36 pm Setting up and using memcached & memcache on Linux CentOS 5/Plesk 9The second part of my tutorial on optimizing your server for hosting high traffic websites: installing and configuring memcached and the memcache php extension for your server. This is a little easier than the first step (setting up nginx as reverse proxy, see article below) and can be applied to any kind of dynamic website. Posted on 30 September 2009 | 8:03 am Strategie-online.nl – Online StrategieHet laatste nieuws op Online Strategisch gebied! Het hebben van een online strategie is tegenwoordig een veel gebruikte marketing term, maar wat houdt het nu in? Geinteresseerd in het laatste nieuws op Online Strategisch gebied? Wat is online strategie? Neem even een kijkje op www.stategie-online.nl of check de MaxServ Twitter http://www.strategie-online.nl Posted on 28 September 2009 | 2:27 pm C++ : Understanding pointersAuthor: Lubos Rendek Date: 10.09.2009 Update: 04.03.2010 - Section 7.2 created clarify relation between Pointers and Arrays in C++ IntroductionThis article is intended to all programing enthusiasts on all levels who do wish to understand pointers in C++ language. All code presented here is not a compiler specific and all examples will be written in plain ANSI C++. Debate about pointers can stretch for miles, and you would need to go really far to master it all. If you really want to run that far, this article gives you a clear understanding of fundamental concepts about pointers and prepares you for that journey. However, those who are new to C++ programming make sure that you are able to write and run your own C++ “hello world” program, and also it is recommended that you have a basic understanding of C++ functions and classes. If you need to refresh your knowledge about how to compile and run C++ program, use functions and classes, please read an appendix at the end of this document before you continue reading this article. What is a Pointer?Pointer is a variable that stores a memory address. OK, that is simple ! But, what is a memory address then? Every variable is located under unique location within a computer's memory and this unique location has its own unique address, the memory address. Normally, variables hold values such as 5 or “hello” and these values are stored under specific location within computer memory. However, pointer is a different beast, because it holds the memory address as its value and has an ability to “point” ( hence pointer ) to certain value within a memory, by use of its associated memory address. Retrieving a Variable's Memory AddressOK, enough talking and let's get down to the pointer business. To retrieve a variable's memory address, we need to use address-of operator &. #include <iostream>int main() { using namespace std; // Declare an integer variable and initialize it with 99 unsigned short int myInt = 99; // Print out value of myInt cout << myInt << endl; // Use address-of operator & to print out // a memory address of myInt cout << &myInt << endl; return 0; } OUTPUT: 990xbff26312 The first line of the output contains an integer value 99 and on the second line, there is a memory address of myInt printed out. Please note that your output will be different. Assigning a Variable's Memory Address to a Pointer Before we can assign a memory address to a pointer, we need to declare one. Declaring a pointer in C++ is as simple as to declare any other variable with one single difference. Asterix symbol " * " needs to be add and located after variable type and before a variable name. One rule has to be followed when assigning memory address to a pointer: pointer type has to match with variable type it will point to. One exception is a pointer to void, which can handle different types of variables it will point to. To declare a pointer pMark of type unsigned short int a following syntax is to be used: #include <iostream>int main() { using namespace std; // Declare and initialize a pointer. unsigned short int * pPointer = 0; // Declare an integer variable and initialize it with 35698 unsigned short int twoInt = 35698; // Declare an integer variable and initialize it with 77 unsigned short int oneInt = 77; // Use address-of operator & to assign a memory address of twoInt to a pointer pPointer = &twoInt; // Pointer pPointer now holds a memory address of twoInt // Print out associated memory addresses and its values cout << "pPointer's memory address:\t\t" << &pPointer << endl; cout << "Integer's oneInt memory address:\t" << &oneInt << "\tInteger value:\t" << oneInt << endl; cout << "Integer's twoInt memory address:\t" << &twoInt << "\tInteger value:\t" << twoInt << endl; cout << "pPointer is pointing to memory address:\t" << pPointer << "\tInteger value:\t" << *pPointer << endl; return 0; } OUTPUT: pPointer's memory address: 0xbff43314Integer's oneInt memory address: 0xbff43318 Integer value: 77 Integer's twoInt memory address: 0xbff4331a Integer value: 35698 pPointer is pointing to memory address: 0xbff4331a Integer value: 35698 The diagram above is a high level visual abstraction of how are variables stored within a computer memory. Pointer pPointer starts at memory address 0xbff43314 and takes 4 bytes. Pointer pPointer holds as a value a memory address of a short int twoInt ( 2 bytes ) which is 0xbff4331a. This address is stored as a binary data within a pointer's memory space allocation. Therefore, dereferencing a pointer with a memory address 0xbff4331a will indirectly access a value of twoInt which is in this case a positive integer 36698. Posted on 9 September 2009 | 8:44 pm | |||