Recent Updates RSS Hide threads | Keyboard Shortcuts

  • Josue R.

    Git Publish to shared server (eg: GoDaddy ssh)

    Josue R. 10:34 pm on July 12, 2010 | 0 Permalink | Reply

    As a web developer, there’s nothing more I hate than not having the right tools to get the job done quickly or at an optimal speed. Aside from that, many hosting servers, for example GoDaddy, makes it even frustrating to work without access to version control and sometimes without SSH access when your clients hosting plans is on a shared plan. Not able to use Git (or SVN which ever you prefer) makes it a pain in the ass to commit changes, update the site quickly and show your talents.

    So you know what I did of course, yes you do. I created an alternative tool that would alleviate the suffering of having to use FTP each time to update the website. I present to you my version of Git Publish to GoDaddy shared servers and the likes:

    The script is very simple to use, just edit your SSH settings within the file then open up that trusty terminal window and run as such:

    sh Git_Publish_To_Shared_Server.sh

    The script will archive in a file the latest git commits since you last did your Git Push. It will secure copy the archived (tar.gz) file to your SSH server, then extract the archived file and update your remote files instantly.

    The script checks if the current repository is clean or dirty, which will warn you in case its not clean. After you’ve commited your changes locally, its time to upload the most latest changed/added files to the website hosting via SSH. But don’t worry too much, the only thing the script asks you each time is your ssh password. (No, it does not store the password nor send it over to me) … just take a look and see how tiny yet useful it will be to you.

    Happy Hacking.

     
  • Josue R.

    Miami will freeze before Hell does

    Josue R. 7:43 pm on January 10, 2010 | 2 Permalink | Reply

    Just into the mid winder season, Miami is blasted with one of its coldest night ever. Snow flurries have been reported in the last several days but tonight there will be a freeze warning through out most of South Florida, with temperatures reaching in the low 30′s. Over “200 manatees are swimming in heated water” and “Florida’s citrus growers were on alert to protect crops in their key 9.3-billion-dollar-a-year industry“.

    I have lived in Miami for well over 22 years and only once have I felt this kind of weather breeze by. Every year I suspect and hope for winters like the one I’m experience this moment, but frankly, I wasn’t prepared. I even put whatever small shirt I could find to cover my dog with. And even though these are crazy times we live in, global warming affecting us and living each day as it were our best. Even if Hell doesn’t freeze yet, at least we can all be prepared at some point.

    So people of South Florida and North America, don’t forget to put on some extra layers of clothing, cuddle with the love ones and protect your beloved pets. Fire up those heaters and put on a great movie, along with a cup of marshmallow hot chocolate. As the night is upon us now, I am reminded of the lyrics and cheerful holiday song to “Oh the weather outside is frightful …. Let it snow, Let it snow! Let it snow!“, so enjoy this great song:

     
  • Josue R.

    Ubiquity - PHP search & preview (updated)

    Josue R. 11:43 pm on August 18, 2009 | 0 Permalink | Reply
    Tags: ,

    As you know from my last post on Ubiquity and PHP, I love to search and use the add-on like a mad-man, but i just could not get PHP search fully implemented for all functions, so i’ve updated the darn plugin. It is version 0.4 because that’s where i feel it was last best iterated, without my trusty SVN enabled.

    Whats new?

    Well for starters, the PHP search algorithm (and its very simple indeed, just take a peak) can now search for all existing functions (atleast from what i’ve tested so far). If the function you searched was misspelled or incorrect, it fails nicely into the default “PHP Function List” search results, as PHP.net current does for your convenience.

    Second, sometimes when I search for php functions, I don’t necessarily need to view all the content of the function page, that is: code usage, examples, notes, parameters and user contributed notes. So what do I do in this case? I simply give it an parameter action after the function name to just display that section.

    Usage before:

    Start Ubiquity and type “php strstr” … notice how it just returns all the code block usage, examples, etc. Also notice how the scrollbar appears, I hate that.

    Usage now (with only examples):

    Start Ubiquity and type “php strstr examples” … notice how it just returns only examples.

    You can return everything with param action “all” or by sections “description”, “notes”, “comments”.

    Go ahead, give it a try and let me know what you think. If you’re a web developer, please feel free to extend it even more via Github.

    View the Ubiquity PHP command and install it here.

    PHP Search Tips:

    Displays function & examples: {FUNC}
    Displays only description: {FUNC} desc or {FUNC} description
    Displays only parameters: {FUNC} params or {FUNC} parameters
    Displays only notes: {FUNC} notes
    Displays only user contibuted notes: {FUNC} comments
    Displays All: {FUNC} all

     
  • Josue R.

    Google Voice + iPrint = Free Biz cards

    Josue R. 5:47 am on August 2, 2009 | 0 Permalink | Reply

    So you want free business cards, you say? And want to have you Google Voice number too, eh? Don’t hesitate any longer and grab your free business cards from Google.

    I happen to see an ad for free printed business cards on my Google Voice account, so I wanted them now. It took me to iPrint’s website and ask me to fill in a few fieldsĀ  (business name, address, email, etc) and iPrint (Google’s partnered printer) gives you the real-time proof of your cards. Submit your order through the cart and expect them in 10 business days via USPS (free shipping too). Happy networking.

     
  • Josue R.

    Stargate Universe - trailer#2

    Josue R. 6:19 pm on July 26, 2009 | 0 Permalink | Reply

    I have been a loyal fan of Stargate (call me a fanboy if you’d like) since the theater showing of the original movie. Counting the years since, it has been more than 15 years and even still I’m more into the franchise then ever. My anticipation for the spin-off Stargate Universe is beyond words after having watched the second trailer of the show. I felt a wave of bliss, satisfaction and energy with all the hints, dramatic scenes and special effects the Stargate team have in stored for us dedicated fans and newcomers.

    Well, enough for now. I will write more about the show as it comes and certainly be talking about the previous series’ (Stargate SG-1 and Atlantis), because after their ending finales, there is still much to talk about, theories to contemplate and questions unanswered. Especially my questions between the alliance of four great races, their technological relationships and advances.

    Below is the Stargate Universe trailer # 2 for your viewing pleasure:

     
  • Josue R.

    Ubiquity: Search & preview PHP string functions

    Josue R. 2:54 am on July 15, 2009 | 1 Permalink | Reply
    Tags: firefox, ,

    If you love Ubiquity and constantly develop with PHP but hate referring to the online docs like i do, then this command might save you seconds on your productivity. Simply search for a basic string function and get the reference and example of the particular function. I’m hoping to expand to all documentation of PHP in the near future.

    Usage: PHP strstr

    Install via Ubiquity here.

    This command has been updated with action parameters, click here for more details.

     
    • teratips 3:46 am on July 17, 2009 Permalink

      its looking great post, thanks and also appreciate your Idea on my blog TeraTips.com

  • Josue R.

    First!

    Josue R. 10:30 pm on June 30, 2009 | 0 Permalink | Reply

    My thoughts are everywhere. It is better defined as motionless and meta-physical in a virtual space, like the Web.

    Care to read my thoughts, then follow me via Twitter. Have a hunger for photo’s and still moments? Why not check out my gallery collection in Flickr.

    It helps knowing people who love their careers as much as I do, so I enjoy connecting with others who share the same interests in innovation, information technology and creative solutions. Their passion and dedication to improve in skill strives me to do the same. So let’s make a connection through LinkedIn, and lets shape a brighter future.

    There is more to come in the near future. You will know more about my ideas, inspirations and the people who influence me.

    See you soon, for now.

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
esc
cancel