Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

January 02 2011

December 09 2010

25 Tips for Intermediate Git Users : Andy Jeffries : Ruby on Rails, MySQL and jQuery Developer

I’ve been using git for about 18 months now and thought I knew it pretty well. Then we had Scott Chacon from GitHub over to do some training at LVS, a supplier/developer of betting/gaming software (where I’m currently contracting) and I learnt a ton in the first day.

As someone who’s always felt fairly comfortable in Git, I thought sharing some of the nuggets I learnt with the community might help someone to find an answer without needing to do lots of research.

September 29 2010

6 Tips for Designing with Lines | Design Shack

Today we’re going to look at one of the simplest possible design elements: a line. We’ll learn how to wield lines properly as well as what to avoid when implementing them.

Adding a few simple lines to a design can bring structure and graphical flair to an otherwise boring design. It’s a dead simple trick that, when used effectively, has the effect of adding a layer of finish your design.
Reposted byMadMaid MadMaid

April 01 2010

nvie.com » Blog Archive » A successful Git branching model

In this post I present the development model that I’ve introduced for all of my projects (both at work and private) about a year ago, and which has turned out to be very successful. I’ve been meaning to write about it for a while now, but I’ve never really found the time to do so thoroughly, until now. I won’t talk about any of the projects’ details, merely about the branching strategy and release management.

March 30 2010

January 21 2010

November 05 2009

October 14 2009

Squeezing space with LaTeX | Research tips

I’ve been writing a grant application with a 10-page limit, and as usual it is difficult to squeeze everything in. No, I can’t just change the font as it has to be 12 point with at least 2 cm margins on an A4 page. Fortunately, LaTeX is packed full of powerful features that help in squeezing it all in. Here are some of the tips I’ve used over the years. Make your text block as big as possible. The simplest way to do that is using the geometry package:
Tags: latex tips

August 09 2009

nagios-config.png (PNG Image, 1342x943 pixels)

August 04 2009

Anton Olsen.com » Blog Archive » BASH: Split a string without ‘cut’ or ‘awk’

For a little test script I’m writing I needed to split a line on a ‘;’ but preservere the “s and ’s, something that echo doesn’t like to do. Digging deeper into the bash docs I see that there are some handy string handling functions. #!/bin/bash line=’this “is” a command;this “is” a pattern’ COMMAND=${line%;*} PATTERN=${line#*;} echo $COMMAND echo $PATTERN

July 26 2009

Git Magic - Preface

Rather than go into details, we provide rough instructions for particular effects. After repeated use, gradually you will understand how each trick works, and how to tailor the recipes for your needs.

July 12 2009

July 10 2009

How to identify what processes are generating IO Wait load. | ScriptBits, Little Bits Of Code You Cannot Live Without

An easy way to identify what process is generating your IO Wait load is to enable block I/O debugging. This is done by setting /proc/sys/vm/block_dump to a non zero value like: echo 1 > /proc/sys/vm/block_dump This will cause messages like the following to start appearing in dmesg: bash(6856): dirtied inode 19446664 (ld-2.5.so) on md1 Using the following one-liner will produce a summary output of the dmesg entries: dmesg | egrep "READ|WRITE|dirtied" | egrep -o '([a-zA-Z]*)' | sort | uniq -c | sort -rn | head 354 md 324 export 288 kjournald 53 irqbalance 45 pdflush 14 portmap 14 bash 10 egrep 10 crond 8 ncftpput Once you are finished you should disable block I/O debugging by setting /proc/sys/vm/block_dump to a zero value like: echo 0 > /proc/sys/vm/block_dump

July 09 2009

Übergibson: Embedding vim Settings in the File You're Editing

Vim lets you embed options in the file itself so that other people who edit the file in vim will see it the way you do—all the tabs will line up correctly, etc., regardless of how they have their ~/.vimrc file set up. This is called a modeline, in the parlance of our times. I like to set the tabs to two characters when I’m writing code. So suppose I’m editing a shell script or something. #!/bin/sh # vim:ts=2:sw=2:expandtab:cindent

April 24 2009

blog dds: 2009.03.04 - Parallelizing Jobs with xargs

With multi-core processors sitting idle most of the time and workloads always increasing, it's important to have easy ways to make the CPUs earn their money's worth. My colleague Georgios Gousios told me today how the Unix xargs command can help in this regard. The GNU xargs command that comes with Linux and the one distributed with FreeBSD support a -P option through which one can specify the number of jobs to run in parallel. Using this flag (perhaps in conjunction with -n to limit the number of arguments passed to the executing program), makes it easy to fire commands in parallel in a controlled fashion.

April 14 2009

Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.

Don't be the product, buy the product!