This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python | |
# -*- coding: iso-8859-1 -*- | |
# Dependencias pynotify e xprintidle | |
import commands | |
import time | |
import pynotify | |
msg = 'Computador idle por mais de 5 minutos. Pegue café.' | |
limit = 3000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$nomes = array(1 =>'Cássio', 'Weslley', 'Fábio'); | |
$tamanho_do_array = sizeof($nomes); | |
for($contador = 0; $contador <= $tamanho_do_array; $contador++) { | |
print $nomes[$contador] . PHP_EOL; | |
} | |
NewerOlder