Weekly Tweets for 2012-01-29
- Would be awesome if i could tell AWS to auto-increase my drives by 10GB each time i have less than 5GB on the drive. #
Stargate writers and producers, Joseph Mallozzi and Paul Mullie, have teamed up for a 4-issue comic series called Dark Matter. Here’s an official series description:
A derelict ship floats in space, its troubled crew awakened from stasis with no memories of who they are or how they got on board. Their search for answers triggers the vessel’s deadly security system: a relentless android bent on their destruction. Facing threats at every turn, they have to work together to survive a voyage charged with vengeance, redemption, betrayals, and hidden secrets best left unknown.
It’s said Joseph Mallozzi is pitching Dark Matter as “a high-end cable television series.”
Based on the official series description, I can only imagine it will be very familiar to the Stargate Universe (SGU) tv drama and character suspense with the touch of space missions.
I for one would love to see the SGU return but thats very unlikely. I’m quite sure it was in Mallozzi’s interest and the rest of the SGU crew to entertain us with many more amazing episodes and seasons. I also remember SGU was originally pitched as a five season series.
Hopefully Dark Matter can bring those same character plots and dramatic yet complex human interaction that was instilled in SGU from the beginning, which left us at the very end of it’s series finale with a memorable cliffhanger and endless questions.
If this is the alternative version of the Stargate Universe tv show set with a different format, space mission and badass enemies, I will personally take whatever these fine writers and masters of Space tv show drama and action scene they have to offer. I know many other Stargate fans would agree.
You can still watch every Stargate episode, season and every series on Netflix.
Stay tune here or read the article post from GateWorld for further details on Dark Matter.
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.
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
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.
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:
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
This command has been updated with action parameters, click here for more details.
its looking great post, thanks and also appreciate your Idea on my blog TeraTips.com
Jay Swain 12:57 am on October 13, 2010 Permalink
How did you get around the password prompt when doing the scp?
Josue R. 7:27 pm on October 13, 2010 Permalink
It doesn’t bypass the scp password prompt. I left it on the script so its safer to prompt than storing your password and piping it to scp. If you use this script on a server which you have SSH password-less access configured (aka your public ssh key on the server) then the password should not prompt you.
Massage Cushion 5:43 am on November 8, 2010 Permalink
godaddy is not always the best registrar, the private registration of godaddy is too expensive.
Electric Griddle 3:41 pm on January 24, 2011 Permalink
I am very thankful to this topic because it really gives great information
Josh 4:17 pm on April 1, 2011 Permalink
Sorry I’m a shell script noob, but is this all about wrapping up local Git changes and pushing them via scp?
I found this great post about setting up Git on Godaddy via a prior build created on a Virtual Box! Seems to work like a charm http://johntrammell.com/wp/2011/01/05/using-git-on-godaddy/
Greg 10:47 pm on September 27, 2011 Permalink
I am two weeks into using GIT and I’m already using your script to post from my VPS to a GoDaddy account. This works well! My only question is why have you asked to Push changes to remote repo at the end of the script?
Josue R. 8:24 pm on January 6, 2012 Permalink
@Josh pushing files via “scp” because GoDaddy didn’t make it easy to go regular “git push”. (Its been a long while so i think they might have updated their hosting to allow Git – unfortunately i’m no longer with GoDaddy neither recommend them to anyone.)