McNealy no longer has an executives page on Oracle.com. He also sent To be honest, this is not a note this founder wants to write. Sun, in my mind, should have been the great and surviving consolidator. But I love the market economy and capitalism more than I love my company. In other words, for 7.4 Billion dollars, you win (not that I’d blame him too much). Then Jonathan Schwartz sent a letter to Sun employees that ended: So thank you, again, for the privilege and honor of working together. The internet’s made the world a far smaller place–so I’m sure we’ll be bumping into one another. That sounds like…
-
-
Using the cut Command
A number of commands available for finding positions that you want in a line and extracting only a certain amount of text can be pretty cumbersome in terms of learning curve. This isn’t to say that once you get the hang of them that they’re terribly complicated but it can take a little while to get the hang of them. And when you need something fast, you might want an easy command for extracting text from lines. In these cases, consider cut. The cut command doesn’t do regular expressions (I guess you could argue that its ability to use a delimiter can be used as a regular expression) and so…
-
Monitoring Amazon ec2 Instances
InterMapper has a solution for monitoring instances of the popular Amazon cloud solution, ec2. Using InterMapper’s Cloud Monitor, you can monitor up to 5 virtual machines that are running for free. If you are just getting started and find that you would like some visibility into the performance of your ec2 instances then this solution is one that will allow you to get into the testing and management without having to incur a large expenditure. And Cloud Monitor is build on top of Amazon’s Cloud Watch, meaning that it provides the most granular and up-to-date stats available for your instances, based on Amazon’s own tools. I’ve been finding that when…
-
Lots of new stuff: Command Line Wiki Integration
The Mac Commands page and the PowerShell Commands page are both now wikis and users with accounts on this site can edit them. Additionally I added a number of new pages worth of commands, FTP Commands, Windows Commands, Final Cut Server Commands, Amazon S3 Commands, Podcast Producer Commands and Xsan Commands; both of which are wikis as well.
-
Google Chrome OS Videos
-
Delete All WordPress Comments
WordPress uses MySQL as a back-end. I’ve seen a number of scenarios where someone was comment spammed. The comments weren’t approved and so never appeared on the site, but they were starting to fill up the MySQL database given that there were about 40,000 in one case and about 55,000 in another. In order to trash them you can use the following query from mysqladmin (once connected to the database of course): DELETE FROM wp_comments WHERE comment_approved = ‘0’
-
VirtualBox 3.1 Out & Tested
The latest version of VirtualBox is out and it supports a whole slew of bug fixes. In fact, the latest VirtualBox fixes a very specific problem that I’ve been struggling with, which is the fact that iSCSI LUNs greater than 2 Terabytes would not mount (not that I have many LUNs greater than 2TB in my lab but occasionally it does come up). When running on Mac OS X, the following other bug fixes are also included: X11 based hosts: allow the user to specify their own scan code layout (bug #2302) Mac OS X hosts: don’t auto show the menu and dock in fullscreen (bug #4866) Mac OS X…
-
Basic Git Usage
Previously we looked at installing Git on Mac OS X. Now let’s take a look at using it. The first step is to add a new local git repository that looks to a remote repository. In the following example I’m going to add a local repository called custom-safari based on the git repository at packages/custom-safari on git.krypted.com. git remote add custom-safari git://https://krypted.com//packages/custom-safari.git Next make sure you’re using the latest from the repository: git pull Then checkout from the master git branch: git checkout -b custom-safari/master Now pull the files you’ve checked out: git pull custom-safari master Now you can do your work. Edit the files, wok on them and when…
-
Clariion/Navisphere CLI
A Clariion can be managed using the /opt/Navisphere/bin/navicli command. You can obtain information about the environment using the -h option followed by the IP address of the IP of the Clariion and then a number of get verbs. For example, to get all of the settings for the Clariion at 192.168.210.88: navicli -h 192.168.210.88 getall Or to get LUN information navicli -h 192.168.210.88 getlun You can also use getagent, getarrayuid, getcache, getconfig, getcontrol, getcrus, getdisk, getlog, getloop, getrg, getsniffer, getsp, getsptime and while it doesn’t start with get, lunmapinfo will obtain information about the LUN mappings. For example, to see a LUN mapped to a UID using the same host…
-
php from the Command Line
Using php at the command line isn’t an exact science in regard to which scripts that run in a web page will function from the shell. However, if you are automating many tasks, such as how you would go about with a shell script, then php is a nice alternative to other languages. To get started, let’s look at the version of php that we’re running. A quick way to test this is type the following from the command line. php -v This should result in something like the following message, which includes the version of PHP you are running and the current date: PHP 5.3.0 (cli) (built: Jul 19 2009…