Posts with the category Ubuntu 12.04

iDS USB 2 uEye SE UI-1480SE CMOS Camera

Producer Link
Quick Specs: resolution: 2560 x 1920, sensor size: 1/2", pixel pitch: 2.2 µm, full res fps: 6

Detailed Specifications

I put the specs from the website on pastebin.com/cK0siJTR as well as the ones from the datasheet.

On Ubuntu 12.04

USB IDs and Device Identification

  • dmesg reveals: [ 156.864350] usb 2-6: new...

Read on

Interacting with MongoDB on the Command Line

Do some monitoring:

cat << EOF | mongo
db.stats();
db.serverStatus();
show dbs;
EOF

Show the last 10 entries in natural order:

cat << "EOF" | mongo
use your_db;
db.your_collection.find().sort({$natural:1}).limit(10);
EOF

Drop the database cube_development:

cat << EOF...

Read on

Change MySQL password on the terminal

Here is how change the root password of MySQL on Ubuntu or Debian:

/etc/init.d/mysql stop
mysqld_safe --skip-grant-tables
echo "use mysql; update user set password=PASSWORD('newpass') where User='root'; flush privileges;" | mysql -u root -p
## this doesn't work in 'skip-grant-tables' mode:
#echo "SET PASSWORD FOR 'root' = PASSWORD('newpass');" |...

Read on

ROOT CERN Mirror

As the ROOT website root.cern.ch is currently not reachable, I uploaded the latest source release (which I downloaded a couple of days ago from the ROOT site):

...

Read on

HP EliteBook 2530p

This blog post is about setting up a HP EliteBook 2530p for use with Ubuntu GNU/Linux 12.04 'precise'.

Hardware Information

Here are some details on the hardware of the 2530p:

Check Ubuntu Friendly for a report.

3G

The SIM slot is located behind the battery. When the...

Read on