Posts

mysql revoke privileges

Just to take this note that to revoke a privilege in MySQL, you need to execute the command below, mysql> REVOKE ALL PRIVILEGES, GRANT OPTION FROM 'dealme'@'192.168.1.1'; mysql> flush privileges; and specifying the HOST/IP address would allow the user to be validated and verified by its IP allowing to connect into the host, i.e. remote logged in which can be done by the grant command below. mysql> GRANT ALL ON *.* TO 'dealme'@'192.168.1.1' IDENTIFIED BY 'dealmepassword' and the command above will allow the user to connect to all database and with all privileges granted. This can be seen by querying into the database. mysql> use mysql mysql> select * from user where User='dealme' \G \G would view the result vertically.

GraphViz error with SchemaSpy

Just want to notify this myself, if encountering this problem [below], Failed to query Graphviz version information   with: dot -V   java.io.IOException: Cannot run program "dot": error=2, No such file or directory Just install Graphviz  and this will gone.

tcpdump - just for my notes

Well, I just want to put this to my blog for my own sake. tcpdump -nq -s 0 -A -vvv -i eth0 port 80 Thanks to tcpdump.

Frequency, Period, Amplitude and Wavelength

Frequency is the number of waves per unit time. Period is the reciprocal of that - the duration of a single wave.  Amplitude   is the magnitude of the wave - how high it goes on the y axis.  Wavelength is basically the same thing as period - the length of a single wave on the x axis.

Dying Moslem see Jesus: Is Jesus the Son of God?

Muslim sees Jesus in Toronto, Canada by Geoff Waugh on Monday, September 5, 2011 at 6:34am Nasir Siddiki Left to Die By age 34, Nasir Siddiki, a successful businessman, had made his first million, but money meant nothing to him on his deathbed. Diagnosed with the worst case of shingles ever admitted to Toronto General Hospital , his immune system shut down and doctors left him to die. The next morning I woke in a sterile room on the eighth floor of the hospital, my skin burning as though someone had doused me in gasoline and lit a match. I felt on fire from the inside out. My doctor arrived and looked at me in wonder. “The blisters are multiplying so fast I can literally watch them grow,” he said. ‘”Your body isn’t fighting back.” The next morning, in addition to shingles, I had chicken pox from head to toe. I was put in strict isolation. That evening my temperature soared to 107.6 degrees — hot enough to leave my brain permanently scrambled. For days I continued to deter...

Using Oracle 11g thru VirtualBox appliance in Mac OS X Lion

Image
I just found that its quite a lot of handy work to make Oracle work in Mac OS X Lion. Currently, I have this quite cool machine with good memory anyway, so I decided to step the easy way, than the "too-much-time-to-work way". So, I just decided to use VirtualBox with Oracle's pre-built virtual appliance with Oracle 11g Enterprise Edition. To use this, I use the steps below. 1. Download VirtualBox at http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html 2. Download the virtual appliances at http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html then just follow the steps. 3. I added some specific ports, since I access it thru  NAT so whenever I am, it's easier for me just to hook up my virtual appliance and turn it on. So you can issue these command in your terminal, $> VBoxManage modifyvm "OTN Developer Days" --natpf1 "ssh,tcp,,2222,,22" $> VBoxManag...

Steve Jobs very promising and inspirational legacy he left for us!

I just found this article posted  by  Horace Dediu For my own reference, I copied it because this is truly inspirational that I can get back and read this how many times, still very inspiring. Steve Jobs didn’t Steve Jobs did not create products. He created an organization that predictably and reliably created emotionally resonant products. Steve Jobs did not make movies. He made a company that predictably and reliably made blockbusters. Steve Jobs did not wrest market share from competitors. He created new markets that attracted and sustained competitors. Steve Jobs did not design anything. He gave others the freedom to think about what jobs products are hired to do. Steve Jobs did not re-engineer processes. He brought engineering processes to works of creativity and the creative process to engineering. Steve Jobs did not develop new management theories. He showed by example that innovation can be managed. Steve Jobs was not a visionary. He put the dots tog...