Tags
administration agenda android apache apt automation cell phone command line configuration configuration management course dat8tf063 debian download exam Fedora feedback GUI hardware htmlpalaute interoperability Java Järjestelmäprojekti I linux Linux Basics pick precise pxe Python Red Hat repository script security short ssh student test time tested Työasemat ja tietoverkot ubuntu web weela.net wifi windows wlan
Change MySQL Password on Ubuntu – dpkg-reconfigure mysql-server-5.1
Forgot MySQL server root password? It’s trivial to change it in Ubuntu and Debian. $ sudo dpkg-reconfigure mysql-server-5.1 To get the version of your package, just type ‘sudo dpkg-reconfigure mysql-server-5″ and press tab a couple of times. It simply asks for … Continue reading
Posted in Uncategorized
Tagged 12.04 precise, daemon, debian, mysql, password, server, short, tip, ubuntu
Leave a comment
Lifecycle Code Example for Android – onCreate(), onPause(), onResume()
In Android lifecycle, methods are automatically called. This simple example toasts a message each time this happens. Create a new project SimpleStuff, package com.botbook.simplestuff. Run your program and see the states change. Press home button to stop the program. Hold … Continue reading
Print PDF from Command Line – cups-pdf, lpr -P PDF
After installing cups-pdf, you can print to file with ‘lpr -P PDF’. Install PDF printer $ sudo apt-get -y install cups-pdf List printer names that lpr can understand $ lpstat -p -d printer deadtree is idle. enabled since 2011-06-22T08:09:05 EEST … Continue reading
Fix Android Build Problem with main.out.xml and strings.out.xml
When you edit an Android XML file in Eclipse, build fails and main.out.xml is created. Fix it by disabling XSL transformation build and set to always build the last build. Eclipse: Window: Preferences: Run/Debug: Launching: Launch Operation -> Always Launch … Continue reading
Posted in Uncategorized
Tagged android, bug, eclipse, ide, problem, short, solved, xml
Leave a comment
View & Kill – Processes in Linux
Better to kill one bad process than let the whole system crash. Catch the hogs and let your uptimes grow!












BotBook.com
Sulautetut.fi