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>

Thursday, September 22, 2011

Firefox::Save tabs

http://firefox-technical-support.blogspot.com/2011/07/enable-save-tabs-upon-exit.html

Dynamic Java Web Start App (JNLP) Using Servlet

Remember sign jar files main and libraries before publish/upload

set path=%path%;c:\J2EE\Java\jdk1.6.0\bin

keytool -genkey -keystore OlvaKeys -alias Olva

jarsigner -keystore OlvaKeys vsislocal.importer.jar Olva
jarsigner -keystore OlvaKeys postgresql-8.4-701.jdbc4.jar Olva


Notes:

The jardiff tool, jnlp-servlet.jar file, and jnlp.jar file http://www.blogger.com/img/blank.gifcan be found in the samples directory of the JDK.


reference:

[1] http://download.oracle.com/javase/1.4.2/docs/guide/jws/downloadservletguide.html

[2] http://portal.krypthonas.de/2010/10/11/passing-dynamically-parameters-to-a-java-web-start-app-jnlp/

[3] Distribute JWS Application http://www1.oan.es/informes/archivos/IT-OAN-2006-8.pdf
[4] Automatically Signing http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/
[5] Netbeans + Webstart + Auto-signing http://netbeans-org.1045718.n5.nabble.com/Webstart-High-Learning-Curve-td2912653.html

Saturday, September 03, 2011

ASP.NET::Error de la validación del estado de vista MAC.

Agregar en el archivo web.config lo siguiente:

<pages enableviewstatemac="false">

Wednesday, August 10, 2011

Power Builder::Tips

DropDown ListBox
http://kell-developer.blogspot.com/2009/09/cargar-una-tabla-un-dropdownlistbox-de.html


Clear datawindow
long ll_i, ll_rc

ll_rc = dw_1.RowCount()

for ll_i = 1 to ll_rc
dw_1.deleterow(1)
next

dw_1.AcceptText()
dw_1.Update(True, True)

--or--

dw_1.Reset() //will never delete the rows from DB, It will just clear the datawindow buffers.


Work with dates
========================================================
dt_today = today()
li_maand = month(dt_today )
li_jaar = year(dt_today )
li_dag = day(dt_today )


apply filter
========================================================
ls_filtro = "columna1 > 100 and columna2 > 30"

dw_1.SetFilter(ls_filtro)

dw_1.Filter( )




references
[0] http://powerbuilder-undiaalavez.blogspot.com/

[1] Tutorial Power Builder 9.0 http://edyovando.galeon.com/INICIO.HTML
[2] Trucos datawin
http://infolenguajes.galeon.com/datawin.htm
[3] http://kell-developer.blogspot.com/2009/09/cargar-una-tabla-un-dropdownlistbox-de.html

[4] List of Functions Available in Datawindow Expressions
http://pbbraindump.wordpress.com/2008/05/15/list-of-functions-available-in-datawindow-expressions/
[5] http://solocodigofuente.com/ejemplos-de-codigo-fuente-en-visual-basic-net/uso-del-control-dropdownlistbox-listbox-listview-de-power-builder/
[6] http://powerbuilder-undiaalavez.blogspot.com/2011_02_01_archive.html

http://ingpcastillo.com/personal/Manual/MANUAL_DE_POWER_BUILDER.pdf
http://sergioor.blogspot.com/2008/02/funciones-principales-de-un-datawindows.html
http://www.todoexpertos.com/categorias/tecnologia-e-internet/programacion/power-builder/respuestas/2317534/datawindows-avanzado



http://sergioor.blogspot.com/2008/02/funciones-principales-de-un-datawindows.html

http://es.scribd.com/doc/6878574/Powerbuilderuso-de-Cursores
http://groups.google.com/group/sybase.public.powerbuilder.database/browse_thread/thread/159c2bf7ef4f114e?pli=1


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...