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


Wednesday, July 13, 2011

php photo gallery::without database

http://phpgraphy.sourceforge.net/
http://www.sgal.org/
http://sourceforge.net/projects/ifoto/
http://yapig.sourceforge.net/
http://qdig.sourceforge.net/

Distancia de Arequipa a otros lugares

http://www.lacasademargott.com/es/arequipa-distancias.htm

Tuesday, June 28, 2011

C.C. Catch::You Shot A Hole In My Soul

He's a midnight dream romancer
He's the only lonely dancer
Oh, only love breaks my heart
He's the nearest thing to heaven
Stole my heart and tried to say then
Oh, only love breaks my heart

You shot a hole in my soul
It's the kind out of love I know
You shot a hole in my soul
Hold on tight, don't let go
You get always what you want from me
You can make it easy, can't you see
You shot a hole, hole, hole
Hole in my soul

Dreams go on forever and ever
Good things do not last forever
Heaven can wait but I can't
But I'd do it once again, babe
I think tomorrow it's too late, babe
Oh, only love breaks my heart

Monday, June 20, 2011

W810::Habilitar MMS y WAP

Primero:
Menú--> Ajustes--> Conectividad --> Comunic. de datos--> Cuentas de datos--> Nueva cuenta--> Datos GPRS--> Nombre: WAP GPRS
APN: wap.claro.pe
Nombre de usuario: claro
Contraseña: claro
(GUARDAR)
Segundo:
Menú--> Ajustes--> Conectividad--> Ajustes Internet--> Perfiles Internet--> Nuevo perfil-->
Nombre: Claro WAP
Conectar usando: (seleccionas la cuenta que creaste) WAP GPRS
(GUARDAR)
Tercero:
Seleccionas el perfil que creaste (Claro WAP) y le das MÁS. Luego seleccionas AJUSTES.
Verificas que en Uso de Proxy diga SI
Dirección de proxy: 192.168.231.30
Número de puerto: 80 //por defecto es 8080 me imagino que se quedaria asi si es que el tipo de navegación fuera http
(GUARDAR)
Para que esté activo el perfil recuerda de “seleccionarlo”.


Configuracion MMS

Primero:
Menú--> Ajustes--> Conectividad--> Comunic. de datos--> Cuentas de datos--> Nueva cuenta--> Datos GPRS--> Nombre: MMS GPRS
APN: mms.claro.pe
Nombre de usuario: claro
Contraseña:claro
(GUARDAR)
Segundo:
Menú--> Ajustes--> Conectividad--> Ajustes Internet--> Perfiles Internet--> Nuevo perfil-->
Nombre: Claro MMS
Conectar usando: (seleccionas la cuenta que creaste) MMS GPRS
(GUARDAR)
Tercero:
Seleccionas el perfil que creaste (Claro MMS) y le das MÁS. Luego AJUSTES.
Verificas que en Uso de Proxy diga SI
Dirección de proxy: 213.26.205.1
Número de puerto: 80
(GUARDAR)
Menú--> Mensajes--> Ajustes--> Msj con imagen--> Perfil MMS--> Nuevo perfil-->
Nombre Perfil MMS: Multimedia
Servidor de msjs: http://claro/servlets/mms
Perfil de internet: Claro MMS
(GUARDAR)
Referencias:
http://www.topsony.com/forum_es/general-f96/configuracion-wap-y-mms-para-claro-peru-t14503.html

Monday, June 13, 2011

Offensive Security

Verify
nmap -sV -PN -p 445,137,139 --script=smb-check-vulns.nse


Meterpreter common commands


meterpreter > getprivs
meterpreter > migrate 2976
meterpreter > bglist

meterpreter > use -l
meterpreter > ?


meterpreter > bgrun keylogrecorder -c 1 -t 15
meterpreter> run keylogrecorder -c 1 -l -t 5
-c 1 to record a login session, "-l" to force logoff, and "-t 5" to deliver the keystrokes every 5 sec.

Basic meterpreter



Meterpreter Cllient commands
http://en.wikibooks.org/wiki/Metasploit/MeterpreterClient

Vulnerabilidad StickyKeys (sethc.exe)
http://foro.infiernohacker.com/index.php?topic=1867.0

Tools
http://www.md5decrypter.co.uk/

REG
http://ss64.com/nt/reg.html

Meterpreter REG
http://carnal0wnage.attackresearch.com/2007/06/defating-nod32-av.html

examples:
[1] Keylogging
http://www.offensive-security.com/metasploit-unleashed/Keylogging
[2] http://tekjournal.wordpress.com/2011/01/08/login-keystroke-recording/
[3] http://pctechtips.org/metasploit-getting-user-password-with-keylogrecorder/
[4] http://www.offensive-security.com/metasploit-unleashed/Meterpreter_Screen_Capture
[5] http://exploit.co.il/hacking/screenspy-meterpreter-script-review/

modules:
http://www.metasploit.com/modules/auxiliary/analyze/jtr_crack_fast


references:
[1] http://www.blueliv.com/downloads/Meterpreter_cheat_sheet_v0.1.pdf
[2] http://www.question-defense.com/2009/12/21/getting-started-with-meterpreter
[3] Custom exploit
http://www.pentester.es/2009/11/por-que-no-consigo-shell-con-mi.html

Thursday, June 09, 2011

Games

NEED FOR SPEED(TM) III: HOT PURSUIT

Tuesday, June 07, 2011

Windows::Network commands(cmd)

net user

net user guest
net user invitado


To enable the Guest account for network access:

net user guest /active:yes
net user invitado /active:yes

To disable the Guest account for network access:

net user guest /active:no
net user invitado /active:no


netstat

References
[1] netstat http://commandwindows.com/netstat.htm

SQL Server::SQLCMD

cd C:\Archivos de programa\Microsoft SQL Server\100\Tools\Binn
C:..>SQLCMD -s 192.168.1.30 -U sa -P pass


sp_databases
use

sp_help tablename
select * from SYSOBJECTS where TYPE = 'U' order by NAME


references:
[1] http://msdn.microsoft.com/en-us/library/ms180944.aspx
[2] http://msdn.microsoft.com/en-us/library/ms165702.aspx

Wednesday, June 01, 2011

Hiren's BootUSB

1. Download USB Disk Storage Format

2. Download Grub4Dos Installer

3.Run USB Disk Storage Format
4.Run Grub4Dos Installer
  4.1 Disk
  4.2 Refresh
  4.3 While disk (MBR)
  4.4 Install
5. Copy grldr and menu.lst (from HBCD folder) to the usb drive
6. Copy everything from CD(Hiren's BootCD) to USB Drive
7. reboot

References:
[1] Download iso http://www.hirensbootcd.org/download/
[2] http://www.hiren.info/pages/bootcd-on-usb-disk

Default Ports

PuertoDesc.EstadoObservaciones
20FTPcerradoUtilizado por FTP
21FTPcerradoUtilizado por FTP
22SSHabiertoSecure Shell.
23TELNETcerradoAcceso remoto
25SMTPcerradoServidor de correo SMTP
53DNScerradoServidor DNS
79FINGERcerradoServidor de información de usuarios de un PC
80HTTPabiertoServidor web
110POP3cerradoServidor de correo POP3
119NNTPcerradoServidor de noticias
135DCOM-scmcerradoSolo se puede cerrar a través de un cortafuegos
139NETBIOScerradoCompartición de Ficheros a través de una red
143IMAPcerradoServidor de correo IMAP
389LDAPcerradoLDAP. Tambien Puede ser utilizado por Neetmeting
443HTTPScerradoServidor web seguro
445MSFT DScerradoServer Message Block.
631IPPcerradoServidor de Impresion
1433MS SQLcerradoBase de Datos de Microsoft
3306MYSQLcerradoBase de Datos. MYSQL
5000UPnPcerradoEn windows está activado este puerto por defecto.

Wednesday, May 25, 2011

nmap::usages

nmap -sV -PN -p 445,137,139 --script=smb-check-vulns.nse

Tuesday, May 24, 2011

Windows.:Hidden user account

http://juliorestrepo.wordpress.com/2008/09/19/trucos-regedit-como-ocultar-una-cuenta-de-usuario-de-la-pantalla-de-bienvenida-de-windows-xp/

Friday, May 20, 2011

TV

KWorld page
http://us.kworld-global.com/main/index.aspx?flag=1


Resources:
[1] Other Driver http://www.nodevice.com/driver/PVR-TV_305UDE/get44169.html
[2] Original Driver http://www.kworld-global.com/main/support_down.aspx?mnuid=1255&modid=14&flag=1

Thursday, May 19, 2011

PsTools::Remote tools

Share resource

NET SHARE sharename=drive:path /REMARK:"text" [/CACHE:Manual | Automatic | No ]
NET SHARE temp=c:\tmp /REMARK:"temporal files"

Drop share.
NET SHARE {sharename | devicename | drive:path} /DELETE
NET SHARE temp

Show resources
net view \\192.168.1.x


Open remote console

psexec \\IP -u USER -p PASSWORD


If Access denied(Acceso denegado) results, then:

Start, Control Panel, Administrative Tools,Local Security Policy.
Open the Local Policies, Security Options.

Accounts: Limit local account use of blank passwords to console logon only set to Disabled.

if don't work try:

Network access: Sharing and security model for local accounts set to "Classic - local users authenticate as themselves".


Notes(Remote Computer):

a) Debe tener habilitada la opción de "Compartir impresoras y archivos" (Inicio -> Ejecutar.... ncpa.cpl)
b) Debe tener deshabilitada la opción "Utilizar uso compartido simple de archivos"
c) Si tiene habilitado algún firewall debe permitir las conexiones por los puertos NetBIOS.
d) La máquina remota debe correr win NT, 2000, XP Pro, Vista o Server 2003
e) Tener usuario y contraseña válidos en la máquina remota
f) La máquina remota debe tener habilitado el recurso IPC$ y ADMIN$
g) La máquina remota debe tener iniciados los servicios NetLogon y Server

resources:
[1] psTools Download http://technet.microsoft.com/en-us/sysinternals/bb897553
[2] HOW TO: Restore Administrative Shares That Have Been Deleted http://support.microsoft.com/kb/318755
[3] Windows XP Professional File Sharing http://www.practicallynetworked.com/sharing/xp_filesharing/index.htm
[4] How to use the Simple File Sharing feature to share files in Windows XP http://support.microsoft.com/kb/304040

Wednesday, May 18, 2011

JavaScript::Add Extensions

Array.prototype.newMethod = function () {

return “this is an extended method for javascript array”;

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

var js_array = new Array();

alert(js_array.newMethod());


references:
[1] Extend array functions http://blog.programmingsolution.net/javascript/javascript-array-extension/
[2] http://stackoverflow.com/questions/477700/array-functions-in-jquery

Wednesday, May 11, 2011

EMS SQL Manager configure for connect to Oracle

tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST = x.x.x.x )(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)

EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = ipc)(KEY = EXTPROC_FOR_XE))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)




sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES)

USE_DEDICATED_SERVER = ON

USE_CMAN = TRUE

Tuesday, May 10, 2011

TeamViewer::Change ID after cloning

if you clone hardisk with Teamviewer is possible have same id's on many computer for regenerate ids's remove using regedit next key:

for 64 bit Windows 7:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TeamViewer\VersionX
for 32 bit Windows 7:
HKEY_LOCAL_MACHINE\SOFTWARE\TeamViewer\VersionX

References:
http://eatrocks.com/?p=166

Tuesday, May 03, 2011

VMWare 7.0::Snow Leopard 10.6.1-10.6.2

two comments:
first you need VMWare 7.0 and Snow Leopard iso.

second on boot: -v cpus=1 busratio=20


notes:

for active partition if not

after push F8 on boot prompt: -v -s cpus=1 busratio=20
and next you have prompt #fdisk -e /dev/rdisk0
:print --to display a list of partitions on the disk.
:flag n --n is the partition where you installed Mac OS X.


references
[1] http://cyberwarez.info/forum/showthread.php/2582692-CW-UPLOAD-MAC-OSX-Collection-2011?p=3775422&viewfull=1
[2] http://www.chw.net/foro/hackintosh-f179/887315-no-puedo-instalar-mac-os-leopard.html
[3] http://bobhood.wordpress.com/2009/06/12/installing-ideneb-1-4-under-vmware-6-5-2/
[4] http://cyberwarez.info/forum/showthread.php/2582692-CW-UPLOAD-MAC-OSX-Collection-2011?p=3775422&viewfull=1
[5] http://ayudalinux.wordpress.com/2007/02/03/instalar-macosx86-1045-sobre-vmware/
[6] OSx86 – How To install Mac OS X on VMware Server & AMD 64 http://asendure.wordpress.com/2006/10/01/osx86-how-to-install-mac-os-x-on-vmware-server-amd-64/

Friday, April 29, 2011

Linux Fonts

Step 1: Download fonts from [1]
Step 2: unzip and copy to default fonts path
$cp -r /home/user/Desktop/Downloads/fontfolder /usr/share/fonts/
Step 3: Update fonts cache
$fc-cache /usr/share/fonts/fontfolder/

Resources:

[1] fonts http://www.portalplanetasedna.com.ar/fuentes1.htm

Thursday, April 28, 2011

Ghost::How to Clone Partition from Intel to Amd processor.

boot from windows xp cdrom, and select install(F8) and next repair(After copying the installation data to the drive, you should boot once again from the cdrom - not from your harddisk)
on second boot select Repair on first screen, login and execute next commands.

cd c:\windows\system32\drivers
c:\windows\system32\drivers>del intelide.sys
c:\windows\system32\drivers>del intelppm.sys

exit and wait reboot

Note:
I try delete files after clone(using external boot cd) and reset then works fine.

References:
[1]http://www.cpuhack.com/wordpress/?p=142
[2]using register mode http://support.microsoft.com/kb/314082

ASP.NET::The timeout period

The timeout period elapsed prior to completion of the operation or the server is not responding.

try below options, set command timeout parameter to 0. It will execute till the end. By default it will timeout in 30 secs.

Using Code:

sqlCommand.CommandTimeout = 0;

Using Connection String: Check the timeout in connection string, try setting it to max...
data source="ServerName;initial catalog=DataBaseName;uid=ID;pwd=Password;Connect Timeout=120"

Using Sql Server:On the SQL Server also you can set timeout of a query. Check with SQL Server DBA's to know the Query time out set on servers.

Using IIS: On IIS also you have timeout setting. In IIS --> Website tab --> Connection time out box . Set the max timeout value (in secs) IIS should maintain idle connection .

check all these possibilities

Wednesday, April 27, 2011

OpenSUSE::Install JRE1.6

Step 1:Download JRE from [2]
#wget ....
Step 2: Executing installer
#chmod +x jre-6-linux-i586.bin
#./jre-6-linux-i586.bin
Step 3:Move directory to common
#mv jre1.6.0 /usr/lib/jvm

Step 4:Set new Java to "alternatives of java":
#update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jre1.6.0/bin/java" 1
Step 5:Verify version
#java -version
references:

[1] Instalar JAVA JRE 1.6.0 en Firefox http://www.ubuntu-es.org/node/33116
[2] JRE repository
EShttp://www.java.com/es/download/linux_manual.jsp
ENhttp://www.java.com/en/download/linux_manual.jsp

Monday, April 25, 2011

Web Security

Articles : How to hack a website (Basic sql injection)
http://www.ecademy.com/node.php?id=76050

references:
http://www.thc.org/thc-hydra/

Enable/Disable Firefox Cookies

on url address put about:config and search next item.
network.cookie.alwaysAcceptSessionCookies //verify value is true


References:
http://support.mozilla.com/es/kb/Habilitar%20y%20deshabilitar%20cookies

Tuesday, April 19, 2011

Spring MVC

Spring MVC Fast Tutorial (with sources for download)
http://maestric.com/doc/java/spring

Postgres::Drop connections

--List all of the open connections to a given database
select * from pg_stat_activity where datname='database';

--Drop all of the open connections to a given database:
select pg_terminate_backend(procpid) from pg_stat_activity where datname='database';
--More samples
select * from pg_stat_activity where date(backend_start)='2011-04-19';
select pg_terminate_backend(procpid) from pg_stat_activity where date(backend_start)='2011-04-19';

--One sample more specific
select * from pg_stat_activity where backend_start < '2011-05-04 10:00' and waiting=false order by backend_start desc
select pg_terminate_backend(procpid) from pg_stat_activity where backend_start < '2011-05-04 10:00' and waiting=false

select pg_terminate_backend(procpid) from pg_stat_activity where backend_start < '2011-08-05 07:00' and datname='' and waiting=false

References:
http://www.postgresql.org/docs/current/static/functions-admin.html#FUNCTIONS-ADMIN-SIGNAL-TABLE
http://www.postgresql.org/docs/8.4/static/monitoring-stats.html#MONITORING-STATS-VIEWS-TABLE

Friday, April 15, 2011

Default Setting of SMTP

Gmail
Outing Server:smtp.googlemail.com
port:465
Connection Security:SSL/TLS

Thursday, March 31, 2011

Amy MacDonald

2007 This is the life
http://linkto.net/?2952626344cf0f4eeeae854.45628949
2010 A curious thing
http://linkto.net/?19645296464cf0f5026f0bb4.43062513

.NET Dynamic Reports

http://www.gotreportviewer.com/DynamicMatrix.zip
Render Report
http://weblogs.asp.net/rajbk/archive/2006/03/02/How-to-render-client-report-definition-files-_28002E00_rdlc_2900_-directly-to-the-Response-stream-without-preview.aspx

iPhone Developers::Resources

XCode under Windows
http://www.ifans.com/forums/showthread.php?t=267007
http://ipodtoucher55.blogspot.com/2010/12/installing-ios-sdk-and-xcode-on-windows.html

Tutorials
http://www.cristalab.com/tutoriales/fundamentos-de-programacion-para-iphone-c260l/
http://www.scribd.com/doc/12684298/Building-PhotoKast-Creating-an-iPhone-app-in-one-month
http://iproyectoiphone.blogspot.com/

Hello World on iPhone
http://developer.apple.com/library/ios/#documentation/IDEs/Conceptual/xcode_quick_start/000-About_Xcode/introduction.html#//apple_ref/doc/uid/TP40010575

http://developer.apple.com/library/ios/navigation/

How to connect to a MySQL database from an iPhone?
http://stackoverflow.com/questions/468618/how-to-connect-to-a-mysql-database-from-an-iphone

Mysql and Objective-C
http://www.karlkraft.com/index.php/2010/06/02/mysql-and-objective-c/

MySQL.framework for iPhone
http://www.eval-art.com/2009/06/22/mysqlframework-for-iphone/

CocoaMySQL
http://sourceforge.net/projects/cocoamysql/files/CocoaMySQL%20source/CocoaMySQL%20source%20v0.7b4%20%28BETA%29/

MySQL on MAC OS X
http://developer.apple.com/internet/opensource/osdb.html
iMy (mySQL client for iphone)
http://www.spanware.com/iphonedb/iMy/iMy.html
iAMPS (webserver on your iPhone)
http://iamps.byethost24.com/index.php?postid=15

iPhone & Web Service

How can I connect iPhone and web service and get XML data?
http://stackoverflow.com/questions/352676/how-can-i-connect-iphone-and-web-service-and-get-xml-data

iPhone Programming Tutorial – Intro to SOAP Web Services
http://www.icodeblog.com/2008/11/03/iphone-programming-tutorial-intro-to-soap-web-services/

Creating an iPhone-based Web
http://blogs.oreilly.com/iphone/2008/09/creating-an-iphone-based-web-s.html

http://es.w3support.net/index.php?db=so&id=352676

Wednesday, March 30, 2011

Disable Popup at Yahoo Messenger started

1. Login using the Yahoo messenger.
2. Go to Messenger >> Preferences >> General category.
3. Uncheck [ ] Show Yahoo! Messenger Insider.

References
[1]http://txpress.blogspot.com/2007/03/remove-yahoo-messenger-insider-popup.html

Monday, March 28, 2011

Install Java + Tomcat on Linux CentOS

I. Installing Java

#yum install jpackage-utils

#wget url/jdk-6u13-linux-i586-rpm.bin [1]

#chmod +x jdk-6u13-linux-i586-rpm.bin

#./jdk-6u13-linux-i586-rpm.bin

#java -version

II. Installing Tomcat

#wget http://apache.mirror.testserver.li/tomcat/tomcat-6/v6.0.32/bin/apache-tomcat-6.0.32.tar.gz

#cp apache-tomcat-6.0.32.tar.gz /var/

#cd /var

#tar -zxvf apache-tomcat-6.0.32.tar.gz

# ln -s /var/apache-tomcat-6.0.32 tomcat

#/var/tomcat/bin/startup.sh

References:
[1]Java Download http://www.oracle.com/technetwork/java/javase/downloads/index.html
[2]Java + Tomcat + startup in CentOS
http://wiki.openbluedragon.org/wiki/index.php/Apache_Tomcat_on_CentOS/RedHat
[3]Java 6 + Tomcat in CentOS
http://www.satollo.net/how-to-install-tomcat-and-java-6-on-centos-5-2
[4]Java SE
http://www.oracle.com/technetwork/java/javase/downloads/index.html
[5]Tomcat (download core tar.gz)
http://tomcat.apache.org/download-60.cgi
[6]Mirror
http://apache.mirror.testserver.li/tomcat/tomcat-6/v6.0.32/bin/apache-tomcat-6.0.32.tar.gz

CSS Templates

http://www.woothemes.com/themes/

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