3 CANVAS SHOES LOOKBOOK FOR MEN
1. The Professional Look
2. Casual Dude
3. Party Fever
some rules are dumb
pernah dengar kat uitm ni ade masa yang dilarang utk keluar masuk, kiranya mcm curfew la. pukul 12 tgh mlm - 6pagi. nampak macam bagus, tapi tak pun sebab ade student yg sanggup bermalam kat luar sebab tak boleh masuk kampus.
kalau yg ada kereta tu, park tepi kedai mamak 24jam pastu tidor. kalau takde kete, lepak je la kat mamak ke, cybercafe ke. mcm org homeless. rulesnya konon nak elakkan org keluar malam, tapi lagi memalukan universiti je sebab student tido bersepah.
ade je rules lain yg bodoh aku pernah encounter, seperti rules asrama yg tak bagi student outing ke bandar tanpa parents. bukan semua sekolah berasrama (ehem) ade rules ni, tapi yg ada, aku mmg takleh brain la. katakanlah student tu parents dia tinggal jauh, tak dpt bawa anak dia pergi outing, so nak suruh anak tu mereput kat asrama ke. nasib baik aku pindah after a few years kepada sekolah asrama yg cool gila, lepaskan student diorg merayau every weekend. tapi within time limit. at least nak beli barang keperluan pun lepas la.
nak dumb rules lagi? entah la tak terfikir pulak yg lain. kalau sesiapa ade buah fikiran roger2 la.
ROT13 Cipher in ruby
this is my first try just changing the input string into array and substituting each character with case statement. you can try this script at labs.codeacademy.computs "-- ROT 13 encrypter--"def encrypter(x)z = case xwhen "a" then "n"when "b" then "o"when "c" then "p"when "d" then "q"when "e" then "r"when "f" then "s"when "g" then "t"when "h" then "u"when "i" then "v"when "j" then "w"when "k" then "x"when "l" then "y"when "m" then "z"when "n" then "a"when "o" then "b"when "p" then "c"when "q" then "d"when "r" then "e"when "s" then "f"when "t" then "g"when "u" then "h"when "v" then "i"when "w" then "j"when "x" then "k"when "y" then "l"when "z" then "m"else "ERROR"endreturn zendputs "Enter word: "word = gets.chompwordarr = []donearr = []wordarr = word.split("")wordarr.each {|y| donearr << encrypter(y) }puts "Result: "puts donearr.join
but i think i can do better, why not i try taking the value of character and adding/subtracting 13 instead. but then it was troublesome.
after some googling (or cheating) there is a simple way to do this... using the tr method
puts "Enter word: "word = gets.chompword.tr!("abcdefghijklmnopqrstuvwxyz","nopqrstuvwxyzabcdefghijklm")puts word
to make things a bit smarter, use method
def rot13(word)
word.tr!("abcdefghijklmnopqrstuvwxyz","nopqrstuvwxyzabcdefghijklm")
end
puts "Enter word: "
enterword = gets.chomp
puts rot13(enterword)
Programmer or engineer?
hope i can go through this course with no disturbance from PET. lol
this may be a turning point in my life where i would decide what i am
going to do after this. programmer or engineer?
tough decision... and now im stressed. -.-"
Travel log Pulau Perhentian
masa adalah anggaran shj
ahad
noon gerak ke kuala lumpur
8.30pm naik bus dari hentian putra. Bus Mentari ikut route ke Kuala Terengganu
isnin
6.30am sampai ke Kuala Besut, jeti. subuh, breakfast
9.00am tunggu bot ke pulau
9.30am naik bot
10.00am sampai ke pulau perhentian, long beach
letak barang semua.
jumpa dgn tour guide/management chalet abg sidi
11.00am mandi, kayak
12.30pm makan tgh hari.
1.00pm jungle tracking ke kincir angin. turun ke d'lagoon, mandi
4.00pm naik bot, balik ke long beach.
5.00pm rehat
8.00pm keluar, cari makan
2.00am rest
selasa
8.00am breakfast
10.00am snorkeling.
1.00pm makan tgh hari, village
4.00pm rest
6.30pm gerak ke coral bay
8.00pm makan
11.00pm balik, rest
rabu
8.00am mandi
10.00am kemas barang
12.00pm naik bot, balik
1.00pm sampai kuala besut, lunch, gerak ke perusahaan keropok lekor losong(sedap sengoti) dan jertih
3.00pm jalan-jalan pekan jertih, karaoke.
9.00pm naik bus, balik ke kl, bus mentari route ke gua musang
Plugins used by people making websites for companies
- Breadcrumb NavXT
- Easy Bootstrap Shortcode
- jQuery Lightbox For Native Galleries
- LayerSlider WP
- Ninja Forms
- Preserved HTML Editor Markup
- Revolution Slider
- Ultimate Coming Soon Page
- WPBakery Visual Composer
Reddit, you are funny
![]() |
| link: http://imgur.com/a/7qYHB |
then, i carried on with my life, going lectures, eat, sleep, eat.
open up reddit (damn i dont have a life) saw this
reddit. you are funny.
Installing libcups.so.2 and libpopt.so.0 in Fedora 64bit (x86_64)
with the 64bit arch support. So there are some things slowing my work
down, getting the printer to work! LOL
so my printer is Canon Pixma ip2770, i downloaded the rpm driver from
the official canon site. but then it gaves out an error....
error: Failed dependencies:
libcups.so.2 is needed by cnijfilter-common-3.30-1.i386
libpopt.so.0 is needed by cnijfilter-common-3.30-1.i386
so i checked google and knew that libcups got some thing connected
with cups-libs
and libpopt with popt
to solve this, you need to install cups-libs and popt but the 32bit package.
su -c 'yum install popt.i686 cups-libs.i686'
then try to install using the install script from Canon site, works
like a charm.
great web tool for calculating distance.
great web tool for calculating distance.
today jog about 3 km. haha. thats good for a beginner(for such a long time :P) hope this habit stays. :)
Setting up pidgin in UTP
setting of "Use old-style SSL", specifying a "Connect port" of 443 and
a "Connection server" of "talk.google.com" in the "Advanced" settings
of your account in Pidgin.
http://pidgin.im/pipermail/support/2010-November/008776.html
Workflow Penggunaan Microsoft Office pada Linux
1. Virtualbox
Dapatkan windows XP(sebab ringan dari Win7) dan virtual box.
Install windows XP dalam virtual box
Setkan sharing folder.
Install office
Guna office, bila selesai, save as pdf
Letak di sharing folder
Print guna linux.
2. Wine(mungkin tak stable)
Dapatkan installer office.
Install wine
Install office guna wine.
Gunakan office
Print(tak tau sama ada boleh atau tidak.)
Masalah wine, font rendering tak sama dgn windows, so takut dokumen akan nampak cacat.
Cheatsheet on APT (debian-based linux distro)
refresh this list of all available software and the versions of that
software from all available sources so that it can take advantage of
the most recent software updates and additions. Note that "apt update"
does not actually install any software, it simply informs the system
of what is available.
apt upgrade
download and install any available new versions of software that is
already installed on the system. If a new version of a package
requires an additional package to be installed, or if it requires an
existing package to be removes, "apt upgrade" will kindly let you know
that the upgrade is being held back. Under no circumstances will it
install new packages or remove any existing packages.
apt dist-upgrade
This command will perform the same function as "apt upgrade" however
it will install additional packages that new versions depend on, and
it will remove packages that cause conflicts.
apt install
install any available package by including the package name after the command
apt remove
Removing software is just the same as installing it except for one
word. Configuration files from the removed application will stay on
the system in case you later decide to reinstall the application.
There's really not much to it.
apt purge
This command is just like "apt remove" however it will remove any
configuration files associated with the application being removed as
well.
sudo dpkg -i
handles downloaded software packages from the terminal.
edited from
http://peppermintos.com/guide/software/






