Whenever I start a new project, I struggle with what to put in the very first commit message. After doing a “git init” there is technically nothing there and no work done yet, so how to describe this initial step?
“Initial commit” always seemed a little futile, so I started gathering some better examples on what to put in the message for the glorious start of a new project and I am sharing them here for all of you to marvel at:
This is where it all begins...
Version control is awful
COMMIT ALL THE FILES!
The same thing we do every night, Pinky - try to take over the world!
Lock S-foils in attack position
This commit is a lie
I'll explain when you're older!
Here be Dragons
Reinventing the wheel. Again.
This is not the commit message you are looking for
Batman! (this commit has no parents)
Or, you know, just use whatthecommit.com.
I’m always happy for comments with further ideas and will be adding to this list constantly.
The year 2014 is almost over, but looking around my developer colleagues, I see that there is still a lot of old knowledge and outdated techniques for using your Mac for (web-) development purposes. To counter this lack of information I will outline the steps I took to lift my two primary OS X systems into the new age. Gone are the days where we need to have a webserver, database system and a plethora of different packages installed on our main operating system and deal with breaking changes whenever a new OS update (Hello Yosemite!) comes along.
I will construct these informations into a series of posts each dealing with an enclosed subset of principles. This is Part 1 and talks about setting up your own private local development server with all the needed software to start developing applications with PHP and MySQL without having to install any server software on your main operating system. The end product will also give you the means to quickly set up an identical virtual machine on any number of additional computers you might want to use for your development.
Disclaimer: As I am a heavy user of Laravel these days, this set-up will mainly center around web development and PHP.
phantsy is all about places.
phollow likeminded people that have the same taste and interests, add new places or rate existing ones in order to create your personal collection of favourite places. also keep in mind: the more places you rate, the more likeminded people and recommendations phantsy can find for you! explore a trusted world. we phantsy that.
I developed phantsy in collaboration with Getdesigned GmbH. It is a Laravel PHP webapp with a modern responsive HTML5 frontend.
Give it a try. I’m happy about any feedback you can offer!
If an object is converted to an array, the result is an array whose elements are the object‘s properties. The keys are the member variable names, with a few notable exceptions: private variables have the class name prepended to the variable name; protected variables have a ‘*’ prepended to the variable name. These prepended values have null bytes on either side. This can result in some unexpected behaviour.
No kidding? This must be one of the most stupid decisions ever in the whole language of PHP. Why pad some array keys with NULL BYTES? I mean, how can anyone ever be expected to find that out, by looking at the data the script writes out? This makes absolutely no sense whatsoever.
Just spent around an hour hunting this down!
I hope this post will save someone else the amount of hassle this has caused me.
Click here to see the ifttt tasks
Click here to see the Mail Rule
This is kind of a stripped down version of Read It Later or Instapaper, but functions perfectly for my workflow.
- Apple Mail
- Apple Safari (with Reading List Support)
- ifttt Account
First I’ve set up actions in ifttt that forward Links I favorite in Twitter or Google Reader, to my personal Email and prepend the subject with “#ReadLater”. Next I constructed a Mail Rule that acts on all messages who’s subjects begin with said keyword. The Mail Rule will invoke the following Applescript, mark the message as read and move it to the trash.
using terms from application "Mail"
on perform mail action with messages theSelectedMessages
tell application "Mail"
repeat with eachMessage in theSelectedMessages
set mailbody to content of eachMessage
set theUrl to paragraph 1 of mailbody
tell application "Safari"
add reading list item theUrl
end perform mail action with messages
end using terms from
- Read newsfeeds on iPhone. Save longer or interesting articles for later by clicking the favorite star.
- Interesting item pops up on twitter, but you don’t have time now to read the containing link right now.
- While walking in the street you see a URL you want to remember, just mail it to yourself with the appropriate keyword in the subject.