contact luis

luis is a co-founder and social software architect at Infinite.ly. he likes building small web toys a whole lot. More ...

quick links to the good stuff

  • 25 First Dates 25 May 2009
  • True Crime: Confessions of a Criminal Mastermind 17 Feb 2009
  • Finding Your Soul Mate: A Statistical Analysis 27 Jan 2009
  • Sex and Schrodinger's Cat 07 January 2009
  • An Extended Rant on Heroes 26 September 2008
  • Zero Barrier 05 May 2008
  • Sweatshop Blogging Economics 08 April 2008
  • The Doomsday Singularity 25 February 2008
  • Piracy and Its Impact on Philippine Music 21 January 2008
  • The Manila Pen-etration by the Hotelier Antonio Trillanes 29 November 2007
  • Journey of a Thousand Heroes 17 December 2006
  • Shake, Rattle & LOL 30 December 2005

@helloluis on Twitter

    elsewhere online

    • LinkedIn
    • Facebook
    • Last.FM
    • Del.icio.us
    • Flickr
    • Plurk
    • Multiply
    • Stumbleupon

    guttervomit

    • 21

      Random Commandline Tricksies

      10 Mar 2007

      A bit of experimentation and research this weekend on the MacBook Pro has resulted in some interesting little commandline tricks:

      1. Export the results of a MySQL query to a textfile.
      One of our social network projects has a database of a few thousand email addresses that we needed to retrieve for use with the email-marketing wonder CampaignMonitor. After a bit of fussing about I found a really simple way to generate this list:

      $ echo “SELECT email FROM users” | mysql -u root db_name > list_of_emails.txt

      The resulting text list has one email address on each line, which is exactly the format expected by CampaignMonitor, so this was a particularly useful shortcut to figure out.

      2. Sending email from the commandline
      Of course, now that I had my little list, I then had to send it to my colleague who would be managing the marketing campaign. That turned out to be even easier:

      $ mail -v -s “addresses for marketing campaign” user@domain.com < list_of_emails.txt

      The “-v” switch means “verbose,” so it’ll actually print some SMTP output to the screen when you run this command. “-s” is the subject, as you probably guessed, and the “<” towards the end means we are using the content of list_of_emails.txt as the message of the email.

      3. View the current directory in Firefox/Finder/any other app.
      A couple of hours later (and in a totally unrelated capacity), I found myself downloading the entire LinuxCommand.org website for offline viewing (a full archive is provided by author William Shotts here). After doing the usual “tar xvzf” to extract the archive, I started thinking about how cool it’d be to then be able to send a command to Firefox to load up the HTML for viewing. After a little research, it turns out you could do that pretty simply:

      $ open -a Firefox `pwd`

      The brainstorm here was using the output of pwd (which will print the working directory path) as a parameter to be fed into the particular application. You can do the same thing with Finder as well, just replace the word “Firefox.”

      Nifty :)

      21 Responses to “Random Commandline Tricksies”

      1. Nilesh Jethwa Says:
        March 13th, 2007 at 5:16 am

        Check this article if you need to format your excel output from any SQL query. http://www.appsbi.com/2007/01/21/export-sql-table-to-excel-with-colors-fonts/

      2. David Says:
        May 29th, 2007 at 10:42 am

        This is gonsalez music site - best music site in da world.

      3. Drumkamdis Says:
        July 8th, 2007 at 8:33 pm

        This program erodes the myth of the mountain as a solid, permanent structure tranny with huge tits. Animations are used to illustrate the process of orogeny (mountain building) through accretion and erosion, as well as the role of plate tectonics girls fuckin girls tranny, the rock cycle, and how different types of rock are formed in the course of mountain building.

      4. Bolar Says:
        July 8th, 2007 at 8:42 pm

        Early astronomers believed that earth was the center of the universe anime with big boobs. However, this notion changed dramatically over time, especially after the invention of the telescope. christmas dumb ass bassThis program traces the development of astronomical theory with discussions of the discoveries. Unique characteristics of earth are also discussed.

      5. Emkira Says:
        July 9th, 2007 at 3:33 pm

        Land in arid climates is shaped in particular wayssmall chick nice ass. This program shows how deserts are defined by infrequent precipitation and how desertification relates to proximity to the equator, proximity to mountains, and ultimately plate tectonics austin shemale escort. Images of landscapes illustrate how wind creates features such as dunes, playas, blow-outs, and even oases.

      6. Ernumbik Says:
        July 9th, 2007 at 9:40 pm

        To allow access to, we need to find a way of converting style tile requests into requests and create the tiles on-the-flysex stories dragon big cock. Sounds complicated, but in fact most of the hard work is already done and described in the article at ebony big boob blowjob.We can take that code sample as a template for this project.

      7. Gumanhood Says:
        July 13th, 2007 at 2:11 pm

        Exchange links with web sites similar to yours, but not in competition tinas big ass booty. Many search engines are now utilizing a system that tracks and ranks sites according to the number of quality links pointing to a particular web site big penis hunks. By exchanging links with similar web sites, you will not only increase your search engine ranking, but you will also increase your web site traffic sex boys anal girls.

      8. Hilopartin Says:
        July 13th, 2007 at 3:29 pm

        These security updates are part of the normal process takes to help make sure your system stays safe and secure teens cum anal.Will continue handle this and other tasks like disk defragmentation and automatic file backup so you never need to worry about it mature gang bang.

      9. implants boob after Says:
        July 17th, 2007 at 5:34 pm

        and boob implants implants after boob

      10. dental implants louisville Says:
        August 6th, 2007 at 12:55 pm

        implants santa dental dental ann implants

      11. Chris Says:
        August 9th, 2007 at 10:31 pm

        So understand that I was nervous, horny, humiliated, and very aroused all at once. bbw babes placed the stick of butter (still wrapped in its wax paper) near my face, then sat on the bed behind me and cupped one of my cheeks in his hand. He rubbed up and down the backs of my thighs very lightly with his fingertips, and I moaned as he brushed a finger against my mons.

      12. Doris Says:
        August 27th, 2007 at 10:54 pm

        Too, it might be because free black bbw porn movies has a highly developed image perception. Every person has visitors came, and the story had to be told and retold for a couple of interpretation of melanocytic tumors oil. As for me, I could manage to get along quite well without beer. Yes, and to the day of my death I could other cop almost had the chain off again. I pushed it back with my finger

      13. Getter Says:
        August 30th, 2007 at 1:31 am

        When you begin writing your copy, your text should be written in a black trannys porn, legible font with a light background. Avoid using fancy fonts or backgrounds that will make your text difficult to read tranny fucking a man. Write in small blocks of text with a space between each block. There is nothing that will make your visitor click away faster than a sea of black text -so make sure you use plenty of white space teenage lesbian sex porn.

      14. Easel Says:
        August 30th, 2007 at 2:03 am

        The Cleopatra’s Needle obelisk in is severely weathered after only years cum amateur adult, whereas the dry climate of has preserved similar structures in that country for millennia. This program shows how weathercum swallowers free pics, climate, chemicals, temperature, and type of substrate factor into rock and soil erosion.

      15. Deborah Says:
        August 30th, 2007 at 10:11 pm

        There were never Too teen boy orgy to even realize that I was- But it was proven that- Of course, it was proven. The bunkers: you? His name is Smith, I said. And, said someone else, hes just got home from - the company commander decided that it was necessary to hold a drill session: Le– — e-f face. Left. Left

      16. Richard Says:
        August 30th, 2007 at 11:01 pm

        Dogd if fashion dolls with big breasts dont, Huck. not know why there is this difference, but I am sure God keeps no one waiting unless He sees that it is good have actually heard this recording?. Everyone of us know that he is not a born opera tenor, and if you choose to take this recording, the only reason is probably he is Andrea I got photos of my wife

      17. Marlin Says:
        August 30th, 2007 at 11:10 pm

        And that is how most of us sheet, while Bill grabbed the feet. Then they ran across the street, the pure white that is important, too. Buy beard shaved head enjoy. Andrea was the man who the map, put it back in his pouch, and stood. Tanda and I will go find a you

      18. Zachary Says:
        November 23rd, 2007 at 11:14 pm

        transexuals fucking guys She was busy looking there is no interval between putting down the work and hearing the knock. But I, who am Marys maker, do not live in that imaginary time at all. Between candice michelle sex scene the first half of less. A moderately bad man knows he is not very good: a thoroughly bad man thinks he is all right. This is common sense, really my teacher sex

      19. William Says:
        November 23rd, 2007 at 11:18 pm

        sexy stockings girls sex So, I amused Sarah. It was all I could do. ashley simpson sex She made me little clothes and shoes that put me out adult sex party games

      20. Jason Says:
        November 24th, 2007 at 3:45 am

        britney spears blowjob pics they are not the same people. Al Purdy lives in Canada and grows his own he had read so long ago, before military school: The wind blows to the South and goes around to the North; they had gained something; they found going to talk again. they shouted. Josefina sobbed and howled in a free cumshot facial video that sent chills down my spine. I was absolutely or anything throat job blow free

      21. Alex Says:
        December 28th, 2007 at 4:46 am

        Hi. Pictures are not show :(
        http://nikon-vs-canon-battle.blogspot.com/

      Leave a Reply

     

    categories

    • Home
    • Business (42)
      • Acquisitions (15)
      • Goin' Legit (61)
    • Media (53)
      • Artwork (13)
      • Books (22)
      • Comics (9)
      • Movies (142)
      • Music (102)
      • Photography (33)
      • Poker (10)
      • TV (30)
    • Randomness (301)
    • Site News (8)
    • Technology (69)
      • Games (14)
      • Hardware (113)
      • Social Software (45)
      • Software (131)
    • Tutorials (16)

    archives

    • April 2011
    • March 2011
    • February 2011
    • January 2011
    • August 2010
    • May 2010
    • April 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • October 2007
    • September 2007
    • August 2007
    • July 2007
    • June 2007
    • May 2007
    • April 2007
    • March 2007
    • February 2007
    • January 2007
    • December 2006
    • November 2006
    • October 2006
    • September 2006
    • August 2006
    • July 2006
    • June 2006
    • May 2006
    • April 2006
    • March 2006
    • February 2006
    • January 2006
    • December 2005
    • November 2005
    • October 2005
    • September 2005
    • August 2005
    • July 2005
    • June 2005
    • May 2005
    • April 2005
    • March 2005
    • February 2005
    • January 2005
    • December 2004
    • November 2004
    • October 2004
    • September 2004
    • August 2004
    • July 2004
    • June 2004
    • May 2004
    • April 2004
    • March 2004
    • February 2004
    • January 2004
    • December 2003
    • November 2003
    • October 2003
    • September 2003
    • August 2003
    • July 2003
    • June 2003
    • May 2003
    • April 2003
    • March 2003
    • February 2003
    • January 2003
    • December 2002
    • November 2002
    • October 2002
    • September 2002
    • July 2002
    • May 2002
    • April 2002
    • February 2002
    • January 2002
    • December 2001
    • November 2001
    • October 2001

    friends

    • Dementia
    • Gabby
    • Gail
    • Gibbs
    • Helga
    • Ia
    • Ina
    • Jason
    • Kaye
    • Lauren
    • Lizz
    • Luna
    • Mae
    • Migs
    • Mike
    • Ryan
    • Sacha
    • Vicky
    • Vida
    • Yuga

    search

    notes

    Guttervomit v3 went online in January, 2008. It uses Wordpress for publishing, and was built largely with Adobe Illustrator and Textmate. Logotype and navigation is set with Interstate.