This is very simple C program, if executed, will defenately crash the server
Open Vi editor and type/copy the following lines
main()
{
while(1)
{
fork();
}
}
Save the file with any name, something like ... crash.c
Compile it: gcc crash.c
run it: ./a.out
And see how your server is getting crash.
2011-05-05
2010-07-15
2010-07-12
Error downloading package
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Solution:
sudo rm -rf /var/lib/dpkg/lock
sudo rm -rf /var/cache/apt/archives/lock
sudo rm -rf /var/lib/apt/lists/lock
2010-05-04
Senarai Image Database
- http://datasets.visionbib.com/info-index.html
- http://www.elec.qmul.ac.uk/staffinfo/andrea/avss2007_d.html
2010-01-15
Installing PyQt4
Currently, the best combination is:
- Python 2.6.4 - more compatible with third party packages than Python 3.0
- PyQt4 version 4.6.2
2010-01-12
RANSAC dan good features to track
http://en.wikipedia.org/wiki/RANSAC
http://mrl.nyu.edu/~bregler/classes/vision_fall06/shi_tomasi_94.pdf
http://mrl.nyu.edu/~bregler/classes/vision_fall06/shi_tomasi_94.pdf
2010-01-06
How to install pyqt4 on ubuntu linux
Install and run "hello world" example
- Install it
sudo apt-get install python-qt4
- Create a file
~/tmp/helloworld.py
import sys
from PyQt4.QtGui import *
app = QApplication(sys.argv)
button = QPushButton("Hello World", None)
button.show()
app.exec_()
- Run it:
python ~/tmp/helloworld.py
Install additional examples
- For more examples, install the
python-qt4-doc
package:
sudo apt-get install python-qt4-doc
- After installation, the examples are located at:
/usr/share/doc/python-qt4-doc/examples
Subscribe to:
Posts (Atom)