SEEDS Technologies : New World Wide Web Order – jQuery
Just wanted to first let everyone know that SEEDS Technologies website has been redesigned a bit and includes the jQuery Content Slider to keep things fresh on the homepage. It is still in development progress, and me being so busy on other projects at the moment it gets updated piece by piece, day by day.
So, what I wanted to discuss is jQuery. jQuery has really revolutionized the web world and brought order to a stateless protocol. I love it! It has been many many times that I say to myself, this new age web world rocks! Back in the day I could only dream of this era, and here it is. I am curious to here from everyone some of the sexy and hip things they are doing with jQuery for their applications. After stumbling onto some javascript engineer job posting, it is no doubt that the trend and growth of this library is straight up.
Recently, with some spare time I have been developing jQuery plugins and trying out new code. Aside from hearing what people are doing, I was wondering if anyone has a good idea they would like to share for a jQuery plugin that they need written.
Anyhow, kudos to the library and I enjoy it everyday! Web development is sooo much better with it!
Custom Magento Module for CMS Page
Today just wanted to discuss how to make a custom Magento module that will allow you to make your own blocks to load into a CMS page using the layout updates. Really not going to get in depth in the the Models and controllers part of the module creation, going to save that for another time.. anyhow here it is.
First let's create the file to enable the module in magento :
app/etc/modules/{Namespace}_{ModuleName}.xml
<?xml version="1.0"?> <config> <modules> <[Namespace_ModuleName]> <active>true</active> <codePool>local</codePool> </[Namespace_ModuleName]> </modules> </config>
Next, we are just going to create a configuration file to define the Block configuration only at this point, for our module :
app/code/local/{Namespace}/{ModuleName}/etc/config.xml
<?xml version="1.0"?> <config> <global> <blocks> <[namespace]_[modulename]> <class>[Namespace]_[ModuleName]_Block</class> </[namespace]_[modulename]> </blocks> </global> </config>
Now, let's go ahead and create our own Block class code to define the object used for our CMS/template page.
app/code/local/{Namespace}/{ModuleName}/Block/MyBlock.php
<?php class <Namespace>_<ModuleName>_Block_MyBlock extends Mage_Core_Block_Abstract { public function __construct() { parent::__construct(); // any instantiation code here } protected function _toHtml() { // by overriding this method, you can define here everything you will render to browser, and use the inherited methods and accessors i.e. - $this->get[ParamName]() return $html; } }
Last thing is to just throw this line into the CMS page content text area to load this custom Magento Block module.
{{block type="[namespace]_[modulename]/myblock" param1="value" param2="value"}}So, that's it in a nutshell.. I will expand on this later for those who need more =)
Distributed Company From Concept to Reality
This is a great idea, something that has been in my brain for some time now. It is nice to see it is working the way it should. Not only can software be developed with scalability, now even a company structure can be articulated to allow for scalability as well. Check the article and see what I'm talking about : 5 reasons why your company should be distributed.
Intel Calls 2012 The Year Of Mobile WiMax Iteration 2
Why WiMax?
WiMax is Worldwide Interoperability for Microwave Access, for those who have not heard. This technology will allow for the masses to experience high bandwidth data interchange. Below is an article I had come across on PCWorld.
" Chip giant Intel, a major backer of the movement to provide mobile WiMax wireless broadband to Internet users around the world, expects the next major release of the technology to be deployed starting in 2012, an executive said Tuesday.
"Standards work will be completed by the end of this year," said Rama Shukla, a vice president and director of the WiMax program office at Intel, during a news conference in Taipei.
The new Mobile WiMax standard, 802.16m, will replace 802.16e and offer far faster download and upload speeds. The new technology will provide users 170M bps (bits per second) download speed and 90M bps upload speeds, according to Intel data, and will be fully backward compatible with 802.16e. Users will be able to use the service even while traveling at speeds up to 350 kilometers per hour, he said.
Current WiMax network operators are offering service packages for 16Mbps download and 4Mbps upload on networks using 802.16e technology.
Shukla said that this year, estimates for the number of global WiMax subscribers range from around 6 million to 10 million, led by users in the U.S., Russia and Japan. Most of those users are turning to mobile WiMax for laptop computer use. "We see very strong momentum [for WiMax] in notebook PCs today," he said.
The earlier 802.16d version of WiMax is not called mobile WiMax because it was made for devices in fixed locations, not devices on the move such as smartphones in hand or laptops inside a moving train.
WiMax is competing with mobile phone-based wireless standards such as HSPA (High Speed Packet Access) and LTE (long term evolution) for wireless data services. WiMax is currently at a disadvantage because networks are just now being rolled out in many places and do not yet cover a significant part of the globe, unlike mobile phone networks, which cover much of the world's population.
In Taiwan, for example, WiMax wireless service provider Vmax Telecom covers Taipei, but its network does not extend outside the capital city. Meantime, Chunghwa Telecom, the island's largest mobile phone service provider, offers HSPA throughout Taiwan. WiMax promises download and upload speeds significantly faster than those on a mobile phone network in the future, but the mobile phone industry is also hard at work boosting performance to maintain its edge. "
-- this references verbatim the PCWorld Article
Also, another helpful resource is of course the WiMax Wiki.
Windows NT 4 PDC Server + VMWare Server Migration (p2v)
Project Background
Had a customer come to me, needing to upgrade his old server to new hardware since he was having hardware issues on the old machine, and couldn't part with his software, data, and applications on his old server. This server was an NT 4 Service Pack 6 primary domain controller, file server, application server, and print server. Needless to say it was his entire company's backbone, and it was critical that this operation succeeded and without problems. Below is how I managed to pull this one off.
Now the great opportunity of migrating over an old Dell Poweredge 2300 server fitted with a single SCSI hard drive, tape drive, and Windows Small Business Server 4.5 (Windows NT 4 Server Service Pack 6). Below is an outline of how I performed this just in case anyone needs to reference this, or I do later, heh :
Project Tools
Tools I used for the Job:
- New Physical Server running Windows Server 2003 Standard in a software RAID 1 configuration.
- Adaptec SCSI controller with drivers installed on new server.
- A HPDB68 Ultra wide SCSI-3/ Ultra2 LVD SCSI SCSI cable.
- VMWare Server 2.x installed on new server.
- VMWare Converter Standalone 4.0.1 installed on new server.
- Acronis TrueImage Enterprise 9.x installed on new server.
- PowerISO to create a network adapter driver cd image.
And away we go...
First I powered down the physical server. Some would normally go in and disable network adapters, add Microsoft loop back adapter, and the like to conform with VMWare Converter Best Practices, but I was in a hurry =)..
Apache Redirect HTTP to HTTPS
This article explains how to redirect a HTTP request to HTTPS so you ensure your visitors are always using an SSL enabled connection with the Apache web server. This requires first that you have in your httpd.conf configuration file the SAPI module "mod_rewrite" un-commented and working, and of course that you have mod_ssl working also. Then all there is to it is create an ".htaccess" file in your servers document root. The file should contain the below :
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R]
Also, there is another method. Simply append to your httpd.conf file these lines :
SSLRequireSSL
Redirect permanent / https://www.domainname.com/
Hope that is of some help to some of you.
SmashTheStack.org IO Level-2
This post is to show how I completed the smashthestack.org's first episode io level 2 challenge.
*Update* It has been stated that this post is verbatim to deadc0de's prior blog posting on the net, and to respect this author you may also want to read his solution and article here.
*Note* This post assumes you have basic knowledge of shell commands, linux x86 assembler, C programming, disassembly, and the GNU Compiler Collection.
Open any SSH Client and connect with :
host : io.smashthestack.org -p 2224
user : level2
pass : <found from level 1>
Once logged in, you will see the MOTD and the basic instructions. Change directories to appropriate one (levels).
level1@io:~$ cd /levels
Slackware 12.2+Ruby on Rails
This morning I wanted to setup RoR on my slackware bawx to create some RAD stuff, so of course the first place I looked was Google and found a link to Chip Cuccio's tutorial on setting up the environment in Slackware12.2, great! However, I didn't want to hand compile everything as he had mentioned, since this is on my development workstation and I have lots of other pre-configured servers running already, plus I knew I already had most the components installed, so I then turned my attention to SlackBuilds.org to locate some slackbuild scripts. After a quick search located and downloaded all the components I needed for a successful install! w00t w00t! Below is just a quick thrown together howto to show how I did it.
CodeIgniter a PHP Framework
After searching around for a good PHP framework to produce rapid web applications for clients, I had come across CodeIgniter's solution. From my intial exposure last year to now, this framework has proven time and again to be an asset in assisting me to get jobs done. Out of the box it has database abstraction, MVC architecture, optimized PHP 5 object-orientation, superb documentation, and a great community. This framework has won me over, even with my anti-framework attitude. After trying to find flaws and pulling the code base apart, finally I gave in. This is a tool added to my belt for sure.
Slackware 13.0 Released!
This morning I found out Slackware 13.0 was released! Woohoo! I currently use 12.2 and have been an avid slacker since version 7.0 way back in `99. Wow a decade has passed since then, and my OS offers 64-bit now! Makes me really excited and also makes me feel old. =)
So I will be put some more posts up on this, especially my experiences with it when I take it for a test run, until next time ...
