Tags
administration agenda android apache Arduino automation cell phone command line configuration configuration management course dat8tf063 DevOps download embedded exam feedback GUI hardware Helsinki html5 interoperability Java kurssi linux Linux Basics linux palvelimena mobile pick precise puppet Red Hat robot security short ssh student test tutorial Työasemat ja tietoverkot ubuntu weela.net wifi windows wlan
Tutkimussuunnitelma – esimerkkityö kurssilta Tietotekninen selvitys ja kouluttaminen ict2tn011-5
Esimerkkityö Haaga-Helian tieteellisen kirjoittamisen kurssilta. Tietotekninen selvitys ja kouluttaminen on opiskelijalle ensimmäinen kurssi tieteellisestä kirjoittamisesta. Kurssilla harjoitellaan aihe-ehdotuksen ja tutkimussuunnitelman kirjoittamista. Tutkimussuunnitelmassa kuvattua tutkimusta ei toteuteta kurssilla, mutta osa opiskelijoista saattaa tehdä opinnäytteensä samasta aiheesta. Laaka 2011: (tutkimussuunnitelma) Kahdeksasluokkalaisten tietoisuus … Continue reading
Posted in Uncategorized
Tagged course, ict2tn011-5, Tietotekninen selvitys ja kouluttaminen, writing
Leave a comment
Static Advantage – Could WordPress Be 400 Times Faster?
Apache served static pages 400 times faster than dynamic WordPress pages. Could caching bring this speed advantage to WordPress? I measured pages with Apache benchmark tool “ab”, using 10 simultaneous connections. I used a powerful desktop as a server on … Continue reading
Posted in Uncategorized
Tagged ab, apache, benchmark, cache, Did you know, dynamic, initial results, mysql, Myth, php, pick, static, vs, wordpress
Leave a comment
Demo Coming: 30 Ubuntus Installed & Managed
Update: Just came from lab and saw it working. The whole lab of 24 computers was installed. Only a couple of computers needed manual reboot (EFI BIOS settings, DHCP timeout). Configuring computers worked, too. AwaseConfigurations is almost ready. They can … Continue reading
Posted in Uncategorized
Tagged administration, awase, configuration management, fabric, linux, squid, ssh
Leave a comment
Drawing to Canvas on Android – Code Example
Draw full screen on your Android phone This is just example code. For a throughout explanation, see Make Arduino Bots and Gadgets: Boxing Clock. package com.botbook.drawingoncanvas; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Paint.Align; import android.os.Bundle; … Continue reading
Tee yksinkertainen peli Androidille
Tee yksinkertainen peli Androidille. Paljonko on 2*14? Mikä luvuista ei ole jaollinen kolmella? Haluatko ostaa vokaalin? Monennellako yrityksellä arvaat numeron? Paljonko 2 jalkaa 3 tuumaa on nykyaikaisissa yksiköissä? Mikä sana on kontiksi konoxlintti? Hymynaama Vapaaehtoinen lisätehtävä: Piirrä Androidilla hymynaama. Edistynyt … Continue reading
Posted in Uncategorized
Tagged android, bus4tn008-1, cell phone, course, extra task, game, Java
Leave a comment
Ideas for Automation with Centralized Configuration Tool
You automated everything with cfengine, puppet or fabric. It works so smoothly that you are now looking for some more things to automate. Wireless WEP/WPA passwords, make available to all users in each slave Add shortcuts to desktop Add language … Continue reading
Android Cheatsheet for Beginners
Also check out Boxing Clock for Android (and MABG), search Stack Overflow, read Android Developers Guide and Reference. Toast private void tToast(String s) { Context context = getApplicationContext(); int duration = Toast.LENGTH_SHORT; Toast toast = Toast.makeText(context, s, duration); toast.show(); } … Continue reading
Write Moodle Quiz Quickly – Import Plain Text GIFT Format
Write your whole Moodle quiz in plain text, then upload. Which on of the following is correct: a, b or c? A simple quiz is a quick way to test simple stuff. But creating a quiz using Moodle web interface … Continue reading
Posted in Uncategorized
Tagged Moodle, pick, plain text, productivity, quiz, teacher
Leave a comment
TextViews in Android
TextView is a text field, usually user editable. You can read and write TextView values from code. You often have to cast between CharSequence, String, int and other types. Prequisites: Android Hello World Explained Read TextView final TextView q = … Continue reading
Tee yksinkertainen laskin Androidille – Läksy kurssilla “Mobiili tuotekehitys” bus4tn008-1
Tee Androidille yksinkertainen laskin. Se voi laskea vaikkapa painoindeksin, huoneen tilavuuden tai muuntaa vanhentuneita mittayksiköitä nykyaikaisiksi.
Simple Button for Android – XML onClick + public method
Probably the simplest way to create Android Button. Create a new public method (e.g. goButtonClicked) and add it to your layout XML. Prequisites: Android Hello World Explained In Java, define a new public method that takes view as parameter. public … Continue reading
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
Shaking Tower Panda for Android
Update: Thousands of installs in just two weeks. Great review. Save the Panda! Kimmo and Ville created a new Android game. Panda is trapped on a tower and your goal is to get him back to the ground safely. Remove … Continue reading
Posted in Uncategorized
Tagged android, announce, game, kimmo, mobile, panda, Shaking Tower Panda, ville
Leave a comment
Virtualize Servers with KVM, Cloudmin and Ubuntu
My students Antti Ollila, Sakarias Hiltunen and Juha Salminen virtualized some servers. They set up a web interface that creates new virtual servers with a click of a button. After trying some alternatives, they ended up using KVM and Cloudmin. … Continue reading
Posted in Uncategorized
Tagged cloud, cloudmin, DevOps, kvm, linux, student, virtualization, vps, xen
Leave a comment













BotBook.com
Sulautetut.fi