Technology

Technology

08 Jan 2013

bash history date/time stamps

By default, the bash history does not keep tabs on the time of day that a given command was run. But it is really as simple as defining ONE environment variable: "HISTTIMEFORMAT" This from "Linux by Example": HISTTIMEFORMAT takes format string of strftime. Check out the strftime manual to choose and construct the timestamp that suit your taste. My favorite is "%F %T ". export HISTTIMEFORMAT...

23 Sep 2010

Dell 5224 Password Reset

The documentation doesn't appear to give this up very easily: to reset to Factury Defaults, you'll need to restart the switch while having a serial console open, and hit CTRL-F (lots of times) until the boot completes, and it drops down to a boot-rom style prompt. One of the options once you see that is "Reset to Factory Defaults?" select that and reboot. At the login prompt the next time, y...

19 Sep 2010

Fixing the Twitter module in Drupal

The Twitter module for Drupal now needs to use the new OAuth module for authentication in Twitter. This has broken many web sites. I use this feature on this site to automatically post a tweet whenever I add a new blog entry. I use a global account in Drupal to do it, rather than individual Twitter accounts for each drupal user. In order to get the Twitter module to work now, you'll need...

02 Apr 2010

Windows Live Mail - the missing menus

Those out there that use(ed) Outlook Express should know that there is no such thing in Windows 7. Also true in Vista, where "Windows Mail" was released. Yet another major change for Windows 7: the new (free) email client is called "Windows Live Mail" and the most annoying new "Feature" is the missing menus. To see the old menu you are looking for; hit the "ALT" key by itself. Then, th...

31 Jan 2010

.bashrc functions to do repetitive tasks

A cool thing to do if you find yourself doing something LOTs of times: Edit your ".bashrc" (in your home directory) and create your personalised script as follows: wch() { sudo chmod 774 $1 $2 $3 $4; sudo chown www-data.www-data $1 $2 $3 $4; } Then you can execute the command "wch" with parameters to execute the commands you want. Very cool......

07 Dec 2009

IPV6 Address Space - It's BIG

I thought this was an interesting analogy for the IPV6 Address Space: From: http://www.cedmagazine.com/ipv6-a-catalyst-for-service-growth.aspx Putting the contrast into perspective, if one IPv4 address was one picometer (one trillionth of a meter) long, the entire IPv4 address space would be approximately 4.3 millimeters long–the length of an average-sized ant. If an IPv6 address were one pico...

27 Nov 2009

Google Chrome OS ho-hum? I think not.

Article: "Google Chrome: The Official Start of the Cloud Era" Author Lawrence Walsh says: "Google Chrome is being dismissed by competitors and analysts, but it may just be the official beginning of the cloud computing era by freeing users from big, heavy PCs and operating systems." I commented on his article as follows: I think the ho-hum reaction you are referring to comes from the paid c...

24 Nov 2009

A fantastic medley of modules for the discerning drupal developer

A featured story on drupal.org: Case Study of OpenTheMagazine.com In the story, we get a fantastic closeup view of the drupal modules used and the reasoning behind their use. For a young Drupal developer/user, it is a very useful article. The "Heroes" of the site were considered to be Views 2, CCK, & for search, Apache SOLR. The list below of other drupal modules used by the site is excerpt...

Subscribe to Technology