Using gnome-keybinding-properties

The weird thing was that I don’t really use Gnome on other machines as I prefer KDE, and I hadn’t seen the Unity desktop before (as I understand it, this is a lightweight gnome replacement – it still looks and smells like gnome to me), so there were a few things that were “missing” as far as I was concerned. Easily the most annoying is the Alt+F2 shortcut, I don’t really care what GUI I’m using, I mostly just run things from that! I also realised that I now had workspaces, but that there was no keyboard shortcut to switch between them (I don’t use a mouse, so it’s keyboard or nothing for me).
Enter a wonderful utility called gnome-keybinding-properties.
Continue reading
27 Ways To Be A Better PHP Developer
I was at the conference to give a keynote with ex-colleague and good friend Ivo Jansch. We gave our new talk “27 Ways To Be a Better Developer” in the opening keynote slot, which was a lot of fun (even if I did freak out slightly and hide in the middle). Ivo and I have lots of experience of working with developers, recruiting, running teams, and we had a great time working out *which* 27 items to include and how to tell the story. It was a little bit hectic since we had about 50 minutes to give the talk but we had some generous reviews and so many people have come and told me about one or two points that have made a big impact on them. These are the slides:
Thanks again to all who made this event what it was – organisers, sponsors, speakers and attendees!
Number System Primer
Using s3cmd To Manage Files on Amazon S3
sudo aptitude install s3cmd
Once installed, I found s3cmd --help
was surprisingly helpful. To start with you need to set up an access key on AWS (Amazon Web Services) using your amazon user credentials, then supply this to s3cmd by using s3cmd --configure
and following the prompts.
Blanket for Reuben
It’s a very traditional granny square crochet blanket, I love these because I can take a ball of wool and a hook with me to anywhere and just make another square or two when nothing else is happening, but I never have to carry around the full project until I’m assembling it right at the end. The border is one round of trebles and another of double crochet – as simple as anything!
Time Tracking with Harvest
5 Years of Blogging
Quick-Start Guide for Google Charts API
One-Off Charts
If you just need a beautiful graph to put into a document or post, then the Chart Wizard is the best place to start. You simply choose the type of chart you want, input your data and choose the colours, labels, settings etc, and the wizard generates the URL for you to copy and paste!
The charts are highly configurable and can easily be changed by editing the URL to the image (view the source of this page to see the URL for the chart shown above). This makes it really easy to generate similar-but-different charts in your web applications, by using the wizard and then replacing some relevant parts of it.
Dynamic Charts
As mentioned above, it is very simple to generate charts with Google Charts API – and all the information for generating the chart is on a URL which returns a png file of the resulting chart. This makes it ideal for integrating into our dynamic web applications and charts that are generated are almost overwhelmingly configurable. That said, there are a few key options that will get you started quickly so let’s take a quick tour.
Navigating Bash History with Ctrl+R
.bash_history
(there’s a limit on how many it stores but for me it goes back a few days). I find it really useful to look back at the history to use the same commands again or edit them slightly. You can press the up arrow to go through your history but it can take a really long time to find what you’re looking for. So instead, try Ctrl + r.
To do this: first press Ctrl + r, then start typing the command or any part of the command that you are looking for. You’ll see an autocomplete of a past command at your prompt. If you keep typing, you’ll get more specific options appear. You can also press Ctrl + r again as many times as you want to, this goes back in your history to the previous matching command each time.
Once you see a command you like, you can either run it by pressing return, or start editing it by pressing arrows or other movement keys. I find this a really useful trick for going back to a command I know I used recently, but which I can’t remember or don’t want to look up again. I hope this is a useful trick for you too!