Learnings

Posted by Jessica Sun, 10 Jun 2007 16:11:00 GMT

I have a corporate job now—Java Development. It is all good. (^_^)

Having this corporate job means developing on Windows machine(s), which means for me brushing up on DOS commands.

attrib: change file permissions
path: print your path variable
services.msc: open the services console
netstat: lists ports in use

I don’t think there is a need for this command in NT, XP or Vista, but I used to use it all of the time.

doskey: allows you use commands previously entered

Additionally, I now need to start using dos2unix & unix2dos.

Other things that I have learned recently:
  • Shift + Alt + B in InkScape—> traces bitmap (i.e. gets path/shape of some existing bitmap object)
  • I’m turning my dev box into a web server and am working on putting a stack together. Although I would love to try something cool and new like Nginx, I think I would be better off sticking with what I know (i.e. Apache). More about my first webserver later.
  • I’ve started a document about the Freelance Web Development Process with questions for the client that I found on the web, as well as links to design resources.
  • To find firefox shortcuts… enter the following line in the browser address bar: chrome://browser/locale/help/shortcuts.xhtml
  • Convert m4a to mp3 with these two lines…
faad foobar.m4a 
#converts m4a to wav
lame foobar.wav foobar.mp3  
#converts wav to mp3

More, more, more…

  • HTML space =  
  • Firebug
    1. Ctrl + Shift + C open web developer css
    2. Ctrl + Shift + L open command line
    3. Ctrl + Shift + K focus on search box
  • Cygwin & the Find command: In order to use the find command in cygwin, you must make sure that c:cygwin\bin; is before SystemRoot\system32
  • To deal with the firefox can’t center tables issue… add extra empty columns & have colspan across those columns
  • Jsp files are converted into servlets that are then compiled into .class files; I am guessing that other frameworks work in a similar fashion.
  • To my future selves, please remember that if you are getting a 500 error on a typo blog, make sure to check the file permissions for the log files at least thrice; they must be set to 755.
  • Screengrab is a firefox extension that does screen captures. Cool!!!
  • RAD7 requires that a target server be set for all projects.
  • The easiest way to search for a jar file by package name is…
    1. if the jar is a websphere or homegrown jar, navigate in cygwin to a sufficiently small directory where you think the jar might be and execute the following command: find . -name \. | xargs grep this.is.your.package
    2. if the jar is open source, enable javacious & google the package name.

NTFS and FAT compatible... finally

Posted by Jessica Fri, 02 Feb 2007 01:03:00 GMT

My problem

  • Had an external hard drive that I used with my MS Windows machine.
  • Got a new linux machine.
  • External hard drive did not allow linux machine to write to it – because hard drive is NTFS.

How could I write to external hard drive from linux machine without re-formatting the external hard drive?

My solution

The only instruction I would add to this tutorial is that you must have properly ejected the external hard drive from your Windows machine in order for Edgy to mount the drive.

mac ipod vs. windows ipod on linux

Posted by Jessica Fri, 26 Jan 2007 16:43:00 GMT

I have discovered that mac ipods (those that have been restored to factory settings on a mac) are read by Ubuntu as read-only, which means you can’t change the music on a mac ipod from a Ubuntu machine [1]. Alternatively, windows ipods (those restored on a windows machine) are read/writable, which means you can upload new music to that ipod.

I figured this out after reading the ipod linux (a version of linux that runs on your ipod) installlation instructions. ipod linux requires that the ipod you want to install ipod linux on is a windows ipod. Since we don’t have a working windows machine at my house, I used a windows machine my husband brought home from work and restored the ipod to its factory settings on it. Thinking that the reason that ipod linux requires that windows ipods be used, I plugged my ipod up to my linux machine and tada, it wasn’t read-only!


1: I didn’t think about this until later, but I am guessing that I could have changed the device’s permissions using sudo. I thought I had tried that, but I guess I didn’t do it correctly.


designed by jowensbysandifer