I am not the tidy soft of person. In fact, I hate doing housework. But something about untidy codes really irks me. Recently, we adopted the use of crucible as a code review tool. It revealed a whole lot of badly formatted codes in our projects.
I am not the tidy soft of person. In fact, I hate doing housework. But something about untidy codes really irks me. Recently, we adopted the use of crucible as a code review tool. It revealed a whole lot of badly formatted codes in our projects.
After doing quite a bit of development in Joomla, I was getting used to the very friendly J!Dump to list out all the objects value in a dhtml tree format. Recently, I have been tasked to customise some e-marketing product codes. Hmmm… sounds like I needed something handy like J!Dump…
Thankfully, there was Krumo. Once Krumo has been installed properly, you can do a dhtml tree dumb of an object values with 2 simple lines:
require_once(’Krumo/class.krumo.php’);
krumo($dumpObject);
Some screenshots to illustrate the power of Krumo:
Tada… the entire dhtml tree of the object:
The installation is also mightily simple. Just download the entire Krumo project and dump it into your php include path.
Needed to help a client retrieve certain files from the web server through FTP and the default Windows FTP just does not work…
Decided to download a ftp client, FTP Voyager for the job. For the 30 day trial version, it can be downloaded here.
Step 1: Click on the Connect Link
Step 2: Click on Create a NEW site profile and Finish
Step 3: Enter Profile Name and click Next
Step 4: Enter either IP Address of Domain Name to connect to and click Next
Step 5: Click Next Again. Do not check Anonymous Login
Step 6: Enter FTP User Id and Password and click Next
Step 7: Select the folder which you will want to transfer your file to and click Next
Step 8: Click Finish
Step 9: Just click and drag across the files between remote server and your computer.
Well, with limited memory on my computer, I needed an easy way to access the table data and perform simple CRUD operations on it. I ended up trying DBViewer.
Update Site URL for DBViewer is at:
http://www.ne.jp/asahi/zigen/home/plugin/dbviewer/
After installing the plugin, you will also need to install the JDBC driver as well for DBViewer to work. Installation of the JDBC driver is at:
Do not be mislead by the seemingly htm download. Inside the htm file, they will provide a link for u to continue on with the real download… :P
Upon successful Installation:
Data Editing Capabilities
I just hating with for my Visual Studio to recover from its periodic hangs. I was thinking about it.. man. why not I just do the .NET development on my Eclipse IDE? Surely, all I need is a XML editor for the front end files, i.e. .ascx and a .NET editor for the CSharp codes?
Well, for the XML, I can easily use the Eclipse built in ant editor. For those that have installed the enterprise version of eclipse, I think they did include a pretty good HTML editor plugin as well.
For CSharp there is not so much choices. Guess we will need to go with Emonic. They do provide quite a decent CSharp editor.
Emonic - http://emonic.sourceforge.net/updatesite/internap/site.xml
If you have worked on a DNN project, one of the problems are that the images entered using the HtmlModule is hardcoded with the location of the context path. This essentially means that any changes in the context path of the web application will result in a tonne load of missing images.
Well, I did remember that MySQL had some simple string replace function to address the problem… and after some surfing on the net… wola… The solution to changing all the image path:
update dbo.dnn_HtmlText set DesktopHtml = REPLACE(Cast(DesktopHtml as NVARCHAR(4000)), ‘/aapaf/Portals/0/banners/side’ ,’/aapaf2/Portals/0/banners/side’);
Yes… I know this is not rocket science… just wanted to blog it down here to remind myself during the migration process… and hopefully.. who knows? It might just help some frustrated soul in the future…
Well, our blog had been down for some time after some meddling by me I guess. Did not have time to fix it till today… Just could not stand the site of the error message anymore….
Some other minor stuff that I kind of figured out today was this date time mismatch on my windows machine when I do some PHP date(d-M-y) stuff. I realised that the php.ini actually sets your timezone.. and if it kind of mismatches what you have set in your computer… you will get the mismatch.
Wanted to find out about that quite some time ago.. but alas… it a world so busy… its really getting hard to find the time to deeply understand things…
The idea is cool.. but the wordings of the video… well, I liked it so much as to type out everything…
We start our story with the invention of the modern day computer…
Over the years, computers grew in numbers and the next natural step in their evolution is to connect them together.. to share things.
And as these little networks grew into huge networks, some computers gain more power than the rest and call themselves servers.
Today millions of people are connected online at the mercy of middlemen who control the servers of the world.
Its okay.. but we want more…
We want our computers to be first class citizen on the web, allowing for collaboration, online gatherings and sharing of information that does not require servers belong to strangers.
If we can achieve that, a whole new whole of possibilities opens up on the web.
At opera, we want to put you on the web.. so that you can interact directly with who you want.. how you want.
Welcome to Opera Unite. The web you know… just re-invented.
If you are an avid programmer on Eclipse, there will be many times, when you will need to access a folder on eclipse via the traditional Windows Explorer. I have been searching for a plugin like this for no avail for a long, long, long time….
Finally, it has arrived… and it works like magic. Basically with this plugin, we can just highlight the folder and trigger the Windows Explorer screen by using a shortcut key -> Ctrl + Alt + E. (Just in case you do not know.. the Microsoft Key + E is the traditional way of triggering a default Windows Explorer.. so I find this new arrangement very intuitive… )
Windows Explorer Plugin: http://startexplorer.sourceforge.net/update