Bambang Puji

Little notes to share

  • Home
  • About
  • Brain Tuner
  • My aStore

Installing Oracle XE in ubuntu

posted by bambangp in April 25th, 2009 
in IT, Ubuntu   Tags: Oracle, Ubuntu, web

There are so many links you can visit to installing Oracle XE over internet or you can even ask google, but at this posting I would to share my experience how to install Oracle XE using ubuntu Intrepid Ibex, my own console.

First of all, you should provide your public key by generate it using pgp. Simple step of making it you can go to this link: http://ubuntuforums.org/showthread.php?t=37086, thanks to Kassetra to provide useful information :). After generating your public key, you can see your key on Application > Accessories > Passwords and Encryption Keys to make sure that your key is available. Go to http://pgp.mit.edu to add your key on the server and check whether your key is saved properly.

Open terminal, then get the Oracle public key using this command:
wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle
sudo apt-key add RPM-GPG-KEY-oracle

Once again, make sure that the Oracle public key is installed well on your box by opening “Passwords and Encryption Keys”. Go to Other collected keys tab.

Add this line to your /etc/apt/sources.list using your favourite editor.

# Oracle Repository
deb http://oss.oracle.com/debian unstable main non-free

Save, and exit. Then update the package repository database
sudo apt-get update

Now install the Oracle Express packages, include Oracle Express itself and the client

sudo aptitude install oracle-xe oracle-xe-client

Above command will install these software

  • libaio
  • oracle-xe-client
  • oracle-xe
  • oracle-xe-universal

It may take several times, about 1 hours depends on you internet connections.

After all, you have to configure your XE
sudo /etc/init.d/oracle-xe configure

And the final step, you can see your XE in action by opening your fave browser and goto
http://127.0.0.1:8080/apex

Reference:

  • http://mediakey.dk/~cc/ubuntu-howto-install-oracle/
  • http://ubuntuforums.org/showthread.php?t=37086
  • http://ubuntuforums.org/showthread.php?t=361809
  • http://www.oracle.com/technology/tech/linux/install/xe-on-kubuntu.html

email this

Add to deli.cio.us

Digg it

Permalink

2 Comments

More spam in my WP

posted by bambangp in April 25th, 2009 
in Daily   Tags: wordpress

After several week I never been logged in on my WP, there are hundreds of spam in my comment box. And the bad things is: I have to delete it one by one and page per page..Damn!! It was a tired job for me. So I’m so sorry if there any comment from you I’ve been delete. :) Now you can still give me comments, but I would check it before I approve your comment off course.
Finally, thanks for visiting my web. :)

email this

Add to deli.cio.us

Digg it

Permalink

No Comment

Monster Mesh, 3D Javascript without Flash

posted by bambangp in March 28th, 2009 
in Cool site, IT   Tags: algorithm, Google, Javascript, web

Spending so little time blogwalking at Googlecode blog, I found a really impressive good work from Mr. Dean McNamee, a Google Chrome contributor who has been behind the scenes on improving Chrome base libraries, security, stability, and performance.

He recently develop Monster Mesh, a custom 3D rendering engine written in JavaScript. So he called this experiments “exercise for his right brain”.. :) Yeah, so awesome his right brain exercise.. I feel never thought it before for my right brain exercise.
He said, the real tricks is making this 3D perform well on high-level language running in the browser, not writing the engine.

Originally, web browser doesn’t support native 3D graphics, the basis of this experiments is custom rendering engine written in Javascript. Using HTML5 canvas element, this process is a similar concept to early 3D game engines, before accelerating graphics cards handled the work.

Monster creates the mesh using software algorithms in real time while the demo runs. This has some nice advantages like decreasing download time, but it requires even more processing power to draw every frame.

Monster Mesh in action, only on Google Chrome:
Monster Mesh

For detail information, you may look at this site: http://www.chromeexperiments.com/detail/monster/
Source:
http://google-code-updates.blogspot.com/2009/03/monster-mesh-google-chrome-experiment.html
http://www.chromeexperiments.com/detail/monster/

email this

Add to deli.cio.us

Digg it

Permalink

3 Comments

Cool digital painting potraits

posted by bambangp in March 7th, 2009 
in Cool site   Tags: Imaging

What do you think, digital image potraits or painting? :D

Check closer for 40 Incredible Digital Painting Potraits.

email this

Add to deli.cio.us

Digg it

Permalink

No Comment

Creating Fish Eye Menu on javascript

posted by bambangp in March 7th, 2009 
in Daily, IT   Tags: Javascript

Regarding this cool site, I’d like to rewrite it back obviously. Thanks for Blake, author of creating fish eye menu posting on nerdparadise.

As we know, fish eye menu is such of mac style. On his posting, Blake shows how to create the same style using javascript, people often called dock. For those who love mac style, this style probably fun you.

Blake using mouse coordinates within a div filled with images, then scaled the image based on equation he created in terms of x-coordinate of the cursor within the div tag. The div is 700 pixels and has 9 icons in it and has 2 invisible spacer images on the end that are 50 pixel wide.

First, create function to find coordinates of image/object, Blake named this function findObjectCoords with parameter mouseEvent. This function should look like this:

function findObjectCoords(mouseEvent)
{
var obj = document.getElementById("fishyEyeGlubGlubImaFishWeee");
var obj_left = 0;
var xpos;
while (obj.offsetParent)
{
obj_left += obj.offsetLeft;
obj = obj.offsetParent;
}
if (mouseEvent)
{
xpos = mouseEvent.pageX;
}
else
{
xpos = window.event.x + document.body.scrollLeft - 2;
}
xpos -= obj_left;
setScale(xpos);
}

Then set scale for image on mouseOver. Image will set up into bigger size. Blake named this function setScale, off course the parameter is the object position.

function setScale(xpos)
{
var locations = [0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5];
for (var i = 0; i < 9; ++i)
{
// There are a few methods to my madness here, but this is mostly just
// calibration of trial and error to get it to "feel right"
var value = Math.floor(25 * Math.max(0,2 - Math.abs(((xpos - 104) * 1.2445 + 37) / 700 * 9 - locations[i])) + 51);
var image = document.getElementById("icon" + (i + 1));
image.style.width = value+"px";
image.style.height = value+"px";
}
}

The latest one, when mouse is not over the image, return the image size into normal.

function resetSizes(e)
{
for (var i = 0; i < 9; ++i)
{
var image = document.getElementById("icon" + (i + 1));
image.style.width = 50;
image.style.height = 50;
}
}

You can download full source, here. And look closer for demo, here.

Thanks for Blake for sharing this cool stuff.
Source: http://nerdparadise.com/tech/coding/javascript/fisheyemenu/

email this

Add to deli.cio.us

Digg it

Permalink

No Comment

Slumdog Millionaire review

posted by bambangp in March 1st, 2009 
in Review   Tags: Entertainment, film, Review

The story of Jamal Malik, an 18 year-old orphan from the slums of Mumbai, who is about experience the biggest daily of his life. With the whole nation watching, he is just one question away from winning a staggering 20 millions rupees on India’s “Who wants to be a millionaire?”. But when the show breaks for the night, police arrest him on suspicion of cheating. How could a street kid know so much? Desperate to prove his innocence, Jamal tells the story of his life in the slum where he and his brother grew up, of their adventures together on the road, of vicious encounters with local gangs, and of Latika, the girl he loved and lost. Each chapter of his story reveals the key to the answer to one of the game show’s questions. Intrigue by Jamal’s story, the jaded Police Inspector begins to wonder what a young man with no apparent desire for riches is really doing on this game story?

Continue reading →

email this

Add to deli.cio.us

Digg it

Permalink

No Comment

Melindungi file penting menggunakan MCrypt di Ubuntu

posted by bambangp in February 28th, 2009 
in IT, Ubuntu   Tags: algorithm, Enkripsi, Ubuntu

Setelah membaca blog mas Vavai di sini, saya jadi tertarik membahas penggunaan mcrypt di ubuntu. Isinya sih sama persis, hanya saja perintah instalasinya yg sedikit berbeda di ubuntu. Benar2 copas abis. hehehe :D

Sedikit penjelasan, MCrypt adalah pengganti package crypt() dan perintah crypt(1) pada lingkungan unix/linux. MCrypt berguna sekali untuk para developer yang mengembangkan sebuah aplikasi dengan cara memanggil fungsi yang terdapat di dalam MCrypt tanpa harus melakukan perubahan besar daam kode aplikasinya. Maksudnya, developer hanya tinggal memanggil fungsi yang telah disediakan, ke dalam aplikasi mereka tanpa perlu melakukan banyak perubahan di dalam kode program mereka. Hal ini juga mempermudah kita sebagai user untuk menggunakan MCrypt pada sebuah file untuk keperluan privasi, tanpa harus menjadi kriptografer.

MCrypt terinstal bersama dengan Libmcrypt, yang merupakan library dimana fungsi2 enkripsi di definisikan bersama mekanisme standardisasi dan bagaimana cara mengakses fungsi2 tsb.

Kalau di postingan mas Vavai, beliau mengintal menggunakan openSuSE via zypper, maka di Ubuntu instalasi MCrypt menggunakan apt-get. Berikut cara instalasinya:

sudo apt-get install mcrypt

tunggu hingga proses instalasi selesai dilakukan, anda dapat mulai memproteksi file2 penting anda. Contoh saya mempunyai file Presentasi_TA_Wildan.ppt, maka perintahnya secara sederhana adalah sbb:

mcrypt -a arcfour Presentasi_TA_Wildan.ppt

akan ditanyakan passphrase terlebih dahulu, setelah itu maka akan terbentuk file yg sama dengan akhiran ekstensi .nc, sehingga menjadi Presentasi_TA_Wildan.ppt.nc. Parameter a adalah jenis algoritma yang digunakan, dalam hal ini adalah RC4.

Algoritma lain yang dapat digunakan adalah rijndael(AES) 128 bit, 192 bit maupun 256 bit, twofish, blowfish, loki97, RC2, RC4, enigma, DES, dan beberapa algoritma enkripsi lain yang mungkin jarang terdengar, seperti wake, gost dan cast. Perintah yg dapat digunakan untuk melihat daftar algoritma yg tersedia adalah mcrypt –list.

Untuk mendekrip file yang telah terenkripsi, dapat menggunakan parameter -d disertai nama file berekstensi .nc yang telah di enkripsi sebelumnya, sehingga perintahnya menjadi

mcrypt -d Presentasi_TA_Wildan.ppt.nc

Maka file Presentasi_TA_Wildan.ppt dapat saya buka kembali :D

Untuk menggunakan algoritma hash, anda dapat menggunakan perintah spt ini:
mcrypt -h Presentasi_TA_Wildan.ppt

Tapi anehnya, untuk algoritma hash ini, bisa juga di dekripsikan, padahal setau saya algoritma hash adalah algoritma yang bersifat satu arah (one-way hash function), atau hanya bisa di enkripsi, tidak ada dekripsi. Mohon koreksi jika saya salah.

Perintah untuk mendekripsikan, tidak ada bedanya dengan perintah dekripsi pada algoritma standar.

mcrypt -d Presentasi_TA_Wildan.ppt.nc

Dan file yg terbentukpun juga sama dengan yg aslinya.
Beberapa algoritma yang dapat digunakan untuk hash adalah md[2-5], crc32, sha1, tiger, whirlpool, haval, dll.

Sayang dari semua algoritma tsb, algoritma buatan anak bangsa, BC3, tidak dimasukkan ke dalam pilihan. Padahal saya berharap juga BC3 dikenali oleh MCrypt sebagai salah satu alternatif algoritma enkripsi.

Sumber:
http://vavai.com/v2/2009/01/lindungi-file-penting-anda-dengan-enkripsi/
http://mcrypt.hellug.gr/
http://mcrypt.sourceforge.net/
Algoritma Enkripsi Indonesia BC3

email this

Add to deli.cio.us

Digg it

Permalink

2 Comments

New motorcylce for me

posted by bambangp in February 23rd, 2009 
in Daily, Life   Tags: Honda, motorcycle

For about 2 years I have been work at my current office. This month I was receive a retain. That is a new motorcycle. Another shape of transportation cost given by company to their officers who has dedicate himself for 1 year. Off course there are advantage and disadvantage of having new motorcycle. For those who love using public transportation, motorcycle could be one alternative transportation to ride and push the transportation cost. But for those who have motorcycle before, they might have the same feeling. Some people has switching it, other might selling it and get the money used for another purposes.

Honestly, for me, this kind is not quite different between using new motorcycle and the old one. They both have positive and negative side, but the one certainly is how they consume fuel. My new motorcycle is Honda Blade, AFAIK Honda motorcycle is one of the best for consuming fuel in efficiency side, CMIIW. No matter what the fuel is, Premium or Pertamax. FYI, I have been ride my old Honda Astrea from Sunter to Pondok Aren, Bintaro, this motorcycle has consume only 1/4 bar. Damn, nice distance, huh?

I wish my Blade can help me pass through the journey of my ’street’ life, just like Astrea did.

email this

Add to deli.cio.us

Digg it

Permalink

No Comment

Marriage invitation from many friends

posted by bambangp in February 22nd, 2009 
in Life, My thaught   Tags: marriage

February, one month from twelve month in a year, have a fewer days than other month. But I don’t really know the phenomenon happens within it in this year. Averagely, my close friends is about to having marriage in their young age (Do you think I am young or old? :P ). 25 years old maybe is the mature age for having marriage and ready for commitment to serious relationship, just like me, I am 25 years old, but marriage still being a plan. In my view, how could they having marriage at the same time, in a week and same days. At this time, I just having 3 invitation in this day. Last week, 2 invitation came to me. Then next week, although it is not February anymore, I will have 1 marriage invitation from my girlfriend’s friend. Accidental case, maybe.

Well, I might only can pray for their happiness, and wish they would be blessing and being soulmate forever. However, marriage is priceless event that nobody did not want to loose or missed, due to this is an unforgettable moment, so having marriage would be one of dream for people. OMG, I said those words just like I have been married before, but the fact is I am still single. :D

email this

Add to deli.cio.us

Digg it

Permalink

No Comment

Do you asthma? just sunbathing

posted by bambangp in February 21st, 2009 
in Health, Life   Tags: asthma, Health, sunlight

Once I read from Republika online, one of national newspaper from Indonesia, about health issue. I found interest article written in Bahasa Indonesia about asthma. Basically I have no asthmatic suffer or disease, but content of this article may be useful for you who suffering asthma.

For you living in the big city, pollution is one of our daily enemy. Especially for those workers using public transportation or motorcycle would feel uncomfortable when pollution is smelled everyday, when going to office and coming home. Except, they who have private car. They may close the window to avoid air pollution produce by buses. One of impact beside lung cancer, is asthma. Asthma can be caused by air pollution.

Vitamin D generated by our body helped by sunlight and food we eat in little portion is extremely vital for lung’s growth. So, Vitamin D produce by sunlight have relationship with lung’s in order to make good composition in someone’s health. In this case, Sunlight, have a big impact to produce vitamin D in the body, and they have function to push asthma itself. Don’t be hesitate to make yourself healthy by fairly sunbathing. But remember, don’t be excessive, it can damage your skin and one of the skin cancer reason.

Take your time in the morning at 8 o’clock till 10 o’clock, about 30 minutes to your body in order to absorb vitamin D produce by sunlight. It may helpful to generate new cell in your body to replace dead cell. In other case, sunlight might help you to develop Calcium useful for your bones.

Happy sunbathing!

Source from : http://republika.co.id/berita/32392/Kena_Asma_Berjemur_Yuk

email this

Add to deli.cio.us

Digg it

Permalink

Comments Off

« Older Entries

Subscribes to Rss Feeds

get latest updates on site news and site post

Blog Advertising - Get Paid to Blog Blog Advertising - Get Paid to Blog Blog Advertising - Get Paid to Blog

About

Silent worker, lots of dream but never realized, code lovers and VIP wannabe..

Tags

alexa algorithm asthma Enkripsi Entertainment film Google GRUB Health Honda Howto Imaging Javascript marriage matlab motorcycle Oracle pagerank plan Radiohead Review SEO sunlight tool Ubuntu upgrade video web Windows wordpress

Search

Recent Entries

  • Installing Oracle XE in ubuntu
  • More spam in my WP
  • Monster Mesh, 3D Javascript without Flash
  • Cool digital painting potraits
  • Creating Fish Eye Menu on javascript
  • Slumdog Millionaire review
  • Melindungi file penting menggunakan MCrypt di Ubuntu
  • New motorcylce for me
  • Marriage invitation from many friends
  • Do you asthma? just sunbathing

Recent Comments

  • bambangp » How to put Alexa's rank on your website
  • bambangp » Monster Mesh, 3D Javascript without Flash
  • SEO Elite Review » How to put Alexa's rank on your website
  • Keyword Elite Review » How to put Alexa's rank on your website
  • KattyBlackyard » Monster Mesh, 3D Javascript without Flash
  • KrisBelucci » Monster Mesh, 3D Javascript without Flash
  • John686 » Radiohead House of Card Making Video. No camera. N…
  • bambangp » Installing Oracle XE in ubuntu
  • With This Diet I Lost Thirty Póund… » Installing Oracle XE in ubuntu
  • bambangp » Radiohead House of Card Making Video. No camera. N…

Most Commented

  • Radiohead House of Card Making Video. No camera. No Film. New Video. (8)
  • Monster Mesh, 3D Javascript without Flash (3)
  • How to put Alexa's rank on your website (3)
  • Installing Oracle XE in ubuntu (2)
  • How to show PageRank on your website (2)
  • Melindungi file penting menggunakan MCrypt di Ubuntu (2)
  • Planning for 2009 (1)
  • Upgrading my wordpress from 2.6 to 2.7 (1)

Categories

  • IT
  • Ubuntu
  • PTC
  • clixsense
  • Life
  • My thaught
  • Blog
  • SEO
  • Health
  • Daily
  • Review
  • Cool site

Meta

  • Log in
  • Valid XHTML
  • Valid CSS
  • WordPress

Traffic & Rank



Page Ranking Tool







CO.CC:Free Domain

Recent Comments

  • bambangp » How to put Alexa's rank on your website
  • bambangp » Monster Mesh, 3D Javascript without Flash
  • SEO Elite Review » How to put Alexa's rank on your website
  • Keyword Elite Review » How to put Alexa's rank on your website
  • KattyBlackyard » Monster Mesh, 3D Javascript without Flash
  • KrisBelucci » Monster Mesh, 3D Javascript without Flash
  • John686 » Radiohead House of Card Making Video. No camera. N…
  • bambangp » Installing Oracle XE in ubuntu
  • With This Diet I Lost Thirty Póund… » Installing Oracle XE in ubuntu
  • bambangp » Radiohead House of Card Making Video. No camera. N…

Monthly Archives

  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • July 2008

Daily Archives

  • April 25, 2009
  • March 28, 2009
  • March 7, 2009
  • March 1, 2009
  • February 28, 2009
  • February 23, 2009
  • February 22, 2009
  • February 21, 2009
  • February 1, 2009
  • January 31, 2009
  • January 28, 2009
  • January 10, 2009
  • December 25, 2008
  • July 19, 2008
  • July 15, 2008
©2006-2009 Bambang Puji
Designed by Elegant WP Themes
Valid XHTML and Valid CSS