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
sudo apt-get install ubuntu-restricted-extras | |
sudo /usr/share/doc/libdvdread4/install-css.sh |
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
declare | |
CURSOR pessoas IS select * from pessoas; | |
begin | |
for pessoa in pessoas | |
loop | |
DBMS_OUTPUT.PUT_LINE(pessoa.nome); | |
end loop; | |
return; | |
end; |
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
gem: --no-ri --no-rdoc --clear-sources --source http://rubygems.org/ |
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
Os seguintes software livres foram obtidos para a criação desta máquina: | |
- VirtualBox - http://download.virtualbox.org/virtualbox/4.2.12/VirtualBox-4.2.12-84980-Win.exe | |
- VBoxVMService - http://sourceforge.net/projects/vboxvmservice/files/latest/download | |
- Linux Mint - http://mint.c3sl.ufpr.br//stable/14/linuxmint-14.1-cinnamon-dvd-32bit.iso | |
- Redmine - http://rubyforge.org/frs/download.php/76933/redmine-2.3.1.tar.gz | |
- MediaWiki - http://download.wikimedia.org/mediawiki/1.20/mediawiki-1.20.5.tar.gz | |
- Ferramentas e bibliotecas diversas (ver abaixo) |
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
find . -type f | perl -ne 'print $1 if m/\.([^.\/]+)$/' | sort -u |
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
rm -rf `find /diretorio/que/quer/apagar/ -iname "*.extensao"` | |
# or | |
find ./ -type f -not -name "*.xls" -and -not -name "*.doc" -exec rm {} \; |
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 | |
# Startup script for Plone | |
if [ -f /etc/init.d/functions ] ; then | |
. /etc/init.d/functions | |
elif [ -f /etc/rc.d/init.d/functions ] ; then | |
. /etc/rc.d/init.d/functions | |
else | |
exit 1 | |
fi |
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
declare | |
l_MaxVal pls_integer; | |
l_Currval pls_integer default - 1; | |
begin | |
-- insert primary key and table name | |
select max(cod_os) | |
into l_MaxVal | |
from os; | |
while l_Currval < l_Maxval | |
loop |
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
chrome.exe --restore-last-session |
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
select | |
TABLE_NAME, | |
decode(column_id,0,null,column_id) as COLUMN_ID, | |
COLUMN_NAME, NULLABLE, DATA_TYPE, COMMENTS | |
from ( | |
select cc.TABLE_NAME, | |
tc.COLUMN_ID, tc.COLUMN_NAME, | |
tc.NULLABLE, tc.DATA_TYPE || | |
case when tc.DATA_SCALE is not null then '(' || tc.DATA_PRECISION || ',' || tc.DATA_SCALE || ')' | |
when tc.DATA_PRECISION is not null then '(' || tc.DATA_PRECISION || ')' |