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
function onoffSelect_focus(obj){ | |
var userAgent = window.navigator.userAgent.toLowerCase(); | |
if(userAgent.indexOf("msie") > -1) { | |
obj.focus(); | |
obj.select(); | |
}else if(userAgent.indexOf("firefox") > -1) { | |
obj.focus(); | |
obj.select(); | |
}else if(userAgent.indexOf("opera") > -1) { |
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
#!/bin/sh - | |
menu (){ | |
opc= | |
until [ "$opc" = "5" ]; do | |
echo "" | |
echo "Menu" | |
echo "1 - criar três subdiretórios (av1, av2 e av3) no seu diretório home." | |
echo "2 - criar três arquivos (nota1, nota2 e nota3) em av1, av2 e av3 respectivamente." |
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
# A simple script to collect a email from site inputted | |
# create by Diego de Sousa Miranda | |
# email dsousamiranda@gmail.com | |
import urllib2 | |
import re | |
class EmailCollector(object): |