After installing Ubuntu 12.04 Server, you get to log in using the TTY terminal. The resolution is fixed, but it can be changed. Use your favorite editor (e.g. vim or nano) to edit the file
"/etc/default/grub" (you’ll need sudo permissions), and uncomment the line to set
GRUB_GFXMODE to the resolution you prefer. For example:
The resolution must be one that is acceptable by your graphics card. For example, if you’re running a VM inside VirtualBox, you have to use a VESA-compliant resolution. Then run the following command to update GRUB and to reboot:
sudo update-grub2 && sudo reboot
I was looking for some programming exercises to help a friend who is just starting to learn how to program. I came across this set of exercises from different sources, and I found them useful.
As a general note, I’d suggest that you read the description of each problem, and write a function that returns the requested output without formatting, and then write another function that formats the output as required. This is a much better way for learning programming. And whenever possible, try to use your solutions to previous problems as building blocks to the solution of the current problem you’re trying to solve (i.e. call your previously defined functions).
Some exercise sets would ask you to create a class for every problem. This is usually unnecessary; a function for each problem would suffice. Some would ask you to create a ‘main’ method; if you’re using a language that doesn’t need one (e.g. python or ruby) then just ignore this instruction. Don’t worry about the language of the exercise set; every problem can be solved with any programming language.
The Technology Radar for October 2012 is now ready. This is an analysis produced by ThoughtWorks twice a year. It is an assessment of the most important new technologies, which ones are ready to be used for production and which ones to wait for. It is a very useful guide for us to get to know about valuable new technologies. There are 107 technologies in this month’s report, out of which 23 are ready to be adopted, 47 should be tried to prepare for their adoption later, 23 can be assessed to see whether they are suitable for you, and 14 should be avoided for now.
I find this report a helpful guide to be aware of the important technologies all year round. It’s easy to get to know about all of them throughout the coming 6 months. Just learn about one technology every working day. That should take just 5-15 minutes as long as you don’t dive into the details (unless you find it really interesting).
Compass improves the SASS experience by providing useful mixins, functions, and more. You will also learn how to make CSS sprites with it in this episode.
If you’re tired of typing vendor-specific prefixes for CSS properties you should take a look at the Bourbon library which includes several SASS mixins and functions to make working with CSS more convenient. In this episode Ryan Bates shows you how to use it in a Rails application.
Sass extends CSS with variables, nesting, mixins and more. Watch as Ryan Bates shows how to convert plain CSS to SCSS in a Rails application.
Initializr is an HTML5 templates generator to help you getting started with a new project based on HTML5 Boilerplate. It generates for you a clean customizable template with just what you need to start!
One of my customers needed to find out which version of OpenERP Server they were running. I couldn’t find a way of knowing such information using the OpenERP GTK Client or the web client. But I found the version in two different ways according to the operating system:
On Linux, or if you are running from uncompiled source, you can find the current version of the server in the file
$ cat bin/release.py | grep version
version = '6.0.3'
On Windows, check the version of the OpenERP executable, which is typically in the path
C:\Program Files\Server\6.0\openerp-server.exe. Right-Click it and choose Properties, then open the Version tab.