Granting an IAM user access to a single bucket is really easy:
- Create a User in IAM via the Amazon Web Console
- Assign that user the following policies via: Settings > Attach User Policy > Custom Policy
You often read about the value of code comments and good meaningful variable/method/object names. Yet sometimes when your coding your under presume to release a patch, or you think to yourself who wouldn’t understand this code it’s so beautifully laid out and formatted.
Today I fell victim to my own beautifully laid out and formatted code. Yikes!
and left(accno, 1) in ( '2', '3', '4', '5', '9' )
I’m sure at the time I was very familiar with why accounts that started in that range were important but a few months on I cannot remember.
From this day forth I promise to do Code as Documentation mum!
Just fire off *147*100# and you will get back some data which includes your cell number.
You can quickly format dates for use in JasperReports titles etc using an expression as follows
"Graph title expression " +
Here’s a quick and dirty way to get the word count of a column with space separated text. The below code counts the number of words in the description column of the article table.
select length(description) - length(replace(description, ' ', ''))+1
CREATE DATABASE dbname CHARACTER SET utf8 COLLATE utf8_general_ci;
Add the following lines to .profile or .bashrc:
# make bash autocomplete with up arrow
# make tab cycle through commands instead of listing
Earlier this week myself in collaboration with Shuntyard Technologies launched the rubysa.co.za domain. This has been an idea I had floating around for a while and I’m glad it’s finally seen the light of day. This portal serves the local Ruby and Ruby on Rails community and it is my hope that job seekers and business’s requiring work will use the site and help it grow into something useful.
If there any missing features just pop me a mail and we can look at adding it.