Google Entices Job Searchers...
Wed, 09/15/2004 - 12:54 — sandipMysterious banners at a Cambridge, Mass., subway stop have commuters scratching their heads. The signs, challenging passers-by to solve a complicated math problem, are actually a cryptic pitch by Google, which is looking to hire more brainy engineers.
The message at Harvard Square also appears on a billboard in California's Silicon Valley, but Google's name is nowhere to be found on the ads. It simply states:
{first 10-digit prime found in consecutive digits of e}.com
In case you're wondering -- or forgot -- e is the base of the natural system of logarithms, having a numerical value of about 2.71828 (though the number goes on forever).
- sandip's blog
- Login or register to post comments
- Read more
AlternC Hosting Software
Wed, 09/08/2004 - 22:40 — sandipAlternC is a set of user-friendly automatic hosting software suite available in French, English, and Spanish. It features a PHP-based administration interface, shell and Perl scripts that manage server contents. It is easy to install and open-source software based on the Debian GNU/Linux system ('Woody' version), and requires other softwares such as Apache, Postfix, Mailman... It also contains a documented API, so you can customize your web panel quickly and easily.
- sandip's blog
- Login or register to post comments
Frequently used SCREEN reference commands
Sun, 09/05/2004 - 00:02 — sandip# open screen session screen # list screen sessions screen -ls # reattach to screen session screen -r <name of screen session> # attach to a not detached session screen -x <name of screen session> # detach from unattached session screen -d Note: ^A = Ctrl-a (Press the "a" key while holding down Control key) detach from screen session attached to ^A d # open another session ^A c list the screen windows ^A w # print screen and save a hardcopy ^A h # go to next window ^A n # go to previous window ^A p # lock screen ^A x
Linspire Desktop
Tue, 08/31/2004 - 11:55 — sandipInterstesting article about Linux - no longer for techies...
http://www.linuxplanet.com/lin
Also, recently NRP.org featured the ABCs of Linux mentioning Linspire on 8-27-04, Talk of the Nation .
http://www.npr.org/features/fe
Linspire, was originally named Lindows (Linux + Windows) and had Microsoft chasing them which eventually resulted in a name change.
- sandip's blog
- Login or register to post comments
Some frequently used MySQL commands for reference...
Mon, 08/30/2004 - 22:33 — sandip# Create User CREATE USER user [IDENTIFIED BY [PASSWORD] 'password']; # Create Database $ mysqladmin -u <username> -p create <nameOfDatabase> # Drop/Delete Database $ mysqladmin -u <username> -p drop <nameOfDatabase> # Check Process List $ mysqladmin -u root -p proc # Check Status at 5 seconds interval $ mysqladmin -u root -p -i 5 status # Dump Database $ mysqldump --opt -u <username> -h <hostname> <nameOfDatabase> -p > /path/to/file $ mysqldump --opt -u <username> -h <hostname> --all-databases -p > /path/to/file # Import Database $ mysql -h <host> -u <username> <nameOfDatabase> -p < /path/to/file GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON <dbname>.* TO <dbuser@localhost> [IDENTIFIED BY '<password>']; REVOKE ALL ON <dbname> FROM <dbuser@localhost>; CREATEDATABASE <dbname>; DROP DATABASE <dbname>; DROP TABLE <tablename1[, table2, table3...]>; # To activate new permissions FLUSH PRIVILEGES; USE <nameOfDatabase>; SHOW DATABASES; # show tables begining with the prefix SHOW TABLES LIKE 'prefix%'; SELECT * FROM <nameOfTable>; DESCRIBE <nameOfTable>; INSERT INTO <table> <username, password, name1, name2, ...> VALUES ('user', password('pass'), 'value1', 'value2' ...); CREATE TABLE <newtable> AS SELECT DISTINCT <field> FROM <oldtable>; INSERT INTO <database.table> SELECT * FROM <database.table> WHERE <field> = <value>; ALTER TABLE <tableOldName> RENAME <tableNewName>; UPDATE <tableName> SET <field1> = <newValue> [WHERE <field2> = <currentValue>];
Technical Reference eLibrary
Tue, 08/24/2004 - 22:24 — sandipCame across this great technical reference elibrary while doing some code searches on google.
Please share your findings...
- sandip's blog
- Login or register to post comments
How do I find the dynamically allocated IP address on a remote bridge ->Linux
Tue, 08/24/2004 - 16:02 — peterretiefI'm sure it's obvious to someone.
How to determine the application listening to a particular port
Sat, 08/21/2004 - 02:00 — sandipFor example, I run nmap and find that port 712 is open:
712/tcp open unknown
But it's easily identified:
# fuser 712/tcp 712/tcp: 2098 # ps -fp 2098 UID PID PPID C STIME TTY TIME CMD root 22098 8999 0 Aug18 ? 22:33 /usr/etc/customd # man -k customd custom (1M) - Custom daemon
- sandip's blog
- Login or register to post comments
Download images from Sony Cyber-shot DSC-F88 to Fedora Linux
Fri, 08/20/2004 - 15:03 — sandipHere is a tip/hint that could hopefully help others having some difficulty with cameras that support "PTP".
PTP is the acronym for the "Picture Transfer Protocol". That protocol has a strong standards basis, in ISO and in terms of the USB Still Imaging class specification. Many upcoming digital cameras should support it.
The vision is that there will be enough new PTP-enabled cameras that it'll be much easier for you to just use them. You won't need to install new software and deal with its quirks each time you borrow or buy a new camera. Instead, you will be able to acquire images (and other media objects), reprocess them, (cropping, turning them right side up, signing them, applying steganograpy or other image transforms, etc.) and share them (printing, web publishing, etc) using whatever tools you prefer.
Enough with the PTP jabber... and here is how:
1. Install gPhoto, a free ready to use set of digital camera software applications.
2. Plug in your camera which supports PTP via USB.
3. Change to PTP mode instead of normal usb data transfer.
4. Run the command, `gphoto2 --get-all-files` to download your images.
5. It's as easy as that !!
Installing Firefox Web Browser and some Essential Plugins for Linux...
Thu, 08/19/2004 - 10:09 — sandipHere are some notes on installing Firefox and plugins for Flash, Java and Mplayerplug-in:
Installing Firefox:
- Download the latest Firefox installer via http://www.mozilla.org/product
s/firefox/ - untar the archive, `tar -xvzf firefox-x.x.x-x-linux-gtk2+xft
-installer.tar.gz` - `cd firefox-installer`
- Login as root before doing the install, `su`
- Run the installer, `./firefox-installer`
- Change the destination install directory to be "/usr/lib/firefox"
- Create a Launcher on your desktop after installation.
Note: All of the .so plugin files go to the "/usr/lib/firefox/plugins" folder...