A prototype of a booking site where a client can find accommodation, book it and rate it.
A landlord can promote theirs rooms.
Word-ladder – application can find a “ladder” from one word to another. A ladder is a set of adjacent words like:
cat, cut, but
Application uses breadth-first-search algorithm to find the shortest route from one given word to another.
Once I had an idea to write a Munin plug-in to monitor temperatures on my server
Since a long time I have Munin on my PC to monitor some data like ping time:
I had to write this application as a university project.
The task was to generate a word ladder, which starts and ends on provided words. Both words have to be in a dictionary.
Every single step in the ladder must only differ in one character from the word before. The aim of the word-ladder is to find the shortest path from start word to end word in the whole graph.
It is enough to remove config file from /etc/modprobe.d/
After installing Skype on oS (and other distros) view from web-cam is upside down, to fix it we must install one library and replace the new one with one provided with Skype.
1. Install missing library (and dependencies):
sudo zypper in libv4l1-0-32bit libv4l-32bit libv4l
2. After that log in into a root account:
3. Turn off skype!
I check today some old CDs, some of them were from ’90 so of course they didn’t work. With one of them was a problem with reading… and ejecting CD-ROM. My PC wasn’t able to eject the CD even calling this command from root:
eject sr0 -rm
[ 1067.416522] Buffer I/O error on device sr0, logical block 0
[ 1075.923084] sr 1:0:0:0: [sr0] Unhandled sense code
[ 1075.923088] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1075.923097] sr 1:0:0:0: [sr0] Sense Key : Hardware Error [current]
[ 1075.923105] sr 1:0:0:0: [sr0] Add. Sense: Timeout on logical unit
[ 1075.923115] sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 02 00
[ 1075.923130] end_request: I/O error, dev sr0, sector 0
[ 1075.923137] Buffer I/O error on device sr0, logical block
The CD wasn’t mounted, there was only a thread for the device, which wasn’t even mounted (I also wasn’t able to mount it from root):
umount: /dev/sr0: not mounted
root@Agilob-PC:# lsof /dev/sr0
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
blkid 4079 root 3r BLK 11,0 0t0 7203 /dev/sr0
root@Agilob-PC:# kill -s 9 4079
Worked for me!