Tag: Software

Useful OS X Terminal Commands

As usual, last Sunday night, my Powerbook decided to come down with a really strange problem. It slowed to a crawl and for a moment I thought my hard drive was dying a slow death. However Disk Utility, showed no problems at all, so I was a bit puzzled by the problem. Eventually after deleting cache files with Cache Out X and rebuilding Prebindings and Spotlight databases, everything was back to normal. Apparantly it does not matter if I run Windows or OS X, I still end up doing computer maintenance at late hours of the night, when I could be sleeping.

I found these terminal commands handy. Unlike third party utilities, you can run these on any up-to-date OS X system.

To update Prebindings manually:

sudo update_prebinding -root / -force

To delete the Spotlight database from the boot volume:

sudo mdutil -E /

To run Software Update from terminal:

softwareupdate -l

To install Software Updates found:

sudo softwareupdate -i -a

Notes: Prebindings usually do not have to be redone, as OS X does this automatically, but if you are having a strange problem; rebuilding might help. Deleting the Spotlight database forces OS X to rebuild it right away, so it is best to let the computer sit overnight while it indexes the vloume. Spotlight is a feature of Mac OS X 10.4. For Software Update, terminal will not prompt for restart, so you must remember to do this after the updates are installed.

To Disable DMG File Verification:

defaults write com.apple.frameworks.diskimages skip-verify true

Filed under: Mac OS XTagged with: , , , , , , , , ,

Web Authoring Software

One of the first steps to making a website is of course creating it, and not every webmaster starting out knows HTML and CSS. Yes, it may surprise you but many web sites are actually made by non-programmers. Mostly I think because, programmers do not always write good content, so a competent writer can output plenty of good content, but he or she does not know how to design the web site. This is where web authoring software comes in. This allows people who can make great content, publish it easier. Although the web site that comes out of web authoring software may not be as polished or as pixel perfect as a manually coded web site, it still is a web site and it is the content that matters in the end.

There are today a variety of web authoring packages that can give you a website in a very little time. For the most part they can be divided into either one of these categories: applications and scripts.

Dreamweaver and Nvu

Applications were once the only way to make a website for non-coders. The most popular application being Macromedia’s Dreamweaver. This expensive piece of software can help you design a website in less time and has extra features for more skilled webmasters that can help with programming languages like PHP and ASP. Of course, if you can’t afford Dreamweaver, then Nvu is probably the application for you. Nvu is based on the old Netscape Composer module and does most of the basic things that Dreamweaver can do. In between Dreamweaver and Nvu are all sorts of other applications, many are HTML editors that are for intermediate webmasters.

Web Blogs & Scripts

Scripts are programs that can create entire web sites for you, once you install them and add your content. The web blog is the most famous type of script program that webmasters use. A web blog is made up of two interfaces, a backend system that allows a webmaster to administrate and add content to the blog and a front end which is the rendered web site. Even though web blogs help organize content and make easy to publish it, you still have to install and setup the weblog software to start out with. That was until services like Blogger came around, that allowed anyone to setup their own blog without needing to install anything.

Most other scripts that are not web blogs, are multiple user based. Meaning they can handle multiple authors or administrators. These scripts are usually called Content Management Systems or CMS for short. For a while the CMS was very popular, but the rise of web blogging scripts like WordPress and MovableType have made content management systems less desired by webmasters who only want to publish personal sites.

Choosing Between The Web Blog or Static Web Site

Web blogs have the advantage of easy publishing, but many webmasters still choose to use Dreamweaver to put up sites, because Dreamweaver outputs actual files that they can backup and change. Web blogs are in fact complicated and if you make a mistake and mess up their configuration, it usually means the entire site is down until you fix it. Static files from Dreamweaver won’t have that problem. Using a web blog service too has its downsides. If you depend on a free web blog service, your site may disappear overnight without explanation. Your content may be lost or unreachable in the process. It is important to note that if you value your content, you are better off setting up a proper web host and domain for your web blog. This way you have more control over your content and down times.

More Resources

Macintosh based applications:

Filed under: Web Site BasicsTagged with: , , , , , ,

Switching Firefox Software Update

If you are using Firefox nightly releases and the Software Update feature no longer downloads the latest nightly, you might want to read about Update Channels. Apparantly Software Update has multiple update urls you can use, referred to as update channels. There’s even a handy Update Channel Changer Extension that you can install to make the process of switching urls easier.

Filed under: FirefoxTagged with: , , , , , , , , ,