February 2012
5 posts
3 tags
git-gc
NAME
git-gc - Cleanup unnecessary files and optimize the local repository
SYNOPSIS
git gc [—aggressive] [—auto] [—quiet] [—prune=<date> | —no-prune]
DESCRIPTION
Runs a number of housekeeping tasks within the current repository, such
as compressing file revisions (to reduce disk space and increase
performance) and...
3 tags
3 tags
Stop thinking of the management team at the top of the organization. Start...
– Joel Spolsky - “The Management Team - Guest Post From Joel Spolsky”
3 tags
The web is an evolving, living platform, and it is impossible to effectively...
– http://dcurt.is/web-standards
5 tags
I really like to write down my ideas of apps/services that I know I will never do.
Or at least that I’m not able to do it right now.
Today I opened that file just to take a look at what I’ve wrote there in the last year and I found some ideas I even forgot. For one of these ideas I wrote a cryptic description that I can’t even tell what it means :)
We’ll se if I’ll...
January 2012
2 posts
2 tags
4 tags
December 2011
5 posts
2 tags
There isn’t a shortage of developers and designers. There’s a surplus of...
– Naval Ravikant Why You Can’t Hire
3 tags
2 tags
Jet lag, medically referred to as desynchronosis, is a physiological condition...
– http://en.wikipedia.org/wiki/Jet_lag
November 2011
15 posts
3 tags
Mixed emotions from splinder
I’ve just saved my first blog from the soon-to-be-closed blogging platform splinder.com. And I read each post. I started blogging in 2003. I was in my nerdiest period ever and that one was my non-tech blog.. I also had a alternative nickname for it :)
Mixed emotions in reading stuff from 8 to 5 years ago.
4 tags
3 tags
rel=”me” is used on hyperlinks from one page about a person to other...
– http://microformats.org/wiki/rel-me
7 tags
temp dir cleaner
I’ve just released one of the my scripts I use on my computers (laptops and servers).
I developed the first version of this simple script some years ago.. it was useful to keep clean a shared temporary directory of an internal server we used for file transfers.
Then, for some reasons, I simply lost it. Some months ago I decided to rewrite it, to automatically delete old temporary files on...
3 tags
The Tegra 3 is functionally a quad-core processor, but includes a fifth...
– Tegra 3 (Kal-El) series
4 tags
5 tags
How I learned to use: git add . -A
I asked myself: there is a better way to do that?
git rm `git status | grep deleted | awk ‘{print $3}’`
Yes, there is.
2 tags
Code refactoring is “disciplined technique for restructuring an existing...
– Code refactoring from Wikipedia
5 tags
3 tags
3 tags
2 tags
Gnome Shell Cheat Sheet →
This page contains a lot of tips to start using gnome3 effectively
October 2011
12 posts
A Fata Morgana is an unusual and very complex form of mirage, a form of superior...
– Fata Morgana - Wikipedia
4 tags
It is to Madame Justice that I dedicate this concerto, in honor of the holiday...
– V for Vendetta
3 tags
4 tags
My blog's theme customizations
I wanted to change my dark theme, so a week ago, I started with the minimalistic theme and edited it in my spare time:
I wanted it wider, so I set body width to 700px from 500px
removed cufon to google web fonts (now using Josefin Sans)
I often use tags to better give a context to my posts, so I added the tags visualization
changed color for posts metadata and borders from #BCA474 to #85B5A5
...
4 tags
4 tags
Css Font Stack →
4 tags
4 tags
On 1 June 2011, Oracle Corporation submitted the OpenOffice.org code base to The...
– https://blogs.apache.org/foundation/entry/the_apache_software_foundation_statement
6 tags
5 tags
4 tags
forcing text files to UTF-8 charset
first of all I use file utility to get the file charset, with -b and -i parameters to have a brief report, in mime type style:
michele@erakis:~$ file -bi file.txt text/html; charset=unknown-8bit michele@erakis:~$ vi file.txt
then in vi
:set encoding=utf-8 :set fileencoding=utf-8 :wq
let’s check
michele@erakis:~$ file -bi file.txt text/html; charset=utf-8
4 tags
AWS IAM Policy: give access to one bucket
Today I had to create a new user in our S3 account and to give him all permissions to just one bucket.
As you can see in our S3 file-manager implementation ( https://github.com/Mashape/file-manager ) I use these two lines to load credentials from a properties file and to connect to the S3 bucket
s3Service = new RestS3Service(awsCredentials); bucket =...
September 2011
4 posts
4 tags
6 tags
Web API's World
My talk @ kings of code, 21 sept 2011, Amsterdam
Web API’s World View more presentations from Michele Zonca
3 tags
Almost Ready for @kingsofcode
8 slides to finish
1 hand luggage to prepare
1 online check-in to do
1 bug to fix on mashape
1 deploy to do
13 hours before leaving
This is startup life.. and I love it :)
August 2011
2 posts
6 tags
S3 FILEMANAGER
I will republish here my blog post on mashape’s official blog regarding a software I’ve released today
——
Since the beginning we added the possibility to upload a logo to visually identify you and your API. To add this simple feature, from a code point of view, we designed an interface defining basic operations on the uploaded images: load, save, move and delete.
The...
July 2011
3 posts
4 tags
5 tags
June 2011
5 posts
3 tags
Trust
root@erakis:~# apt-get update && yes | apt-get dist-upgrade
Should I put it in my crontab? What can go wrong..
:)