Blog Archives

Big Help Mob – Media and Launch Event

Posted in iPhone, Websites or Tools

For the last few months we have been working hard building the iPhone and web apps for the Big Help Mob in Perth. It has been a tremendous effort culminating in both a TV feature and launch event this week.

Well done on everyone who contributed to the project. A fitting end to the hard work of the last few months.

Understanding Google Analytics Seminar

Posted in Inside TFG, SEO, Speaking Engagements, Websites or Tools

Wednesday, 19 September 2012 at 3:30-5:00PM

Through the use of Google Analytics you can see how visitors to your website are spending their time, what’s important to them and what’s being ignored. This seminar will demystify analytics and give you the insight you need to better manage your web property.

Topics include:

  • The history of web analytics
  • Installing Google Analytics
  • Terminology and jargon
  • Standard and Custom Reporting
  • Real-Time statistics
  • Measuring the success of SEO
  • Creating custom dashboards
  • Using GA with other systems (Eventbrite)
  • Looking to the future

You will have an opportunity to discuss your specific requirements and situation with a web professional who can make suggestions and recommendations.

This seminar will be useful for anyone responsible or interested in website management.

The content is of a moderate technical nature. No programming experience is required. A laptop is not required. Wireless internet access is available.

Eventbrite - Understanding Google Analytics

Git Basics: Cleaning up excess branches

Posted in Inside TFG, Ruby on Rails, Tips and Tricks, Websites or Tools

So I was working on an old, crusty veteran of a git repo and I noticed it had ~300 branches on remote. This rubbed me the wrong way so I spent some time cleaning up all of those branches. Here’s what I learned:

Finding Branches

git fetch will pull down all the remote refs

git remote prune your_remote will remove any remote refs you have locally that have been removed from your remote

git branch will show all of your local branches

git branch -a will show all of your local/remote branches

git branch -a --merged will show you all of the branches that have been merged into your current branch.

git branch -a --no-merged will show you all of the branches that haven’t been merged into your current branch.

Deleting Branches

git branch -d branch_name will delete the given branch locally

git push your_remote :branch_name will delete the given branch on your remote.

Putting it together

So, deleting those excess branches might look something like:

git checkout develop
git fetch
git remote prune your_remote # Don't show branches that have already been deleted
git branch -a --merged # This will show all branches that have been merged into develop

Then, once you have your branch names to delete

git branch -d branch_name
git push your_remote :branch_name

Automating the Process

You can easily write a bash script (or ruby, or whatever) that goes through (maybe as a cron job) and deletes merged branches.

I elected not to do this for now because I have a strong aversion to the combination of ‘automatic’ and ‘hard-delete’ .

One thing to keep in mind here is that if you have a master branch and a develop branch (like in git flow) running the command git branch --merged will likely list develop from the master branch.

Keeping it clean

For the first ~290 branches I had sitting around, I copy and pasted all of the branch names into a new textmate window and used the bulk line update to prepend git push your_remote : to each line, then I ran that file as a shell script.

Moving forward, I just ensure that any time a feature branch is merged into develop I delete that branch locally and remotely. That way the repo is always nice and slim.

Case Study: Synaptor – Manage health, safety, and environmental risk in real time

Posted in Agile Development, iPhone, Ruby on Rails, Websites or Tools

This week marks the official launch of a project we have been busy working on for the past few months. Since October we have been putting together mobile and web apps for a startup in Perth called Synaptor.

Synaptor is changing the way SMEs in hazardous industries ensure the safety of their people and the environment with innovative mobile and web apps. We’re happy to have been involved in a project for a local company that is going to improve health and safety outcomes in hazardous industries.

We have put together a case study (Synaptor case study) to showcase the products, but here’s a sneak peek below:

Visit the Synaptor website to check out the project, or try out the mobile apps (iPhone/iPad) in the App Store (ObservationsMaps)

MailCatcher – a super simple SMTP server that intercepts email for testing

Posted in Ruby on Rails, Websites or Tools

Last year we wrote about MailCatcher, a gem developed by our own Sam Cochran (@sj26). MailCatcher runs a super simple SMTP server which catches any message sent to it to display in a web interface.

There have been many updates in that time, and MailCatcher has picked up a bit of a following too. It’s still a great tool, so if you’re a developer you should check it out.

Here’s some feedback from around the web:

  • “Ruby Mailcatcher should be deployed in every local development environment, regardless of whether you’re using Ruby.” – @brightball (link)
  • “Learn about one of @srbiv’s favorite gems – http://mailcatcher.me our latest blog post:” – @highgroove (link)
  • “MailCatcher is one of the better email testing gems I’ve seen.” – @hkarthik (link)

The latest version is 0.5.5 and can be accessed at MailCatcher.me or Github

Search Posts

Featured Posts

Categories

Archives

View more archives