Thursday, January 29, 2015

Satisfaction, Achievement, Passion and Attitude

Friday, January 23, 2015

The CPRE-FL


Peace be upon you and hi there! During 18-20th January 2015 on semester break, I attend Certified Professional for Requirements Engineering (CPRE-FL) training class at my university together with other participant. 3 days training start from 8.30 AM - 5.00 PM. Special thanks to Software Engineering department and our trainer instructor, Mr.Rusdi bin Md Aminuddin from Custommedia Sdn. Bhd, He was very humble and passion person. Thanks sir for teached us about requirement engineering, I learn lot of thing from this training.

The examination was held on 21th January 2015 and I still waiting for the result from Malaysia Software Testing Board (MSTB). Wish me good luck, ok? This professional certification are very useful for IT engineer witch released and endorse by professional group from Germany, IREB (International requirement Engineering Board).

Saturday, January 17, 2015

Install Android Studio on Ubuntu

I thought installing Android Studio on Linux will be pain in the ass but I was lucky, Paolo Rotolo already create a PPA for stable Android studio and manage it very well. So I just need to add a new PPA, updating repository and apt-get only.
$ sudo apt-add-repository ppa:paolorotolo/android-studio 
$ sudo apt-get update 
$ sudo apt-get install android-studio
Oh yeah, don't forget to install JRE and JDK 7, configure KVM and last not least to install ADB tool to debug your apps from hardware.
$ sudo apt-get install android-tools-adb

Install JRE 7 and JDK 7 on Ubuntu

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java7-installer

Ubuntu 14.04 LTS (Trusty) with Intel Hardware-assisted Virtualization (hypervisor)

Hi Dev! Today, I'm going to install Android Studio in my computer. Since my computer support hypervisor (VT-x),EM64T and Execute Disable(XD) Bit functionality so I'm going to install Intel Hardware-assisted Virtualization (hypervisor)..Oh yeah, forgot to mention here that I'm going to install within my Ubuntu 14.04 LTS (Linux platform). If you looking for Windows platform (HAXM), I already wrote about that HERE. You can refer the official manual HERE or just read my blog post. We need Intel Hardware-assisted Virtualization (hypervisor) because to made our runs significantly faster and smoother which is much much better that before.

Please check what CPU architecture that are your linux operating are using now. Check your bit of kernel mode.
$ getconf LONG_BIT
Now you can see the result, it must be 64 or 32 bit long. I hope you are using x64 bit operating system because that is critical requirement to use and take advantages of Intel Hardware-assisted Virtualization (hypervisor) which is recommended to support and serve RAM more that 2 GB .

Now lets check if your processor supports hardware virtualization via KVM.
$ egrep -c '(vmx|svm)' /proc/cpuinfo
What is your output? If you get 0 it means that your CPU doesn't support hardware virtualization.

To make sure if your processor support KVM or not, you need to check it using CPU-Checker
$ sudo apt-get install cpu-checker
After finished install the CPU-Checker from repository, run "kvm-ok" command from terminal and you should get a result like this :
[email protected]:~$ kvm-ok 
INFO: /dev/kvm exists
KVM acceleration can be used

When done verifying the hardware virtualization, we may proceed to KVM installation:
$ sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
Note : Please ignore the Postfix Configuration by selecting "No Configuration".

Next, is to add your username account to the group kvm and libvirtd.
$ sudo adduser user_name kvm
$ sudo adduser user_name libvirtd
Note :Please change the user_name with your own linux username.

Now, you can use the hypervisor with AVD..just put a "-enable-kvm" parameter before lauch the AVD
$ <SDK directory>/tools/emulator-x86 -avd Your_AVD_Name -qemu -m 2047 -enable-kvm

That all from me, great! Thanks for reading my tutorial!

Friday, January 9, 2015

Xamarin, Here I come!


Look guys! I now have Xamarin Studio, a standalone IDE for mobile app (IOS, Android and Windows Phone) development. Currently with Indie plan of Xamarin. Gonna to learn some C# and XAML later.. Maybe I can create some tutorial too. Great huh?

It almost took a week before they approve my Xamarin Indie Plan. It's not trial version or starter (free) version. Indie plan comes with few of special features. Check it out HERE. Xamarin license is perpetual. If you do not renew your subscription, you will no longer have access to new releases and support anymore. Looking some idea for mobile apps development. Just wait and see :)

Tuesday, January 6, 2015

Employers Expectation: A knowledge sharing session by Madam Rohayah Ruslan

Update : Ouch it hurts, SlideShare now owned by LinkedIn, they blocked this slide. Hurmm.. why?

Peace be upon you and Hello,
During November 2014, my Faculty of Computer Science and Information Technology (FSKTM,UTHM) has held an special carnival event for 3rd year undergraduates called "Karnival Kerjaya Terfokus FSKTM".

There a lot of speaker are invited from industrial areas such MSTB (Malaysia Software Testing Board), Animonsta studios and more to share they knowledges. But a speaker from IIUM (International Islamic University Malaysia) which is Madam Rohayah Ruslan (Lecturer in ICT Department at IIUM) has changes my life into a better man after the carnival event. Lot of thing that I learned from her experience. The sharing session by her had caught my attention so much. Btw, here I share my scanned copy of slides handouts during the sharing session about Employers Expectation by her which discussed in 8 different topic.



Sorry about the scribble on the paper, I love to take note. Hope you all don't mind about it. See you later, bye!

Monday, January 5, 2015

How to center align embedded twitter tweet



Twitter offer an embedded Tweet that brings the best content created on Twitter into your article or website. But the normal embed code are not aligned. It wouldn't it be nice if this tweet was centered on the webpage. Here, how to align the embedded tweet.
<blockquote class="twitter-tweet tw-align-center" lang="en">Flood victims in seven states totalling 119,624 as at 7pm compared to 118,896 victims at 3pm today — BERNAMA (@bernamadotcom) <a href="https://twitter.com/bernamadotcom/status/548437748349018112"> December 26, 2014</a></blockquote><script async="" charset="utf-8" src="//platform.twitter.com/widgets.js"></script>
Just add tw-align-center parameter inside the blockquote class. The final code will be just like example code above. Nice and beautiful.

Official VLC for Windows Phone (Non ßeta)

Hi Windows Phone users!
VLC media player is a portable, free and open-source, cross-platform media player and streaming media server written by the VideoLAN project. VLC media player supports most audio and video compression formats, files and streaming protocols and now available for Windows Phone users. Before this you need to be part of Developer Preview account to get ßeta version of VLC.


This news has been spread wild since Nawzil are tweeted today about VLC for WP (Window Phone) 8.1 is already on Store but hidden. Compare with Android and IOS, the WP still lack of applications. That why Lumia users are waiting a movie player that can plays movie better than built-in player. Visit your Store with link below :
http://www.windowsphone.com/en-us/store/app/vlc-for-windows-phone/44fa83f7-a98d-4647-b9d4-c35ed729d0c9

You also can download it by scanning the QR code on this left blog post. Since this is the first release on Store, you may experiencing some bugs. Don't forget to report the bugs, error and problem that you encounter to VideoLabs so they can patch and fix it.

Currently, VideoLAN are not announce this application yet. But more than 1,000 downloads in just half an hour said Nawzil in his tweet.

Lot of complaint are made in just half an hour too..LoL. Well that all from me. Gotcha take some rest now. Bye!

Sunday, January 4, 2015

The Pirate Bay source code


Torrent is a P2P (Peer-to-peer) file sharing distribution and TPB (The Pirate Bay) website is an online torrent index of digital content. Have you heard about TPB founders are arrested ? So, TPB website are been taken down too, but Isohunt create a clone named as Old Pirate Bay and now they release the source code to public.

Check it out the public source code from here and feel free to fork :
https://github.com/isohuntto/openbay

I don't support criminal and piracy, but very interested with the source code which we can learn about they back-end technology, algorithm, data structure and more. Seem they using PHP and MYSQL too. Maybe you can modify this source code into something positive like P2P thesis repository or LMS (Learning management System) among all IPTA and IPTS. Don't try to be cyber criminal, okey? Well, That all I want to tell. Bye...

htaccess : Redirect URL (Permanent)

Redirects allow you to redirect a specific page to another page and display the contents of that second page. You can use this method to make a page that has a long URL accessible through a page with a shorter and easier-to-remember URL.

This is just some basic htacess for 301 redirecting URL from non-www and www to blog as example, just modify it as your need from here.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^kriptonium\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.kriptonium\.com$
RewriteRule ^/?$ "http\:\/\/blog\.kriptonium\.com\/" [R=301,L]

P/s : If you have CPANEL, just use Redirects function, they will create htaccess for you.

Saturday, January 3, 2015

"We don't get a chance to do that many things, and every one should be really excellent. Because this is our life. Life is brief, and then you die, you know? So this is what we've chosen to do with our life."
― Steve Jobs

IRC still alive

/server irc.kampungchat.org:7000 /join #kampung


Suddenly got IRC invitation from #JomWEB @ freenode then quickly install MiRC client to join the discussion about programming, UI and UX stuff, it has been a while i'm not active in IRC. Who uses MIRC these days? Just some people around the globe because people are comfortable with facebook and twitter nowadays for discussion. Sometimes there still exist company that use IRC on internal servers for internal communications.

MiRC : Auto response "hello" and "salam" keyword room channel


Hi there! I already share MiRC remote script for auto greeting (on join) and auto Islamic greeting. Now i want to share a script that will reply on channel when someone said "hello" or "salam". My script will execute within defined time interval. Check it out.

on *:TEXT:hello:#:{
  if ((%wait.ctime !isnum) || ((%wait.ctime isnum) && (%wait.ctime < $ctime))) {
    /msg $chan Hello $nick , how are you?
    /msg $chan Welcome to $chan
    ; Will respond with next delay time 30 seconds
    set %wait.ctime $calc($ctime + 30)
  }
}

on *:TEXT:salam:#:{
  if ((%wait.ctime !isnum) || ((%wait.ctime isnum) && (%wait.ctime < $ctime))) {
    /msg $chan salam, $nick
    ; Will respond with next delay time 10 seconds
    set %wait.ctime $calc($ctime + 10)
  }
}

For "hello" keyword the script will execute between 30 seconds and for "salam" keyword between 10 seconds. Should be not a problem now to prevent room spamming. Hope you enjoy it. Thanks.

MiRC : Auto islamic greeting

menu menubar {
  .$iif(%salam,$style(1)) &Auto Jawab  السلام :jwpsalam
}
alias jwpsalam {
  set %salam $iif(%salam,0,1)
}
on *:action:*:#: { $salam($1-)) }
on *:notice:*:#: { $salam($1-)) }
on *:TEXT:*:#: { $salam($1-)) }
alias salam {
  if (%salam == 1) {
    if ($regex($strip($1-),/as?[`'\54]?k[uo]m|s[a|e]mek[ou]m|assalam?m[uo]'?alaik[uo]m/i)) && (!%salam. [ $+ [ $nick ] ]) { inc -u160 %salam. [ $+ [ $nick ] ] | msg # $slm | return }
  }
}
alias slm {
  goto $rand(1,5)
  :1 | return W alaikumussalam W arrahmatullahi W abarakatuh $nick
  :2 | return W aalaikumusalam $nick 
  :3 | return W 'salam W.B.T $nick
  :4 | return W 'salam $nick W b
  :5 | return W a'alaikummussalam W.B.T
}


How to use :
1. Open MiRC
2. Go to Tool -> Script Editor (or using Alt+R shortcut key)
3. Paste the above script on Remote tab
4. Close to save
5. Open Command menu and choose click "Auto Jawab" to activate or deactivate

MiRC : Auto greeting (on join)

on *:JOIN:#: {
  if ($nick == $me) { halt }
  { /msg $chan Welcome $nick to our # IRC board }
}

How to use :
1. Open MiRC
2. Go to Tool -> Script Editor (or using Alt+R shortcut key)
3. Paste the above script on Remote tab
4. Close to save and ready to use!

P/s : You maybe got banned by IRC operator room that you joined..LOL

Perl : ForkManager modules

cpanm Parallel::ForkManager

Note : You need to install cpan minus first before installing any per modules.

Perl : Installing cpanminus

cpan App::cpanminus

Do you know cpanminus work as perl modules manager and the most straight-forward, lightweight CPAN client installer

Bluestacks - Your Graphics Drivers seem to be out-of-date ?


Hi android lover! Are you using Bluestacks application on your computer as android emulation ? Did you got this error message that said

Your Graphics Drivers seem to be out-of-date. BlueStacks requires updated drivers to run. Update now?

It really annoying because i already update my GPU drivers and software but still got this error message when launch the Bluestacks. So here i share some work around that i have found, try and succeeded.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android\Config]
"SkipGraphicsDriverCheck"=dword:00000001

Steps

=====
1. You need to copy the above code, paste on notepad and save it as "SkipGraphicsDriverCheck.reg" (the name are not mandatory but the extension must be *.reg)
2. Then double click the SkipGraphicsDriverCheck.reg (to import this registry value on your computer machine). Choose "yes" to merge the data.
3. Now try to restart you Bluestacks and try it out.

That all you need to do. Hope it working for you too :)

Skype minimize to tray bar

Thanks to Microsoft for providing such an minimize option in Skype. Microsoft bought Skype strategically so as to merge the user base of Windows Live Messenger with current millions of Skype users.

Microsoft has modified Skype setting which enable user to minimize to tray when sign-in but not as default setting yet.


Skype options

1. Open and sign-in Skype and then choose the Tools -> Options menu item.
2. Locate the Advanced section in the left pane and click it.
3. You will find the "Keep Skype in the taskbar while I'm signed in" check box. Uncheck it as shown in the screenshot above.

That all, happy Skype with Microsoft!

Hey, do you know this person ?

This dead man is a psycho guy!

Friday, January 2, 2015

Congratulations to Green Garden entrepreneur team

No pain, No gain

Green Garden is our team name lead by me for entrepreneurship course. Consist of 7 ladies and 5 gentleman. We gain lot of difficulties during Pasar Lambak V 3.0 FSKTM (vPL 3.0), 2014 but our team are the top and best seller during Pasar Lambak v3.0 event.

On December 7th, 2014, we have a feast to appreciate the our hard work. Dear team members, thanks for trusting me to lead you and cooperate with me. For member of the committee of vPL 3.0, thanks for everything too.

We share a great moment together and let it remain as good memories. May God be gracious to us and bless us.

Domain name suggestion services

Have you looking a nice domain with some good ending words? Today, I’m looking some domain names that end with ‘MY’ word for my project. So here my several online services that i use to generate a huge word end with ‘MY’ that help me to choose and pick a suitable domain name:


Hopefully this thing can help you to sort out a suitable domain name. Peace :)

How to verify Intel HAXM is running


Have you read my previous post about Intel HAXM to speed up and optimize Android emulator? But how to verify if the Intel HAXM are running on our computer? Simply just open command prompt (CMD) and run the command :
sc query intelhaxm

If you get the same result like above picture (State : 4), then it mean Intel HAXM are working and running very well on your computer. You also can stop intel HAXM by this command:
sc stop intelhaxm

or start the services by this command:
sc start intelhaxm

Very easy right? That all for now..see you next time. Bye!
P/s : I’m using CMDer which is has lot of features than default Windows command prompt tool.

Speed up and optimization Android emulator with Intel HAXM

Peace be upon you and Hi!
Are you Android developers and use AVD emulator? Fed up with the activity speed during the emulation? With Intel HAXM, you can optimize the emulator speed if your computer have an Intel processor with support for Intel VT-x, EM64T and Execute Disable(XD) Bit functionality enabled.


To use Intel HAXM, open your “SDK Manager” and tick “Intel x86 emulator accelerator (HAXM) installer” and begin the download process. For Windows user, when the SDK manager completed the download, it does not mean HAXM are installed in your computer. You need to install it manually by opening “sdk\extras\intel\Hardware_Accelerated_Execution_Manager” directory and install it by your self.

For Linux users, you can follow official guidelines from Intel website HERE, Windows user also encourage to read that link on how to create AVD that use HAXM features. Cheers!

The official Android IDE – Android Studio released!


Good news to all Android developer, now we have an official Android IDE called “Android Studio” comes with intelligent and powerful code editor. If you have been using Eclipse with ADT, you should migrate to Android Studio to receive all the latest IDE updates. The accelerated emulator features using HAXM still available, don’t worry about it. Personally, Android Studio are much better than Eclipse ADT.

Download Android Studio :
http://developer.android.com/sdk/index.html

Linux : Bash Random Password Generator

#!/bin/bash
 
passwordLength=20
minNumbers=3
minLowercase=3
minUppercase=3
minSpecial=3
special="!#$%();.@^"
 
checkPassword ()
{
    local lowercase=0 uppercase=0 numbers=0 specialchars=0
 
    if [ ${#p} -ne $passwordLength ]; then return 1; fi
 
    s="$( echo "$p" | tr -cd '0-9' )"; numbers="${#s}"
    s="$( echo "$p" | tr -cd 'a-z' )"; lowercase="${#s}"
    s="$( echo "$p" | tr -cd 'A-Z' )"; uppercase="${#s}"
    s="$( echo "$p" | tr -cd "$special" )"; specialchars="${#s}"
    if [ $numbers -ge $minNumbers -a $lowercase -ge $minLowercase -a $uppercase -ge $minUppercase -a $specialchars -ge $minSpecial ]; then
        return 0
    else
        return 1
    fi
}
 
p=''
while ! checkPassword; do
    p="$( dd if='/dev/urandom' bs=4096 count=1 2>/dev/null | tr -cd "0-9A-Za-z${special}" )"
    p="${p:0:$passwordLength}"
done
echo "$p"

Visual Basic 6 : Open URL module

Ever heard VB6? Yeah, sound classic and bring back the memories. Today, I’m googling something then stumble with these module about open an URL from component such label or button with default web-browser.

Just add new module from your project and paste this visual basic code

Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _
(ByVal hwnd As Long, _
ByVal lpOperation As String, _
ByVal lpFile As String, _
ByVal lpParameters As String, _
ByVal lpDirectory As String, _
ByVal nShowCmd As Long) As Long
Public Sub OpenURL(website As String, sourceHWND As Long)
Call ShellExecute(sourceHWND, vbNullString, website, vbNullString,vbNullString, 1)
End Sub

From component (such as Label), you can trigger user to open an URL with this:

OpenURL "http://www.kriptonium.com", Me.hwnd

Nice huh? Well that all for now. See you later :)

Speed up gradle build time

Peace be upon you and Hello!
When you want to build an android project using Android Studio, it always take some time during build process. Android Studio are using gradle as build system for Android projects which designed for scalability and efficiency.

I figure a tips that can be use to improve build time slightly 1-4 seconds faster with gradle daemon. Just put these code under your gradle.properties file.
org.gradle.daemon=true
org.gradle.parallel=true

Under maintenance webpages with HTACCESS

P/s : You webpage are redirect to maintenance page for a while, start from 7-8 AM for maintenance.

OEM driver for debugging Lenovo A7-30 Tablet (A3300)

Note : For GNU/Linux user, please read my tutorial how to debubbing Lenovo A7-30 Tablet (A3300) here.

Using device emulator always keep my IDE freezing, So I tried to use physical device as instead of AVD (Android Virtual Device) for testing and debugging. You can read “Using Hardware Devices” from the official Android documents for more information.

Lenovo A7-30 Tablet (A3300)

I owned a 8″ Lenovo tablet as but sadly, the official link of OEM driver for Lenovo device on that page are not working. So I need to find OEM Driver for my Lenovo A7-30 Tablet (A3300) by myself.

After a few try-and-error, I found the solution of my problem. You only need to install Lenovo Smart Assistant from the official support of Lenovo websites. Just visit Lenovo support website and enter you device information. The the webpages will redirect you to Software and Utilities pages.

Lenovo Smart Assistant

Then install Lenovo Smart Assistant, it will identify a suitable OEM driver for you device and install it into your computer. When you are already installed the driver, you will see a notice just like the picture I attached above. Now, just open your tablet and enable USB debugging from developer menu. Connect the tablet using USB cable and you are ready to use it as physical device to run you Android application from Eclipse or Android Studio.

PHPMailer and Hostinger Malaysia (SMTP server)

Peace be upon you and Hi!
Final year project (FYP) or Projek Sarjana Muda (PSM) are individual project based on research or developing a prototype software for client during final year of study to fulfil the undergraduate requirement. Enough of FYP/PSM introduction.

Well, the most famous software that has been developed are from web-based application and email was the famous communication between system and users, maybe some stuff like send notice or notification.

So lets just keep it simple here, I want to share my readers how to use PHPMailer class and Hostinger SMTP server to sent emails. Please remember, you can use any SMTP server either paid or free. This is just a complete tutorial applied for Hostinger web hosting, because I know, not all of student can afford to rent email server. Hopefully this tutorial will help you to add email functionality in your system.

Step 1 – PHPMailer class

==========================
PHPmailer are complete package of class files that allow web based application to send email and attachment, besides using mail() function through PHP. Now what you need to to do are just download PHPMailer from the official Github account. Download the Zip files:
https://github.com/Synchro/PHPMailer/archive/master.zip

Step 2 – Hostinger Hosting

============================
Now you need a SMTP server to allow you send email to targeted recipient. I choose Hostinger hosting that allow you to create 2 email account under free hosting plan. Now, just register your account directly from this link :
http://api.hostinger.my/redir/5613780


Now create a new hosting account and a new email account from control panel account from host list. Remember to take notes about you new username, password, SMTP server and port details.

Step 3 – Sending email

=======================
Extract PHPmailer into your system folder, and create a new PHP file and wrote this code within the same folder as PHPMailer

<?php
include_once("PHPMailerAutoload.php");
$mail                = new PHPMailer();
$mail->IsSMTP(); 
$mail->SMTPDebug  = false; 
$mail->SMTPAuth   = true;     
$mail->Host       = 'mx1.hostinger.my'; // SMTP host
$mail->Port       = 2525; // SMTP open port
$mail->Username   = '[email protected]'; // SMTP username
$mail->Password   = 'MyPassWord';
$mail->SetFrom('[email protected]', ' MY NAME'); 
$mail->AddReplyTo('[email protected]','REPLY NAME'); 
$email = "[email protected]"; // Recipient email
$mail->AddAddress($email);
$mail->Subject    = 'Hostinger'; // Email subject

$mail->AltBody    = 'To view the message, please use an HTML compatible email viewer!'; 
$mail->IsHTML(false);
$mail->Body = 'Hack the planet r0x!';


if(!$mail->Send()) {
  echo "Mailer Error: ". $mail->ErrorInfo;
} else {
  echo "Message sent!";
}    
// From : www.Kriptonium.com   
?>

Please modify SMTP host, port, username, password, subject, body and recipient email based on your configuration. Now execute the file from web server and check your recipient inbox. Do they get a new email from you? If yes, congratulation to yourself. From this concept try to apply it onto your project. That all from me.Please have a great day and Thank you :)

Android : How to fix ADB server didn’t ACK * failed to start daemon *

Have you encounter problem when debugging Android that show this error output?
ADB server didn't ACK
* failed to start daemon *

Solution:
Open task manager or just press Ctrl+Shift+Esc and kill the adb.exe and tfadb.exe process.

WordPress & Blogspot : Keyboard button (kbd) tag

Peace be upon you and hello fellas,
Do you want keyboard button / thumb on blog post, like StackOverflow website? It look awesome for HCI and UI/UX itself. So I found a custom CSS that can be use with our blog theme by styling the kbd tags

Example : Press Ctrl+Alt+Del to restart your computer

How to :
That looks cool and much more better representing the keyboard key in button. Simply, just open your own theme CSS for Wordpress cms or open template editor->Add CSS for Blogspot and paste the code below:

kbd {
 padding:0.1em 0.6em;
 border:1px solid #ccc;
 font-size:11px;
 font-family:Arial,Helvetica,sans-serif;
 background-color:#f7f7f7;
 color:#333;
 -moz-box-shadow:0 1px 0px rgba(0, 0, 0, 0.2),0 0 0 2px #ffffff inset;
 -webkit-box-shadow:0 1px 0px rgba(0, 0, 0, 0.2),0 0 0 2px #ffffff inset;
 box-shadow:0 1px 0px rgba(0, 0, 0, 0.2),0 0 0 2px #ffffff inset;
 -moz-border-radius:3px;
 -webkit-border-radius:3px;
 border-radius:3px;
 display:inline-block;
 margin:0 0.1em;
 text-shadow:0 1px 0 #fff;
 line-height:1.4;
 white-space:nowrap;
}

Now, just use <kbd> tags when you want to have some button of keyboard. Kindly, credit to The Dron Zone blog for showing the way

Web based programming workshop

Web based programming workshop 14-15 Nov 2014, FSKTM, UTHM
Hi there, I was involved as training instructor during Web Based Programming Workshop on 14-15th November 2014 which is proudly organized by ITC (Information Technology Club), FSKTM, HEPA and UTHM.

I cover lot of basic and advance topic which is never covered by anyone else during past web based workshop. I very glad when my knowledges been pass down to the participant and hopefully they will use it for good. My thanks to Adeline and Firdaus who working under me as helper during the workshop and ITC 2013/2014 team for inviting me to be the instructor.

UML : CASE Tool and Rational Rose

Peace be upon you and hello!
Today i want to share something about CASE tool and a software called ‘Rational Rose’. Alright let get straight to the point shall we?

CASE Tool
Computer-aided software engineering (CASE) is the software tool that we (Software Engineer) used to design and implement application. Case tool automate many of the activities involved in various life cycle phases. That is my KISS definition, I highly recommend you to read my lecturer blog post about the CASE definition, what is Upper-CASE, Lower-CASE,i-CASE and why you need to use CASE tool from Mrs. Hafizah Abdullah – P2E for Students which she wrote in Malay.

Rational Rose

We have a huge domain of software for CASE purpose. I already tried ArgoUML, Microsoft Visio (with UML 2.5 stencil), Dia, MagicDraw, UMLet, Visual Paradigm, Star UML and more. But nothing can beat Rational Rose so far in UML model for OOAD. Such a simple and wonderful CASE tool.

I also suggesting you to watch some flash video tutorial to create Use Case, Class, Sequence, Collaboration and Statechart diagram using Rational Rose from D.Bowden – University of East London personal homepage.

Until we meet next time. Wassalam…

WordPress : How to fix Inove Theme footer

Hi there! INove WP theme by NeoEase are my most favourite theme and sadly this theme has been retired. The last update was version 1.4.6, released on 2009.

If you are using WordPress 3.9+, you probably will get a warning about missing argument on function wpdb::prepare() which affected you website to display the copyright year on footer section. So I would like to share how to fix this problem :)

First of all, you need to modify footer theme file (wp-content/themes/inove/footer.php) and find this line of code as below :

$post_datetimes = $wpdb->get_row($wpdb->prepare("SELECT YEAR(min(post_date_gmt)) AS firstyear, YEAR(max(post_date_gmt)) AS lastyear FROM $wpdb->posts WHERE post_date_gmt > 1970"));

Then select all of thus code and replace it with this code :

$post_datetimes = $wpdb->get_row($wpdb->prepare("SELECT YEAR(min(post_date_gmt)) AS firstyear, YEAR(max(post_date_gmt)) AS lastyear FROM $wpdb->posts WHERE post_date_gmt > %s",'1970'));

Save and upload it back to your web server. Now try to access you website. The warning notice are now gone. That all.

P/s : Actually, INova was my Wordpress theme before I migrate to Blogger, such a sweet old times memories.

Take 5 before five

“Take benefit of five before five; your youth before your old age, your health before your sickness, your wealth before your poverty, your free-time before your preoccupation and your life before your death.”

Introduction

Welcome to my personal blog. This is first first post. I am very excited to have my own website to share something usefull as amal jariah (benefaction) to the world and creating a strong portfolio for my future career, InsyaAllah.

Currently, this blog are self hosted and using WordPress CMS hosted at google blogspot services. Actually, I started with Drupal but only just for 1 month because not satisfied with bugs then moved to WordPress, after 2 month, I realized WordPress updates make me sick, now I just stick to blogspot which is simple and easy, no more headache for me. Don’t ask me why I choose this domain name (kriptonium) because it just randomly pop out from my mind.

Alright, that all for now. Wassalam..