Archives For author

Sometimes your calendar might stop synching with Exchange.
Well, maybe I’ve got a solution for you:
If you go to Settings, Applications, Active Services, Calendar Storage and select Clear Data, your calendar might start all over with syncing, but it will synch from now on.

If you happen to have the webmail functioning in your orginization, wipe the android device and setup in syncing again in your phone. Sometimes this will work.

Hope it helps you out a bit.

Advertisements
Did you ever feel the desire to show some commands in Unix or Linux to colleagues? Just to demonstrate things? Or, did you ever felt the desire just to show off 
:-)

You can use websites like http://www.screencast-o-matic.com/ or other screencapture software. Maybe the use ffmpeg in Ubuntu/Debian helps you out (p.e: ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /tmp/out.mpg) But it creates video’s which must be uploaded and may become large. A lot of work and it takes a lot of time to create.


http://www.playterm.org/ Could help you out even more. A nice website where you can upload your cool terminal adventures. Type in ttyrec in your terminal, then perform some cool skills in your terminal and to complete this, just type exit. Upload the tty file on http://www.playterm.org/?upload=now and wait to get in the wall of fame on playterm!


ttyrec can be installed in Ubuntu by using apt-get.


However, there is also a nice alternative, which also works great: shelr. 


See http://shelr.tv . Full explanation here: http://shelr.tv/about


Happy shelling! ;-)


http://foursquare.com/v/4b98a8caf964a520724a35e3

I have to say that i'm quite a newbe to AIX, but i like it very much. @Work i use it and got in a situation where I was wondering which users on a specific system had to change their passwords at next logon. In other words: who has the admchg flag in the /etc/security/passwd file. Especially for the bigger customers with complex password policies on their AIX machine, this can be can be good to know. 
Well... I tried to write a nice script to find out who must change their passwords at next logon:
#! /bin/ksh
# See Accounts which have the ADMCH flags

lsuser -a pgrp groups ALL |awk '{print $1}' >/var/allusers # write usernames in allusers
rm /var/*.usr 2>/dev/null # remove old .usr files

while read myline # read line in var myline
do
pwdadm -q $myline | grep ADMCHG > /var/$myline.usr # read flag ADMCHG from $myline into $myline.usr
ls -la /var/$myline.usr | awk '{print $5}' 2>/dev/null2>/dev/null # read filesize from $myline.usr into $5
done 

while read myline2 # read line in var myline2
do
grep ADMCHG /var/$myline2.usr >/var/temp
if [[ $? == 1 ]]; then
rm /var/$myline2.usr 2>/dev/null
fi
done 

cd /var 2>/dev/null
ls *.usr | sed -e 's/\.[a-zA-Z]*$//' # list *.usr files without .usr extension

(Sorry for the bad title :-))

I'm a big Android fan. Because of it's open character and if I rooted my Android device, it is even better!
But, unlike many others I am not an Apple iPhone/iPad hater. I think it also kick ass. The Apple devices have more of fun-factor than most Android devices. And if you Jailbreak it, it opens some more possibilities. I will not discuss them here. Also I will discuss how to Jailbreak your Apple iP* device. If you install an SSH server on your Jailbroken device, there are some nice directories on the device. 
Here they are:

Ringtones:
/private/var/stash/Ringtones.adSbWP

Photo's:
/private/var/mobile/Media/DCIM/100APPLE

PodCasts: (do podcasts still exist?) 
/private/var/mobile/Media/Podcasts

Music:
/private/var/mobile/Media/iTunes_Control/Music

Installed Apps:
/private/var/mobile/Applications

Voicemail:
/private/var/mobile/Library/Voicemail
In DB format. Can be opened with SQLite Database Browser

Text Messages (SMS):
/private/var/mobile/Library
In DB format. Can be opened with SQLite Database Browser

Mail:
/private/var/mobile/Library/Mail
In DB format. Can be opened with SQLite Database Browser

Calendar:
/private/var/mobile/Library/Calendar
In DB format. Can be opened with SQLite Database Browser

Contacts:
/private/var/mobile/Library/AddressBook
In DB format. Can be opened with SQLite Database Browser
It looks like there is no alternatve to wireshark or tshark. But never fear... An alternative is here!
TCPFLOW.

On Ubuntu (ofcourse), you can install it via apt-get install tshark
Some examples:

tcpflow -i eth0 -c -e
With this one you'll see all the traffic for your network card. Add the -s parameter if you see too many gibberish passing by. It will convert non-printable traffic into periods.

tcpflow -i eth0 -c -e port 80
Only interested in datastreams to port 80, use the command above.

Use:
tcpflow -i eth0 -c -e host 192.168.1.1
if you're only interested in traffic from- or ment for 192.168.1.1.

But there is more. If you do not use the -c switch, tcpflow will create for each datastream a separate file. Add the -b parameter and the files created can be limited in filesize. 

Do keep in mind that tcpflow is not in development anymore and it cannot handle fragmented ip packets.
Are you one of the happy few to own a machine with too much RAM and have Ubuntu/Debian installed? Then you might consider use some of that memory to use it to change it to RAM drive. Sometimes it might be useful to decompress files or other file-operations wich can be time consuming on slower disks.

Here's what to do:

sudo -s
create a dir called /tmp/ramdisk
mkdir /tmp/ramdisk; chmod 777 /tmp/ramdisk

mount -t tmpfs -o size=4096M tmpfs /tmp/ramdisk/


Happy RAMDisking! :-)