Friday, April 06, 2012

Fix Low Volume


$sudo alsamixer         #customize
$sudo alsactl store     #save customized

References:
[1] http://agnipulse.com/2009/07/fix-low-volume-issues-in-ubuntu/

Wednesday, April 04, 2012

gpg steps



export public key to asc
gpg -a --export FD9C1B26  > jfiq.pub


sign file/get pk
gpg -s segc-tarefa02.txt

sign file to asc format/get pk
gpg --clearsign segc-tarefa02.txt

add public key
gpg --import mo639_1s2012.pub

encrypt file/get uid
gpg -e -a segc-tarefa02.txt

References:

http://www.guiafoca.org/cgs/guia/avancado/ch-d-cripto.html

http://eriberto.pro.br/wiki/index.php?title=Usando_o_GnuPG

http://www.gnupg.org/gph/en/manual/x135.html

Thursday, March 22, 2012

Portugues Tutorial 2

http://www.aulafacil.com/ http://www.ielanguages.com/portuguese2.html

Saturday, March 10, 2012

Wednesday, February 29, 2012

Português do Brasil

Dicionário

[1] http://www.priberam.pt/dlpo/
[2] http://www.dicio.com.br/

Material
http://intervox.nce.ufrj.br/~diniz/d/direito/ou-Apostila_Portugues_Oralidade_x_Escrita_1.pdf

Friday, January 27, 2012

Keyboard Shortcuts in Remote Desktop Connection

CTRL+ALT+END: Open the Microsoft Windows NT Security dialog box (CTRL+ALT+DEL)
ALT+PAGE UP: Switch between programs from left to right (CTRL+PAGE UP)
ALT+PAGE DOWN: Switch between programs from right to left (CTRL+PAGE DOWN)
ALT+INSERT: Cycle through the programs in most recently used order (ALT+TAB)
ALT+HOME: Display the Start menu (CTRL+ESC)
CTRL+ALT+BREAK: Switch the client computer between a window and a full screen
ALT+DELETE: Display the Windows menu
CTRL+ALT+Minus sign (-): Place a snapshot of the entire client window area on the Terminal server clipboard and provide the same functionality as pressing ALT+PRINT SCREEN on a local computer (ALT+PRT SC)
CTRL+ALT+Plus sign (+): Place a snapshot of the active window in the client on the Terminal server clipboard and provide the same functionality as pressing PRINT SCREEN on a local computer (PRT SC)


References:
[1] http://www.mydigitallife.info/keyboard-shortcuts-in-remote-desktop-connection-rdc-for-navigation/

Wednesday, December 28, 2011

Caller ID

References:

http://www.compartir-tecnologias.es/call-id-y-c-ayuda-206872292.html

Code
http://www.codeproject.com/KB/dotnet/CShart_TAPI_3x.aspx
http://stackoverflow.com/questions/3128204/how-detect-caller-id-from-phone-line
http://www.forosdelweb.com/f29/modem-con-identificador-llamadas-caller-id-con-c-694795/
http://intellitechture.com/The-basics-of-System-IO-Ports-SerialPort/
http://www.tech-archive.net/Archive/Development/microsoft.public.win32.programmer.tapi/2006-06/msg00106.html
Test Modem
http://stackoverflow.com/questions/1200921/how-to-get-caller-id-in-c

Saturday, December 10, 2011

Enable SVN log edit (Windows)

Create pre-revprop-change.bat and save it in the /hooks subdirectory for your repository.

set userName=%3
set propertyName=%4
set action=%5

:: Only allow the log message to be changed, but not author, etc.
if /I not "%propertyName%" == "svn:log" goto ERROR_PROPNAME

:: Only allow modification of a log message, not addition or deletion.
if /I not "%action%" == "M" goto ERROR_ACTION

:: Make sure that the new svn:log message is not empty.
set bIsEmpty=true
for /f "tokens=*" %%g in ('find /V ""') do (
set bIsEmpty=false
)
if "%bIsEmpty%" == "true" goto ERROR_EMPTY

goto :eof

:ERROR_EMPTY
echo Empty svn:log messages are not allowed. >&2
goto ERROR_EXIT

:ERROR_PROPNAME
echo Only changes to svn:log messages are allowed. >&2
goto ERROR_EXIThttp://www.blogger.com/img/blank.gif

:ERROR_ACTION
echo Only modifications to svn:log revision properties are allowed. >&2http://www.blogger.com/img/blank.gif
goto ERROR_EXIT
http://www.blogger.com/img/blank.gif
:ERROR_EXIT
exit /b 1


references:

[1] http://stackoverflow.com/questions/692851/can-i-go-back-and-edit-comments-on-an-svn-checkin
[2] http://stackoverflow.com/questions/197224/what-is-a-pre-revprop-change-hook-in-svn-and-how-do-i-create-it

Ubuntu Forware port 80

  #!/bin/bash iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069 iptables -t nat -A PREROUTING -i eth0 -p tc...