Info su piergiu

Studente del corso di laurea specialistica in tecnologie informatiche @ Università degli studi di Cagliari, scienze mm.ff.nn. Yet another Computer Science student.

Page by tags with no plugins

I wanted to have a menu voice in the top bar for listing all the post tagged with particular word.

You can do it easily without the need of external plugins just by going to:
Appearance>Menus>Links

and adding the url that automatically searches blog posts based on a particular tag, and then add it to the menu and check the menu sections like shown in this image.

Schermata 2013-04-27 alle 19.45.05

Hope it helps.

Eple per chi vuole cominciare da piccolo

Ribloggato da Ok, panico:

Clicca per visitare l'articolo originale
  • Clicca per visitare l'articolo originale
  • Clicca per visitare l'articolo originale

It stands for “apple” in norwegian and it is an acronym for
EPLE Programming Learning Environment

Quando io dovevo iscrivermi al secondo anno del Poli (in realtà era già tardi ma prima non lo sapevo ancora, e poi tutti i miei amici di Poli...) ho dichiarato che volevo andare su ingegneria informatica.
"Cos'è quella roba lì?" chiese mio padre.
"Quella che si occupa dei calcolatori" risposi, me l'ero preparata.

Continua a leggere... 474 altre parole

Scrivi qui i tuoi pensieri... (opzionale)

Kinder programming

Ribloggato da Ok, panico:

Clicca per visitare l'articolo originale

(questo post è gentilmente offerto da piergiu, nuovo e prezioso collaboratore di ok panico!)

"Ci scusiamo per l'intrusione, il palinsesto di "Ok, panico" riprenderà al più presto!"

Questo post è rivolto ai giovani, che dico giovani, giovanissimi, anzi, appena usciti dall'asilo!
Voi direte: " Eh, adesso cosa vuoi dire, che questo post di ok panico è per i bambini di 6 anni?

Continua a leggere... 848 altre parole

Scrivi qui i tuoi pensieri... (opzionale)

An Interactive Environment for the Didactical Manipulation of Programs

Here is my work of the last 4 months.
Enjoy!
Thesis

Download PDF Thesis here

https://dl.dropboxusercontent.com/u/8738393/EPLEthesis.pdf

Presentation

Video embedded in presentation

Software

https://bitbucket.org/pnioi/eple/downloads/eple_v9.zip

Web app

http://epleweb.appspot.com/

Mac Os X, LibreOffice: How to install LibreOffice Language Pack by hand

The fact is that the installation files doesn’t work: when you launch it, it stalls, it doesn’t do anything.
If you right-click the package and look in its contents, you’ll find an apple script that handles all the installation process, that it’s simply an unzipping of the tarball inside the same package.
Let’s do it by hand to save some time and frustration. (Why bad (opensource) software???)

STEPS TO INSTALL BY HAND YOUR LANGUAGE PACK

1. Mount your two *.dmg , installation and language pack installation
2. Install LibreOffice (Install it in /Applications)
3. Open in a Finder window the content of Language pack installation
04. You’ll find the Contents folder. Copy it in your Desktop
1It contains this:
25. Open a Terminal window (click spotlight and type Terminal and launch that app)
Type this two lines of commands:
6. cd Desktop/Contents/
and
/usr/bin/tar -C “/Applications/LibreOffice.app/” -xjf ./tarball.tar.bz2
7. Then close the Terminal and open LibreOffice, go to the preferences and choose your language (FINALLY)
3This is my app translated in italian
4

Hope it helps! As usual, let me know how it goes for you, and also thanks for your time.

Mac Mini 4,1, Mac Os X Mountain Lion, HDMI sound not working: Solved.

I’ve had this problem since the first use of Mountain Lion. With Snow Leopard everything worked without problem, except for stuck volume controls (this is why I moved to Mountain Lion).
I searched, over many seas, a solution to this common problem: someone call the apple customer care, some others install modified kexts. I did nothing of the above. Here I show a really simple workaround to start again using your HDMI audio. Keep reading.

My Mac Mini 4,1 is connected via HDMI to my ASUS 22″ 1080p monitor.
When you press option+click on the volume control you’ll see a list of available devices to output your audio. If you have a setup similar to mine, you then have headphones and HDMI monitor option listed. Like this image shows.
0If you select your HDMI monitor, selection goes to the headphones automatically, and also does your audio. Pretty disappointing! It will be more fair not showing me that option!
But let’s move on.

Give a CTRL-Space to open Spotlight and search for midi audio, like this:

2

In this panel we can see what’s going on in our Mac, you know how they say:

Don+_e3eca75e0b637d4f19b1257bbf148b1a

LET’S SEE ALL THE PERIPHERALS!!

So here is the panel, you’ll se headphones option, and also HDMI. If you click on HDMI and then select Configure button on bottom-right, you’ll be amazed to know that audio works by testing left and right channel!!! Why do they don’t work normally by default then? The answer is: I don’t know!

3

So what’s next? Hit the plus button bottom-left and then add a combined device(translations may vary)
5And select with device use with this new device. In my case I want audio to go only via the HDMI port, so I checked that. Then right-clicked this new device and told it to be the default one for audio (you can change this also with option+click on volume control). Be sure to have 44100Hz selected (option that worked for my setup).

4

This is another shot, a useless one, but I can’t just throw it in the bin…it’s always a creation of mine, you know what I mean?

Let’s sums things up: this new device lets you use you HDMI monitor to play audio like it did before. You can personalize your menu, renaming device, hide others, but this is not the point of this post.
Here’s the result:
1And it works like a charm! Without calling Apple Geniuses, installing modified kext (dangerous) and other tricks!
I hope this was somewhat useful to you.
Let me know how it goes, or better solutions in the comments below!
Thanks for your time.

Update on shell-fm

Today I found another excellent, really really excellent web interface! It is based on ruby, sinatra and jquery!
you can find it here: http://madebynathan.com/2010/06/25/last-fm-on-embedded-systems/

I’ve installed git, ruby and sinatra on my raspberry pi , created the config.yml file and I was good to go!
(shell-fm was already installed on my r-pi following my precedent blog post)
Look here! Isn’t it nice? There’s also Album cover!!!
Nice work!Image