Posts

Linux LAMP (Linux, Apache, MySQL, PHP)

  Install Apache sudo apt-get install apache2 Testing Apache http://localhost/ Install PHP sudo apt-get install php5 libapache2-mod-php5 Step: Eventually you need to: sudo /etc/init.d/apache2 restart Test PHP Step: Let's test if PHP is working correctly. sudo nano /var/www/index.php or... sudo echo “<?php phpinfo(); ?>” > /var/www/index.php Step 3. Save and close the file. Step 4. Now open you're web browser and type the following into the web address: http://localhost/index.php (It will show you the page that has all information about your php. If you have prior experience of installing php in some other OS, you must have seen this page.) Congrats you have now installed both Apache and PHP! Install MySQL To finish this guide up we will install MySQL. Step 1. Once again open up the amazing Terminal and then copy/paste or type this line: sudo apt-get install mysql-server Step 2 (optional). In order for other computers on your network to view the server you have cre...

Poesia 2014 - Fernando Pessoa

Ó mar salgado, quanto do teu sal São lágrimas de Portugal! Por te cruzarmos, quantas mães choraram, Quantos filhos em vão rezaram! Quantas noivas ficaram por casar Para que fosses nosso, ó mar! Valeu a pena? Tudo vale a pena Se a alma não é pequena. Quem quer passar além do Bojador Tem que passar além da dor. Deus ao mar o perigo e o abismo deu, Mas nele é que espelhou o céu. Fernando Pessoa Pessoa, F. Mensagem. Poema X Mar Português. Edições Ática: Lisboa. 1959.

Joao Legenda - All of me

Image
What would I do without your smart mouth Drawing me in, and you kicking me out Got my head spinning, no kidding, I can't pin you down What's going on in that beautiful mind I'm on your magical mystery ride And I'm so dizzy, don't know what hit me, but I'll be alright [Bridge:] My head's under water But I'm breathing fine You're crazy and I'm out of my mind [Chorus:] 'Cause all of me Loves all of you Love your curves and all your edges All your perfect imperfections Give your all to me I'll give my all to you You're my end and my beginning Even when I lose I'm winning 'Cause I give you all, all of me And you give me all, all of you, oh [Verse 2:] How many times do I have to tell you Even when you're crying you're beautiful too The world is beating you down, I'm around through every mood You're my downfall, you're my muse My worst distraction, my rhythm and blues I can't st...

9-11 O que aconteceu? Ex ou implosão? Ataque Terrorista?

Image
Vídeo 1 Vídeo 2 Vídeo 3

Musical Concepts

Musical Concepts Without getting to deep into music theory, periods, styles and all that (which is too western) we are going to explore some basic musical concepts. Music can be said to be built by the interplay of melody, harmony and rhythm. Melody is what results from playing notes of different pitches - sometimes pitches can be repeated too - one after the other in an 'organised' way. Melodies are very distinguishable and are often singable. However, just the succession of pitches doesn't make a melody. Each note played has a duration. The relation between durations refers to rhythm. But, before rhythm, lets talk about pulse. Like every living organism, music has a pulse - beats (like that of the heart). And although we not always hear it, it is always there. Do you remember when children learn to clap their hands to follow songs? There is a constant, implicit, beat that happens periodically. In some cases, it is in fact played by instruments. For example, in Aus...

Famosos assombrados, só naquela.

Image
Famosos assombrados, só naquela. Milhões de fãs e dezenas de seguranças, as celebridades nunca estão sozinhas. Mas muitas celebridades reclamam de um tipo de companhia que nenhum guarda-costas consegue afastar, as assombrações. A cantora Lady Gaga é o caso mais recente, ela afirma ser perseguida por um espírito a meses. O fenômeno viajaria pelas turnês em todo o mundo. Segundo amigos, a cantora já procurou um especialista para se livrar da visão e gastou o equivalente a 100 mil reais.                                     Paul Mccartney, dos Beatles também conta uma história sobrenatural. Segundo ele o cantor John Lennon já apareceu em um show anos após a trágica morte. Johnny Depp, ator de Piratas do Caribe também está na lista, ele sofre de um distúrbio chamado espectrofobia, medo de fantasmas, monstros, demônios, filmes de terror e afins. O ator admite que nunca viu espíritos mas tem m...

Poesia 19 de Março

Amar Eu quero amar, amar perdidamente! Amar só por amar: aqui... além... Mais Este e Aquele, o Outro e toda a gente... Amar! Amar! E não amar ninguém! Recordar? Esquecer? Indiferente!... Prender ou desprender? É mal? É bem? Quem disser que se pode amar alguém Durante a vida inteira é porque mente! Há uma primavera em cada vida: É preciso cantá-la assim florida, Pois se Deus nos deu voz, foi pra cantar! E se um dia hei-de ser pó, cinza e nada Que seja a minha noite uma alvorada, Que me saiba perder... pra me encontrar... Florbela Espanca Pedras no Caminho Posso ter defeitos, viver ansioso e ficar irritado algumas vezes, Mas não me esqueço de que me minha vida é a maior empresa do mundo... E que posso evitar que ela vá à falência. Ser feliz é reconhecer que vale a pena viver Apesar de todos os desafios, incompreensões e períodos de crisa Ser feliz é deixar de ser vítima dos problemas e se tornar autor da própria história... é atravessar desertos for...