MacOSX Lion: a bit’ customization
OSX offers some options “hidden” that are modifiable via command line (open Terminal.app). I've already shared some, but after reading “Mac Kung Fu”and inspired a gist, I decided to share all the customizations I use OSX (This is not where I decided to add a comment in English, along the lines of [...]
Update all Ruby gems installed
To update the gem installed suggest: Updating version of RubyGems installed:gem update –System Upgrade all installed gems: Remove gem update version “obsolete” of installed gems: gem cleanup can happen that there are dependency issues during cleanup: michele@delta:~ % gem cleanup [ 7:00PM] Cleaning up installed gems… [...]
Upgrade all the packages installed with Python pip
To update all installed Python packages, I suggest using pip in the following way: Updating to the latest version pip (I suppose you have easy_install): easy_install-U pip I pull the list of pkg installed and update them one by one: pip freeze –local | cut -d = -f 1 | xargs pip install -U
RescueTime: the best way to see where “we spend” our time
Remember where you “donation” most of their time at the computer is a very difficult, especially for those who work there with computers! Precisely for this reason we find solace in RescueTime: Once installed you will be prompted to install a program that they will stay in the background and monitor non-invasively that [...]
How to send a SIGINT signal (Ctrl-C) to a program running in the Eclipse console
When developing a program that must run continuously in the console, there are no problems if you start your console program and it ends with the classic combination: Ctrl-C. But as it ends the same program if it is launched from Eclipse? You must send a signal to the process, and more [...]
proctools: (pgrep, pkill): tools for operating on the processes
When you are faced with a terminal and you must work on the processes, it filters the output of ps with grep auxw (and possibly kill). For example: michele@delta:~ % ps auxw | grep -i yes [ 6:20PM] michele 92888 8.7 0.0 2434788 372 s002 S 6:20PM 0:00.52 yes michele 92914 0.0 0.0 2425580 296 [...]
Installare Java Development Kit 7 (JDK 7) su Ubuntu
The long-awaited version 7 Java is available for Windows and Linux: among the most important features, emphasize support for dynamic languages and a faster execution of interpreted code. For Ubuntu there is a ppa package for Java 7. To install it, just add the ppa and install [...]
Install more plugins simultaneously on Eclipse
Eclipse is my favorite IDE for all developments. To enhance the capabilities of Eclipse, use some plugins that simplify the development process (but the plugins I use I'll get to in another post). A little trick that I liked is to install more plugins simultaneously (after installation of [...]
Form validation: jQuery o HTML5?
When building a form in HTML, is imperative to implement a validation of data entered (is to verify the correctness of the actual data entered, is a safety issue). The client-side validation can be carried out (typically via JavaScript) or server-side. In my experience, The best solution is to use a hybrid approach: [...]
10 things to do before and after installing MacOSX Lion
After a while’ of settling time, I updated the operating system that I use mainly MacOSX Lion 10.7 (now come to the revision 3, 10.7.3). Since I opted for an installation from scratch(after you buy Lion in the App Store, I created a DVD backup using the many guides that the network is full), [...]
Social media