Monday, October 08, 2012

OpenCV Visual Studio 2010


http://opencv.willowgarage.com/wiki/VisualC++_VS2010_CMake

Resolve problem dll not found at run

For add dll path, if you are not Adminstrator(alternative to use setx)

rundll32 sysdm.cpl,EditEnvironmentVariables

Tuesday, September 18, 2012

Join PDF File

Join PDFs:
$ pdfsam (over Java)

Compact PDF: 

$ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=CompEnd_p.pdf CompEnd.pdf

Scanning:  
$Xsane


Format converter:
$convert


Monday, July 23, 2012

Serie Rosa


Episodios:

Ɖpisode 1 : La Libertina de calidad (Le Libertin de qualitĆ©)
Ɖpisode 2 : La Apuesta de las tres cotillas (La Gageure des trois commĆØres)
Ɖpisode 3 : A la hoja de rosa, casa turca (ƀ la feuille De Rose, Maison Turque)
Ɖpisode 4 : El Alumno (L'ƉlĆØve)
Ɖpisode 5 : Una quinta en el campo (Une villa Ơ la campagne)
Ɖpisode 6 : Un tratamiento justificado (Un traitement justifiĆ©)
Ɖpisode 7 : La veranda (La Serre)
Ɖpisode 8 : Augustine de Villebranche (Augustine de Villebranche)
Ɖpisode 9 : El Signo (Le Signe)
Ɖpisode 10 : HĆ©rcules a los pies de Omphale (Hercule aux pieds d'Omphale)
Ɖpisode 11 : La Azotaina (La FessĆ©e)
Ɖpisode 12 : El Semi-Matrimonio (Le demi-mariage ou Le triomphe de la vertu)
Ɖpisode 13 : El Desquite (La Revanche)
Ɖpisode 14 : La MandrĆ”gora (La Mandragore)
Ɖpisode 15 : La Prueba de amor (L'Ɖpreuve d'amour)
Ɖpisode 16 : El CompaƱero inesperado (Le Partenaire inattendu)
Ɖpisode 17 : Almanaque (Almanach des adresses des demoiselles de Paris)
Ɖpisode 18 : Ella y Ć©l (Elle et lui)
Ɖpisode 19 : La Dama galante (La Dame galante)
Ɖpisode 20 : Lady Roxane (Lady Roxane)
Ɖpisode 21 : La conversiĆ³n (La conversion)
Ɖpisode 22 : El Loto de oro (Le Lotus d'or)
Ɖpisode 23 : Experte Halima (L'Experte Halima)
Ɖpisode 24 : El Estilo Pompadour (Le Style Pompadour)
Ɖpisode 25 : La Huelga del amor (La GrĆØve de l'amour)
Ɖpisode 26 : Las Lecciones de Bucciuolo (Les LeƧons de Bucciuolo)


Info:

Episodios: 26 episodisos
Hosts: Depositfiles/Filesonic
Tipo de Archivo: Avi/Wmv

http://depositfiles.com/folders/8ZXA1Y3QN

Friday, May 25, 2012

Remove backdoor



>netstat -ao  (locate reference to unknow addres, for example
    ovh.net

>taskkill /pid pid

remove from register with regedit

aditional if your clock doesn't work

net stop w32time
w32tm /unregister [ignore error message]
w32tm /unregister [enter a second time]
w32tm /register
reg add hklm\system\currentcontrolset\services\w32time\parameters\ /v NtpServer /t reg_sz /d time.nist.gov /f
net start w32time
w32tm /resync

The default polling time for updating the clock's time is only once every 7 days. This is why the clock gets off by so much (e.g. seconds if not many minutes) until it's the 7th day for your clock to automatically update again. Only then is the clock accurate, but it immediately starts losing time again until it updates in 7 more days. The sources for updating the clock are deadly accurate (NIST = National Institute of Standards and Technology), but the problem is that it doesn't update itself often enough. Here's the fix:

On the XP system change the update (polling time) intervals by doing the following:

1. Type “regedit” in Run located in Start
2. Navigate to the following key in the left pane:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\W32Time\TimeProviders\NtpC lient.
3. In the right pane, double click the entry called SpecialPollInterval.
4. In the Base section of the Edit DWord Value dialog box, click the Decimal option button.
5. Enter the desired interval in seconds (3600 = 1 hour, 1800 = 30 minutes, 86400 = 24 hours, and so forth).
6. Click OK and close the registry editor.


(Originally set at 604,800 seconds, which equals 7 days, or once every week. I have set mine to 1,800 seconds, which updates my clock once every 30 minutes. My clock is never more than a few seconds off...

Linux get quota by folder



if you get "Disk quota exceeded", then you like know what happened with your folders


$find . -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n


$du
$df

woks too

references:
[1] http://www.codecoffee.com/tipsforlinux/articles/22.html

Wednesday, May 16, 2012

Making sniffer using libpcap




[0] http://www.tcpdump.org/pcap.html
[1] http://www.joshuarobinson.net/docs/libpcap_offline.html
[2] http://yuba.stanford.edu/~casado/pcap/section1.html
[3] http://www.winpcap.org/docs/docs_40_2/html/group__wpcapsamps.html
[4] http://www.linuxquestions.org/questions/programming-9/undefined-reference-to-functions-from-pcap-h-319252/

package samples
[5] http://wiki.wireshark.org/SampleCaptures



Tutorial how to
[1] http://www.linuxforu.com/2011/02/capturing-packets-c-program-libpcap/


More
http://www.tcpdump.org/pcap.html
http://networksecurity.org.ua/0596007949/networkst-chp-10-sect-2.html
http://www.tcpdump.org/pcap/pcap.html
http://commons.oreilly.com/wiki/index.php/Network_Security_Tools/Modifying_and_Hacking_Security_Tools/Writing_Network_Sniffers
 http://eecs.wsu.edu/~sshaikot/docs/lbpcap/
http://www.eecis.udel.edu/~sunshine/expcs/code/pcap_packet_read.c


Source:
[1] http://code.google.com/p/chengchuntu1/source/checkout
[2] http://sock-raw.org/papers/syn_scanner





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

Wednesday, November 16, 2011

Configurar Celular - Claro - PerĆŗ

I) Internet (Configura el acceso de Internet )

01) Press [Menu] and select [Settings] .
02) Scroll to [Connectivity] tab and select [Internet settings] .
03) In [Internet settings] , select [Connect using] .
04) In [Data accounts] press [Options] > [Create new] > [PS data] .
Enter the following information :

Name : CLARO DATOS DM
APN : claro.pe

05) Press [Save] .
06) In [Data accounts] , select the created profile, CLARO DATOS DM and press [Options] > [Edit] .
Enter the following information :

APN : claro.pe
Username : claro
Password : claro
Login request : Off
IP address : Ignore
DNS address : Ignore
Authentication : Ignore
Data compression : Off
Header compr. : Off
Proxy settings : Press [Edit].
Proxy : Off

07) Press the end call key to return to the main screen.
The profile is saved .
II) MMS GPRS(Configura el acceso a Mensajes Multimedia )
01) Press [Menu] and select [Messaging] > [Settings] > [Picture message] > [MMS profile] .
02) In [MMS profile] select [New profile] (press [Add] ).
Enter the following information :

MMS profile name : CLARO MMS DM
Message server : http://claro/servlets/mms
Connect using : Press [Edit]

03) In [Data accounts] press [Options] > [Create new] > [PS data] .
Enter the following information :

Name : CLARO MMS DM
APN : mms.claro.pe

04) Press [Save] .
05) In [Data accounts] , select the created profile, CLARO MMS DM and press [Options] > [Edit] .
Enter the following information :

APN : mms.claro.pe
Username : claro
Password : claro
Login request : Off
IP address : Ignore
DNS address : Ignore
Authentication : Ignore
Data compression : Off
Header compr. : Off
Proxy settings : Press [Edit].
Proxy : On
Same for all servers : Off
Proxy servers : Press [Edit].
HTTP :
Username : Leave blank
Password : Leave blank
Proxy address : 192.168.231.30
Port : 80

06) Press [Back] four times, to return to [Data accounts] .
07) In [Data accounts] select the created profile, CLARO MMS DM (press [Select] ).
08) Press [Save] .
09) In [MMS profile] select the created profile, CLARO MMS DM (press [Select] ).
The profile is saved and activated .


III) WAP GPRS(Configura el acceso a WAP)
01) Press [Menu] and select [Settings] .
02) Scroll to [Connectivity] tab and select [Internet settings] .
03) In [Internet settings] , select [Connect using] .
04) In [Data accounts] press [Options] > [Create new] > [PS data] .
Enter the following information :

Name : CLARO WAP DM
APN : wap.claro.pe

05) Press [Save] .
06) In [Data accounts] , select the created profile, CLARO WAP DM and press [Options] > [Edit] .
Enter the following information :

APN : wap.claro.pe
Username : claro
Password : claro
Login request : Off
IP address : Ignore
DNS address : Ignore
Authentication : Ignore
Data compression : Off
Header compr. : Off
Proxy settings : Press [Edit].
Proxy : On
Same for all servers : Off
Proxy servers : Press [Edit].
HTTP :
Username : Leave blank
Password : Leave blank
Proxy address : 192.168.231.30http://www.blogger.com/img/blank.gif
Port : 80http://www.blogger.com/img/blank.gif

07) Press [Back] four times to return to [Data accounts] .
08) In [Data accounts] , select the created profile, CLARO WAP DM (press [Select] ).
Enter the following information :

Allow local conn. : Ignore

09) Press [Save] .
The profile is saved and activated .


Referencias:
[1] http://dmcatc.hc012.sicap.com/frontoffice.view
[2] http://www.ivanandrei.com/2010/12/configura-wap-data-y-mms-de-claro-peru-con-solo-ingresar-tu-numero/

Salesforce - General Information

http://www.blogger.com/img/blank.gif

Referenceshttp://www.blogger.com/img/blank.gif
[1]http://wiki.developerforce.com/page/Force.com_Tutorial:_An_Introduction_to_Visualforce
[2] Adding Custom List Buttons using Standard List Controllers
http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_sosc_custom_button.htm
[3]
http://sfdc.arrowpointe.com/2009/01/08/invoke-apex-from-a-custom-button-using-a-visualforce-page/
[4] Send email and validation form
http://gokubi.com/archives/using-javascript-to-validate-an-apex-form
[5] Invoke apex from custom button
http://sfdc.arrowpointe.com/2009/01/08/invoke-apex-from-a-custom-button-using-a-visualforce-page/

Expresion social

http://www.blogger.com/img/blank.gifhttp://www.psicoactiva.com/tests/expresion_social.htm


Sinestesia  del toque espejo, Hiper Empatia
[1] https://www.vix.com/es/ciencia/172050/es-posible-sentir-fisicamente-el-dolor-de-otra-persona

Salesforce API - Dates

Query with DateTime field in Salesforce

If you have to work with DateTime field in Salesforce, consider next items:

1. Don't use quote
For example:
SELECT Id FROM Opportunity WHERE CreatedDate > 2005-10-08

2. Use DateTime literals: YESTERDAY, TODAY, TOMORROW, LAST_WEEK, THIS_WEEK, NEXT_WEEK, ...
For example:
SELECT Id FROM Account WHERE CreatedDate = LAST_WEEK

3. DateTime in Salesforce is UTC format
For example(C#):
string strSQL = "SELECT Id FROM Opportunity WHERE CreatedDate > " + DateTime.Today.ToString("yyyy-MM-dd");

Wednesday, November 09, 2011

Visual C++ Runtime version

If you install an application and receive an error that the C runtime is not available or you need to develop an application using the runtime, you may need to obtain one or more versions. There are multiple versions of the Visual C runtime:

* Msvcr90.dll -Visual C++ 2008
* Msvcr80.dll -Visual C++ 2005
* Msvcr71.dll -Visual C++ .NET 2003 (.NET Framework 1.1)
* Msvcr70.dll -Visual C++ .NET 2002 (.NET Framework 1.0)

Thursday, October 27, 2011

Postgres - Fechas

Tipos Fecha
timestamp
timestamp with time zone
date
time
time with time zone
interval

Variables de Fecha
CURRENT_DATE : Fecha Actual
CURRENT_TIME : Hora Actual
CURRENT_TIMESTAMP : Fecha y Hora Actual
LOCALTIME
LOCALTIMESTAMP

referencias:

[1] http://elreinodelterror.wordpress.com/2011/02/01/fechas-y-horas-en-postgres/
[2] http://saforas.wordpress.com/2009/11/12/postgresql-fechas-y-horas/
[3] http://postgresql.ru.net/manual/functions-formatting.html

Andrea Parker

http://filmovizia.blogspot.com/2011/07/andrea-parker-filmovizia.html

http://parker-online.com/gallery/displayimage.php?album=126&pos=4

http://andreaparker.celebscentral.net/user/picture/161979/Andrea+Parker

Wednesday, October 26, 2011

Claro TUN

Para acceder a la Tarifa ƚnica Nacional (TUN), el cliente debe inscribirse llamando al *779, opciĆ³n 8.

Friday, October 14, 2011

Salesforce - Using Custom Objects

References:
[1] Introduction to Visualforce
http://wiki.developerforce.com/index.php/Force.com_Tutorial:_An_Introduction_to_Visualforce

Salesforce - List Custom Ojects

<apex:page standardController="External_Competitor__c" sidebar="false" showHeader="false" >
<apex:sectionHeader title="Engineering Change Order: ECO Details" />
<apex:PageMessages />
<apex:messages />
<apex:listViews type="External_Competitor__c" />
</apex:page>

Facturador Sunat SEE SFS (Linux)

    /usr/lib/jvm/java-8-openjdk-amd64/bin/java -jar ./facturadorApp-2.1.jar server prod.yaml References: [1] Make temp certificate for test...