Wednesday, May 22, 2013

short crontab crib info sheet

Short crontab crib info sheet


55 down vote accepted
Put a shell script in one of these folders: /etc/cron.daily, /etc/cron.hourly, /etc/cron.monthly or /etc/cron.weekly.
If these are not enough for you you can add more specific tasks eg. twice a month or every 5 minutes or... go to the therminal and type:
crontab -e
this will open your personal crontab (cron configuration file), the first line in that file explains it all (don't you think)! In every line you can define one command to run, and the format is quite simple when you get the hang of it. So the structure is:
minute hour day-of-month mounth day-of-week command
For all the numbers you can use lists eg, 5,34,55 in the first field will mean run et 5 past 34 past and 55 past what ever hour is defined.
You can also use intervals, they are defined like this: */20 this example mens every 20th and is in the minutes this will be equivalent to 0,20,40
So to run a command every monday at 5:30 in efternoon will look like this:
30 17 * * 1 /path/to/command
or every 15 minutes
*/15 * * * * /path/to/command
Note that the day-of-week goes from 0-6 where 0 = sunday.
You can read more here.

https://help.ubuntu.com/community/CronHowto

Sunday, May 5, 2013

create a qml application in c++ on Ubuntu

http://forum.xda-developers.com/showthread.php?t=2265480

Installing and using vmware esxi esxicli

unzip the install goods

install perl-doc
install openssl (as asked)

export ftp_proxy=
export http_proxy=

run the install.

at the end of the installer you will get this crap, which can hopefully be ignored. 

This installer has successfully installed both vSphere CLI and the vSphere SDK
for Perl.

The following Perl modules were found on the system but may be too old to work
with vSphere CLI:

Compress::Zlib 2.037 or newer
Compress::Raw::Zlib 2.037 or newer
version 0.78 or newer
IO::Compress::Base 2.037 or newer
IO::Compress::Zlib::Constants 2.037 or newer
UUID 0.03 or newer




possible Rave sighting in the wild (Air Berlin, ORD-DUS flight)


Jon Sisk posted a photo of the IFE boxes at his seat on an Air Berlin flight today.


Here is a graphic from the Rave page @ IMS's web site
here is a flyer to download
RAVE_Data_Sheet.pdf





I worked on code is in the System Control Unit on the second page. If one turned the reading light  Rave, it went thru code in the SCU.  The summonsing of the flight attendant,. the muting from the cabin audio came thru the inputs (ARINC-429) and outputs thru the SCU.

The SCU has a Core based SBC with a piggyback 800mhz Freescale ARM system, both running Linux.

Also all media load went from the SCU to the seats.  Software loads were via either the Crew Panel unit, or thru the SCU.

Saturday, May 4, 2013

water cooled pi

someone had to do it.

http://www.bit-tech.net/news/hardware/2013/05/01/water-cooled-raspberry-pi-computer-complete/1

Water-cooled Raspberry Pi computer completed

Water-cooled Raspberry Pi computer completed Phame's entry is just one of over a dozen to have been entered into our Raspberry Pi Case contest - voting starts in a few days.
Bit-tech modder Phame aka James Couzens has caused quite a stir in our forum with what we believe to be the world's first water-cooled Raspberry Pi.

Having been inspired by our recent Raspberry Pi case contest, James immediately hit on the idea to water-cool this tiny computer and proceeded to create his own water-cooling system for it, complete with miniature pump and waterblock.

The project was completed this week and his project log has notched up nearly 60,000 hits in our forum since it began in mid-February. It's one of over a dozen entries to the competition, which required modders to create their own case for the Raspberry Pi using any material and design.

The Raspberry Pi barely generates any heat, never mind enough to warrant water cooling. However, overkill is something many PC enthusiasts and modders take in their strides and often apply in generous measures.

It doesn't always have to involve obscene amounts of money. Just by doing something because you can, rather than because you should can often lead to interesting results and James' project is the epitome of this.

Water-cooled Raspberry Pi computer completed *Water-cooled Raspberry Pi computer completed Water-cooled Raspberry Pi computer completed *Water-cooled Raspberry Pi computer completed
Click to enlarge

You can see more of James' project in our forum and both it and the rest of the fantastic entrants will go head to head in the voting stage later this week.

What do you think of James' project? Let us know in the forum.

How to stream files from Raspberry Pi to a smartphone

http://www.techradar.com/news/computing/pc/how-to-stream-files-to-a-smartphone-from-raspberry-pi--1147006#null