Tag Archives: lists

how to: boot a vmware machine via command line

19 Dec

I’m using vmware 6, so I don’t know if this works in 5 or server editions.

vmware installs a script called vmrun that allows you to perform almost anything you need to do on a vmware machine pragmatically.

sidney@my-host:~> /usr/bin/vmrun
vmrun version 6.0.4 build-93057

Usage: vmrun COMMAND [PARAMETERS]

Authentication flags
-gu
-gp

POWER COMMANDS           PARAMETERS           DESCRIPTION
start                    Path to vmx file     Start a VM or Team
                         or vmtm file
                         [gui|nogui]
stop                     Path to vmx file     Stop a VM or Team
                         or vmtm file
                         [hard|soft]
reset                    Path to vmx file     Reset a VM or Team
                         or vmtm file
                         [hard|soft]
suspend                  Path to vmx file     Suspend a VM or Team
                         or vmtm file
                         [hard|soft]

SNAPSHOT COMMANDS        PARAMETERS           DESCRIPTION
listSnapshots            Path to vmx file     List all snapshots in a VM
snapshot                 Path to vmx file     Create a snapshot of a VM
                         Snapshot name
deleteSnapshot           Path to vmx file     Remove a snapshot from a VM
                         Snapshot name
revertToSnapshot         Path to vmx file     Set VM state to a snapshot
                         Snapshot name

GUEST OS COMMANDS        PARAMETERS           DESCRIPTION
runProgramInGuest        Path to vmx file     Run a program in Guest OS
                         Program
                         [Program arguments]
fileExistsInGuest        Path to vmx file     Check if a file exists in Guest OS
                         Path to file in guest
setSharedFolderState     Path to vmx file     Modify a Host-Guest shared folder
                         Share name
                         New host path
addSharedFolder          Path to vmx file     Add a Host-Guest shared folder
                         Share name
                         Host path
removeSharedFolder       Path to vmx file     Remove a Host-Guest shared folder
                         Share name
listProcessesInGuest     Path to vmx file     List running processes in Guest OS
killProcessInGuest       Path to vmx file     Kill a process in Guest OS
                         process id
runScriptInGuest         Path to vmx file     Run a script in Guest OS
                         Interpreter path
                         script_text
deleteFileInGuest        Path to vmx file     Delete a file in Guest OS
                         File
createDirectoryInGuest   Path to vmx file     Create a directory in Guest OS
                         Directory path
deleteDirectoryInGuest   Path to vmx file     Delete a directory in Guest OS
                         Directory path
listDirectoryInGuest     Path to vmx file     List a directory in Guest OS
                         Directory path
copyFileFromHostToGuest  Path to vmx file     Copy a file from host OS to guest OS
                         Path on host
                         Path in guest
copyFileFromGuestToHost  Path to vmx file     Copy a file from guest OS to host OS
                         Path in guest
                         Path on host
renameFileInGuest        Path to vmx file     Rename a file in Guest OS
                         Original name
                         New name

GENERAL COMMANDS         PARAMETERS           DESCRIPTION
list                                          List all running VMs
upgradevm                Path to vmx file     Upgrade VM file format, virtual hw
installtools             Path to vmx file     Install Tools in Guest OS

Examples:
  vmrun list
  vmrun upgradevm w2k.vmx
  vmrun reset w2k.vmx soft
 

Yippie!

the crunchies are back

3 Dec

Nominations for the 2008 crunchies are open, get to nominating

Readers are invited to nominate their favorite product or company in each of the fifteen award categories below. Readers can vote once a day until nominations end Wednesday, December 10, 2008 Midnight PST.

Five finalists will be selected for each award category and popular voting will run from December 15 – January 5, 2009 Midnight PST. The winners will be announced live at the award ceremony on January 9 in San Francisco.

Both start-ups and established technology companies are invited to submit themselves for consideration. Finalists will be selected by the Crunchies Committee based on their specific business accomplishments achieved during calendar year 2008.

The Crunchies 2008 » Nominations

Php: how to get base domain

8 May

The problem: take a url (in this case, we’ll specify an absolute url,
http and all) and return only the base domain. For instance, given
www.domain.com’ or ’sub.subdomain.domain.com’, it should return
‘domain.com’.

Simple
enough, but now consider: ‘http://www.example_site.com.pk’ or
http://damnlimies.co.uk’ or
‘http://username:password@this.is.a.worst.shortly.subdomain.thisIsMyMainWebsite.com.cl

It is an anvil upon which many a hammer has been broken:

http://lists.evolt.org/archive/Week-of-Mon-20031201/152316.html
http://www.webmasterworld.com/forum88/10656.htm

Anyway,
I think I have a solution. I won’t bother with the details of how I
arrived at it. Suffice to say, you just need to break down your own url
parsing process. It passed the battery of tests at the end:

Phosphorus and Lime: PHP: Get Base Domain

export itunes xml playlist to m3u

17 Dec

I’ve been using my dash more than my ipod lately, and found this app the best out of the ones i found for exporting my itunes playlists to m3u

http://www.ericdaugherty.com/dev/itunesexport/

comparing flash to windows media streaming

14 Oct

I’ve recently had a client that swears by windows media for steaming, and wanted to create a youtubish site using it. I helped him understand that flash was the best option, but then decided to look deeper into the debate to see what other people consider the pro’s and cons.

I now to most of us this is a no brainer, but hopefully it’ll help others, as this is the third client that has had windows recommended for either a video site or live streams.

myself I use swear by flash for live streams and video because:

  1. I’ve always hated embedded windows media
  2. it’s easy to handle
  3. has a great reach
  4. cross platform
  5. allows easy integration of additional features / channels
  6. can record streams on the fly, no client side software needed
  7. the only software a client needs is a browser
  8. me love flash long time
  9. cross browser

Flash lets me know that the majority of the users will see what we want them to right off the bat, and those that can’t are just a quick download / browser refresh away.

there isn’t really anything recent written on this subject, but here’s a few old pieces / comments. please note some of the downsides / negitives mentioned in these articles are nolonger valid.

both of the following comments are in reference to this one:
http://www.streamingmedia.com/article.asp?id=9363&c=5

It’s been about 14 years since streaming media technology was first used on the internet and, like it or not, after 14 years no single format is considered the standard for video delivery today. Competing formats from Adobe, Apple, Microsoft, and Real all still vie for market share across various business verticals and playback devices. For many content creators, confusion still reigns over which format or formats content providers should encode and deliver their content in.

Though Real and Apple’s QuickTime both have their fans, Microsoft and Macromedia/Adobe have won the bulk of both the B2B and consumer-content format market share. Which means people ask me all the time, “Which format is better, Flash or Windows Media?” With that question in mind, lets look at some of the differences between Flash and Windows Media that will assist you in making that decision. Compression specialists and engineers all have their opinions when it comes to comparing things like codecs, server options, and the hard-core technical details of each platform, but for the purpose of this article I am going to cover basic facts, not opinions.

from :
http://www.lostremote.com/2006/07/19/the-eternal-struggle-flash-vs-windows-media/

Downsides to Flash: No live encoding, no DRM, no way to download the file to the desktop (without some sneaky programs you can find, anyway), doesn’t scale up too well.
Downsides to WM: you need the plugin, it’s mean to Apple, Linux and other vociferous computer users, DRM haterz hatez it, Mo’Money to Redmond. Looking forward, Rayburn is right to frame the streaming debate in terms of WindowsMedia vs Flash. RealVideo is losing steam (more desk popups, please!), QT, despite Mac users unlimited love, will not be the standard. It’s WM vs Flash, and my money’s on Flash as it has been for several years. (This is where I would put the self congratulatory link to an archived story from the early ’00s where I predicted Flash as the next coming of video. Curse you, old platform!)

from:
http://www.fusionauthority.com/Views/4634-Flash-vs-Windows-Media-Looking-at-the-Facts.htm

Some of you may have seen Dan Rayburn’s recent comparison of Flash and Windows Media Video formats (Flash vs. Windows Media: Choosing the Right Format) on StreamingMedia.com. The author did a pretty good job of sharing the strengths of both platforms. However, I have some problems with some of his facts.

The first problem I have is that Rayburn states that the adoption rate of Flash is somehow limited to the media and entertainment markets. He also states that Flash has really become hot in the last twelve months. If you see where Flash has made its biggest advances in the last year, then it is obvious where he takes his opinion from. He has seen that YouTube and Google Video both picked up Flash video as their preferred method of distribution, and he marks them as the only places using Flash video. To assume that these two giant media sites would choose an underdog medium when making their mark on the web is almost too silly to consider.

Almost in the same breath, Rayburn challenges that Flash video is dwarfed in the Enterprise market by WMF (Windows Media Format) Videos. I wonder if the author has ever seen Breeze or Captivate. These tools leverage the Flash video platform, allowing you to create customized training and presentation packages that can be deployed on a large scale. These tools are made for the Enterprise Market, and were created to fill a need that was not being met by the current tools (WMF, for example).

another helpful read. a linux user speaks on flash:
http://www.beatniksoftware.com/blog/?p=69

task manager for OpenOffice.org

12 Oct

Linux.com :: A simple task manager for OpenOffice.org

If you spend most of your time in OpenOffice.org, you might want to be able to manage to-do lists and tasks without leaving the comfort of the office suite. Since Writer doesn’t have such a feature, you can create your own no-frills task tool and at the same time sharpen your OOoBasic skills.

In a previous article, we covered how to build a handy basket tool. You can use the same techniques when creating a simple task manager. The one we’ll build offers only three basic commands: add a task, view all tasks, and purge tasks.

This tool is part of Google’s Writer’s Tools extension, released under GPL. If you don’t feel like building a tasks manager from scratch, grab the extension and start experimenting.

Powered by ScribeFire.

mythbuntu : myth tv focused distro built on ubuntu

8 Oct

Can’t wait for my card to finally get supported.

Providing an Ubuntu based MythTV distribution that is easy to configure, maintain, and use. Mythbuntu 7.10 Public Beta Posted October 3rd, 2007 by Daviey The Mythbuntu team is pleased to announce the Beta of Mythbuntu-7.10. Together with this release, we’re opening the gates of our very own Mythbuntu forums at http://ubuntuforums.org/forumdisplay.php?f=301.

Please feel free to discuss and seek help with Mythbuntu. Please continue to report bugs to Launchpad https://launchpad.net/mythbuntu.
We’ve fixed a lot of bugs since Alpha 4 and also introduced some new features. Please see below for a list of new features and known problems. New Features For a quick summary of what you’ll see on this disk:

    *
  • Xfce based setup. No more openbox, it’s not even installed on the disk
  • *

  • Network Manager included. You can do wifi networks both during and after install with ease.
  • *

  • When quiting mythfrontend, you are brought back to an Xfce desktop. You can administer the machine from here and change all settings.
  • *

  • On CD Repository works properly
  • *

  • VNC can be installed from multiple locales on disk
  • *

  • Video drivers don’t pull from webhosts during install in any cases
  • *

  • ubuntu-mythtv-frontend isn’t used at all. All sessions are Xfce sessions, but all the benefits from the ubuntu-mythtv-frontend package have been merged into mythbuntu-default-settings
  • *

  • Lots of additional features for mythbuntu-control-centre. Extra administration options, package updates, reloading package lists.
  • *

  • Mythbuntu Installation can be performed directly from an existing Gutsy installation now via Firefox. See http://www.mythbuntu.org/existing-ubuntu for more information.
  • *

  • LIRC enhanced to support USB device hotplugging. The LIRC service will be automatically restarted. (You still need to restart client apps though such as myth and video playback applications)
  • *

  • New GTK theme. Based off of a clearlooks engine now instead
  • *

  • New usplash artwork.
  • Correct color scheme and placement are now used
  • *

  • mythbuntu-control-centre:

Check it out:
Mythbuntu

Powered by ScribeFire.

sites using wordpress part 1

27 Sep

Hopefullly others will help. i’m trying to get a list on professional / corporate, or mid to large size sites currently using wordpress. drupal has plenty of lists. but i’m mostly only finding lists of blogs that use wp, or design company’s that talk about making your wordpress site.

here’s my first stab, any other links are welcome. *note* don’t post more than two links in your comments

Designers:

http://www.onetwentysix.com/

Gossip:

http://truemors.com/

Tech:

http://www.techcrunch.com/

News:

http://living.cebunetwork.com/

Payment Services:

http://www.2checkout.com/community/

well i even made a category.

why is it so hard to find professional sites that use wp?

27 Sep

yes i pretty much ranted in the title. I’ve beeen trying to find lists like drupal has of sites using wordpress. no dice so far. i think i’ll start one

TheLastRipper: last fm recorder

24 Sep

last fm is pretty nice, if you haven’t checked it out yet you should. if you’ve ever wanted to download the mixes / streams from last fm here’s the answer.

the only issue i have with it, is that it doesn’t play sound (at least for me). last fm’s client side app can be open at the same time, but only one can access last fm at a time.

TheLastRipper can save Last.fm streams to mp3’s, while downloading album cover, appending ID3v2 tags and organizing you music after Artist/Album/Track. TheLastRipper will also help you generate playlists from the data available from you Last.fm account. TheLastRipper requires a Last.fm login, you can regsiter for free at http://last.fm/

if you’d like to use and artist it’s : lastfm://artist/Dream%2520Theater/similarartists/
replace spaces with %2520.

check it out :
http://code.google.com/p/thelastripper/