Thursday, September 22, 2011
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
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
Tuesday, September 20, 2011
Saturday, September 17, 2011
ASP.NET:: Maestro Detalle
Referencias:
[1] http://tydw.wordpress.com/2008/02/14/asp-net-formulario-maestro-detalle-aplicable-a-vb-y-c/
[2] http://sqlserversamples.codeplex.com/
[3]http://www.asp.net/data-access/tutorials/using-the-formview-s-templates-cs
[1] http://tydw.wordpress.com/2008/02/14/asp-net-formulario-maestro-detalle-aplicable-a-vb-y-c/
[2] http://sqlserversamples.codeplex.com/
[3]http://www.asp.net/data-access/tutorials/using-the-formview-s-templates-cs
Wednesday, September 14, 2011
Creating .XLS and .XLSX with C#
Code samples:
Visual Studio 2008 C# ASP.NET MVC Web Application
http://sites.google.com/site/leniel/blog/ExcelWriterMvcProject.zip
References:
ExcelPackage: Office Open XML Format file creation
http://excelpackage.codeplex.com/
ExcelPackage binaries download
http://excelpackage.codeplex.com/Release/ProjectReleases.aspx
NPOI
http://npoi.codeplex.com/
Visual Studio 2008 C# ASP.NET MVC Web Application
http://sites.google.com/site/leniel/blog/ExcelWriterMvcProject.zip
References:
ExcelPackage: Office Open XML Format file creation
http://excelpackage.codeplex.com/
ExcelPackage binaries download
http://excelpackage.codeplex.com/Release/ProjectReleases.aspx
NPOI
http://npoi.codeplex.com/
Manual del Conductor
http://www.drtcsanmartin.gob.pe/documentos/manual_conductor/
http://www.mtc.gob.pe/portal/normas_transito/BALOTARIO.pdf
http://www.touringperu.com.pe/info/codigo_transito/balotario.pdf
Accidente Rey latino Bateas Caylloma
https://www.hbanoticias.com/arequipa-volcadura-de-bus-rey-latino-deja-un-fallecido-y-29-heridos-en-caylloma-relacion-de-heridos/
http://www.mtc.gob.pe/portal/normas_transito/BALOTARIO.pdf
http://www.touringperu.com.pe/info/codigo_transito/balotario.pdf
Accidente Rey latino Bateas Caylloma
https://www.hbanoticias.com/arequipa-volcadura-de-bus-rey-latino-deja-un-fallecido-y-29-heridos-en-caylloma-relacion-de-heridos/
Friday, September 09, 2011
Wednesday, September 07, 2011
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">
<pages enableviewstatemac="false">
Friday, September 02, 2011
Tuesday, August 30, 2011
Bakup SQL Server 2008 to SQL Server 2005
http://www.hyper-v-mart.com/HowTo/Convert_SQL_Server_2008_to_SQL_Server_2005.aspx
Resources:
[1]Microsoft SQL Server 2005 Express Edition Toolkit (223.9 MB)
http://go.microsoft.com/fwlink/?LinkId=65111
Resources:
[1]Microsoft SQL Server 2005 Express Edition Toolkit (223.9 MB)
http://go.microsoft.com/fwlink/?LinkId=65111
Saturday, August 20, 2011
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
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
Friday, August 05, 2011
SQL Server::Collation
SQL Server::Identificar versión y edición
Cómo determinar la versión de SQL Server
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
SELECT @@VERSION
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
SELECT @@VERSION
Friday, July 22, 2011
Wednesday, July 20, 2011
Obtener operador al cual pertenece el número telefónico (fijo)
Obtener operador al cual pertenece el número telefónico (fijo)
Lima
http://www.mtc.gob.pe/portal/comunicacion/concesion/registros/numeracion/fija/lima.pdf
Provincias
http://www.mtc.gob.pe/portal/comunicacion/concesion/registros/numeracion/fija/prov.pdf
Obtener cantidad de numeros por DNI (Claro moviles)
http://www.claro.com.pe/wps/portal/pe/pc/hogar/movil/prepago
Lima
http://www.mtc.gob.pe/portal/comunicacion/concesion/registros/numeracion/fija/lima.pdf
Provincias
http://www.mtc.gob.pe/portal/comunicacion/concesion/registros/numeracion/fija/prov.pdf
Obtener cantidad de numeros por DNI (Claro moviles)
http://www.claro.com.pe/wps/portal/pe/pc/hogar/movil/prepago
Saturday, July 16, 2011
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/
http://www.sgal.org/
http://sourceforge.net/projects/ifoto/
http://yapig.sourceforge.net/
http://qdig.sourceforge.net/
Tuesday, July 12, 2011
Remove Administrator Password on Windows (Remover contraseña de Administrador)
Thursday, July 07, 2011
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
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 27, 2011
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
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
Wednesday, June 15, 2011
Declaraciones SUNAT
https://www.sunat.gob.pe/cl-ta-itmenuagrupa/MenuInternet.htm
Referencias:
Como Instalar http://www.youtube.com/watch?v=y8XDcjIsQTY
Registrar declarante http://www.youtube.com/watch?v=wpTEHxaIFB8
Declarar IGV http://www.youtube.com/watch?v=lu1Z03zlL0g&feature=related
Referencias:
Como Instalar http://www.youtube.com/watch?v=y8XDcjIsQTY
Registrar declarante http://www.youtube.com/watch?v=wpTEHxaIFB8
Declarar IGV http://www.youtube.com/watch?v=lu1Z03zlL0g&feature=related
Tuesday, June 14, 2011
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
nmap -sV -PN
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
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
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
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
Monday, June 06, 2011
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
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
Puerto | Desc. | Estado | Observaciones |
20 | FTP | cerrado | Utilizado por FTP |
21 | FTP | cerrado | Utilizado por FTP |
22 | SSH | abierto | Secure Shell. |
23 | TELNET | cerrado | Acceso remoto |
25 | SMTP | cerrado | Servidor de correo SMTP |
53 | DNS | cerrado | Servidor DNS |
79 | FINGER | cerrado | Servidor de información de usuarios de un PC |
80 | HTTP | abierto | Servidor web |
110 | POP3 | cerrado | Servidor de correo POP3 |
119 | NNTP | cerrado | Servidor de noticias |
135 | DCOM-scm | cerrado | Solo se puede cerrar a través de un cortafuegos |
139 | NETBIOS | cerrado | Compartición de Ficheros a través de una red |
143 | IMAP | cerrado | Servidor de correo IMAP |
389 | LDAP | cerrado | LDAP. Tambien Puede ser utilizado por Neetmeting |
443 | HTTPS | cerrado | Servidor web seguro |
445 | MSFT DS | cerrado | Server Message Block. |
631 | IPP | cerrado | Servidor de Impresion |
1433 | MS SQL | cerrado | Base de Datos de Microsoft |
3306 | MYSQL | cerrado | Base de Datos. MYSQL |
5000 | UPnP | cerrado | En windows está activado este puerto por defecto. |
Wednesday, May 25, 2011
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
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
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
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
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
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
Wednesday, May 04, 2011
Quartz.Net IIS7
references:
[1] How to use IIS Manager to get Worker Processes http://blog.csdn.net/yefengmeander/archive/2010/11/08/5996291.aspx
[2] http://www.springframework.net/doc-latest/reference/html/index.html
[3]Forcing an ASP.NET Application to 'stay alive' http://www.west-wind.com/weblog/posts/2007/May/10/Forcing-an-ASPNET-Application-to-stay-alive
[4] Scheduler for ASP.NET http://stackoverflow.com/questions/5577729/scheduler-for-asp-net
[5] Simulate a Windows Service using ASP.NET to run scheduled jobshttp://www.codeproject.com/KB/aspnet/ASPNETService.aspx
[6] The IIS 7.5 Application Warm-Up Module http://blogs.iis.net/thomad/archive/2009/10/14/now-available-the-iis-7-5-application-warm-up-module.aspx
resources:
http://quartznet.sourceforge.net/features.html
[1] How to use IIS Manager to get Worker Processes http://blog.csdn.net/yefengmeander/archive/2010/11/08/5996291.aspx
[2] http://www.springframework.net/doc-latest/reference/html/index.html
[3]Forcing an ASP.NET Application to 'stay alive' http://www.west-wind.com/weblog/posts/2007/May/10/Forcing-an-ASPNET-Application-to-stay-alive
[4] Scheduler for ASP.NET http://stackoverflow.com/questions/5577729/scheduler-for-asp-net
[5] Simulate a Windows Service using ASP.NET to run scheduled jobshttp://www.codeproject.com/KB/aspnet/ASPNETService.aspx
[6] The IIS 7.5 Application Warm-Up Module http://blogs.iis.net/thomad/archive/2009/10/14/now-available-the-iis-7-5-application-warm-up-module.aspx
resources:
http://quartznet.sourceforge.net/features.html
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/
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
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
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
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
#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
Tuesday, April 26, 2011
Google Earth::Aviones en vivo
Recursos:
[1]Google Earth http://www.google.es/intl/es/earth/index.html
[2]Archivo kmz http://spamloco.net/2009/06/ver-aviones-en-vivo-con-google-earth.html
[3]Tutorial como usar archivo http://www.youtube.com/watch?v=o2LJEuCF82Q
[4]Mas archivos http://flightwise.com/flighttracking/
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/
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
network.cookie.alwaysAcceptSessionCookies //verify value is true
References:
http://support.mozilla.com/es/kb/Habilitar%20y%20deshabilitar%20cookies
Thursday, April 21, 2011
Wednesday, April 20, 2011
Geometria Computacional
Aplicaciones
http://www.dma.fi.upm.es/docencia/segundociclo/geomcomp/aplicaciones.html
[1] Algoritmos Geométricos (pt) http://www.dcc.fc.up.pt/~apt/aulas/ALGOGEO/1213/
[2] Geometria computacional (pt) https://www.ime.usp.br/~freitas/gc/
http://www.dma.fi.upm.es/docencia/segundociclo/geomcomp/aplicaciones.html
[1] Algoritmos Geométricos (pt) http://www.dcc.fc.up.pt/~apt/aulas/ALGOGEO/1213/
[2] Geometria computacional (pt) https://www.ime.usp.br/~freitas/gc/
Tuesday, April 19, 2011
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
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
Monday, April 18, 2011
Friday, April 15, 2011
Wednesday, April 13, 2011
Wednesday, April 06, 2011
Network Security Tools
Wireshark
Ethercap
Winpcap
Resources:
[0] http://wiki.wireshark.org/FrontPage
[1]http://seguridadyredes.nireblog.com/post/2008/03/24/analisis-de-red-con-wireshark-filtros-de-captura-y-visualizacian
[2]http://www.soportederedes.com/2007/06/wireshark-101-filtros-de-visualizacin.html
[3] Yahoo http://wiki.wireshark.org/YMSG
[4] AIM http://wiki.wireshark.org/AIM
[5] MSN http://wiki.wireshark.org/MSNMS?action=show&redirect=MSN
[6] Cain http://shetoldme.com/Technology/How-To-Dump-Windows-Password-Using-Pwdump
Ethercap
Winpcap
Resources:
[0] http://wiki.wireshark.org/FrontPage
[1]http://seguridadyredes.nireblog.com/post/2008/03/24/analisis-de-red-con-wireshark-filtros-de-captura-y-visualizacian
[2]http://www.soportederedes.com/2007/06/wireshark-101-filtros-de-visualizacin.html
[3] Yahoo http://wiki.wireshark.org/YMSG
[4] AIM http://wiki.wireshark.org/AIM
[5] MSN http://wiki.wireshark.org/MSNMS?action=show&redirect=MSN
[6] Cain http://shetoldme.com/Technology/How-To-Dump-Windows-Password-Using-Pwdump
Tuesday, April 05, 2011
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
http://linkto.net/?2952626344cf0f4eeeae854.45628949
2010 A curious thing
http://linkto.net/?19645296464cf0f5026f0bb4.43062513
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
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
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
Tuesday, March 29, 2011
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
#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
Videos Graciosos
http://video.latam.msn.com/watch/video/gato-cansado-se-desmaya/1jb3dt5rq
http://video.latam.msn.com/watch/video/sonrie-cuando-le-dicen/1jbyn00k1
http://video.latam.msn.com/watch/video/perro-ladra-mas-bajo-a-pedido/1jb65jo8z
http://video.latam.msn.com/watch/video/precision-japonesa/1jb7ufffb
http://video.latam.msn.com/watch/video/carrera-de-31-piernas/1jb3la8c6
http://video.latam.msn.com/watch/video/gato-contra-perro-en-camara-lenta/1jbatlyp9
http://video.latam.msn.com/watch/video/la-mejor-imitadora-de-animales-del-mundo/p4fej3h3
http://video.latam.msn.com/watch/video/sonrie-cuando-le-dicen/1jbyn00k1
http://video.latam.msn.com/watch/video/perro-ladra-mas-bajo-a-pedido/1jb65jo8z
http://video.latam.msn.com/watch/video/precision-japonesa/1jb7ufffb
http://video.latam.msn.com/watch/video/carrera-de-31-piernas/1jb3la8c6
http://video.latam.msn.com/watch/video/gato-contra-perro-en-camara-lenta/1jbatlyp9
http://video.latam.msn.com/watch/video/la-mejor-imitadora-de-animales-del-mundo/p4fej3h3
Saturday, March 26, 2011
Friday, March 25, 2011
Web Designes::Best Samples
Star Girls
Olivia Munn
http://www.perfectpeople.net/photo-picture-image/132277/olivia-munn.htm
http://ricasgarcia.deviantart.com/art/Olivia-Munn-179616076
http://www.1920x1200.net/tag/1280x800/page/21/
http://www.1920x1200.net/2010/08/26/olivia-munn-7/
Travieza
http://www.8thos.com/threads/olivia-munn.1766/
http://bolichodogremio.blogspot.com.br/2009/09/olivia-munn-iron-man-2.html
Sasha Grey
http://efersoto.blogspot.com/2010/12/oda-al-universo-de-una-dama.html
Denise Milani
http://www.theplace2.ru/photos/gallery.php?id=2537&page=3
Asiatics
http://zengallery.blogspot.com.br/
Latinas
Azalia Alfaro
http://www.dogguie.com/dogguie-lectores-la-bella-y-sensual-azalia/
http://www.facebook.com/profile.php?id=100001438061662
India
http://www.hotbollywoodwomen.com/2010/08/vidya-balan-beautiful-face.html
http://www.hotbollywoodwomen.com/2009/10/bollywood-actress-best-butt-competition.html
http://indianpicwallpaper.blogspot.com/2010/06/kareena-kapoor-beautiful-style.html
http://www.perfectpeople.net/photo-picture-image/132277/olivia-munn.htm
http://ricasgarcia.deviantart.com/art/Olivia-Munn-179616076
http://www.1920x1200.net/tag/1280x800/page/21/
http://www.1920x1200.net/2010/08/26/olivia-munn-7/
Travieza
http://www.8thos.com/threads/olivia-munn.1766/
http://bolichodogremio.blogspot.com.br/2009/09/olivia-munn-iron-man-2.html
Sasha Grey
http://efersoto.blogspot.com/2010/12/oda-al-universo-de-una-dama.html
Denise Milani
http://www.theplace2.ru/photos/gallery.php?id=2537&page=3
Asiatics
http://zengallery.blogspot.com.br/
Latinas
Azalia Alfaro
http://www.dogguie.com/dogguie-lectores-la-bella-y-sensual-azalia/
http://www.facebook.com/profile.php?id=100001438061662
India
http://www.hotbollywoodwomen.com/2010/08/vidya-balan-beautiful-face.html
http://www.hotbollywoodwomen.com/2009/10/bollywood-actress-best-butt-competition.html
http://indianpicwallpaper.blogspot.com/2010/06/kareena-kapoor-beautiful-style.html
Wednesday, March 23, 2011
Portal Cautivo
[1] pfsense http://www.pfsense.org/
http://es.wikipedia.org/wiki/Portal_cautivo
http://blyx.com/public/wireless/nocatbox/nocatbox-howto-es.pdf
http://es.wikipedia.org/wiki/Portal_cautivo
http://blyx.com/public/wireless/nocatbox/nocatbox-howto-es.pdf
Tuesday, March 22, 2011
ASP.NET MVC and HTTPS
Enable SSL or HTTPS in IIS 7
1. Open IIS from Administrative Tools.
2. Navigate to Sites>Default Web Site. Or select the web site you want to enable SSL or HTTPS.
3. In the right pane, Click Binding.
4. Default is setup Port 80. You can click Add and to HTTPS or port 443.
5. Continue the instruction to complete the settigns.
Referencias:
[1]Adding HTTPS/SSL support to ASP.NET MVC routing
http://blog.stevensanderson.com/2008/08/05/adding-httpsssl-support-to-aspnet-mvc-routing/
[2]Requiring SSL For ASP.NET MVC Controllers
http://weblogs.asp.net/dwahlin/archive/2009/08/25/requiring-ssl-for-asp-net-mvc-controllers.aspx
[3]SSL pages under ASP.NET MVC
http://stackoverflow.com/questions/156748/ssl-pages-under-asp-net-mvc
[4]http://es.wikipedia.org/wiki/Hypertext_Transfer_Protocol_Secure
[5]Enabling SSL on IIS 7.0 Using Self-Signed Certificates http://weblogs.asp.net/scottgu/archive/2007/04/06/tip-trick-enabling-ssl-on-iis7-using-self-signed-certificates.aspx
[6] Configure IIS http://learn.iis.net/page.aspx/144/how-to-set-up-ssl-on-iis-7/
[7] IIS 7 SSL Certificate Installation http://www.digicert.com/ssl-certificate-installation-microsoft-iis-7.htm
[8] Enable SSL on IIS 7 (Spanish) http://thinkingindotnet.wordpress.com/2007/04/06/trucos-habilitar-ssl-en-iis-70-usando-certificados-firmados-por-nosotros/
[9] IIS7 - How to Install GoDaddy SSL Certificate http://www.netometer.com/video/tutorials/iis7-godaddy-ssl-certificate/
[10] Self-Signed Certificates on IIS 7 – the Easy Way and the Most Effective Way http://www.robbagby.com/iis/self-signed-certificates-on-iis-7-the-easy-way-and-the-most-effective-way/
1. Open IIS from Administrative Tools.
2. Navigate to Sites>Default Web Site. Or select the web site you want to enable SSL or HTTPS.
3. In the right pane, Click Binding.
4. Default is setup Port 80. You can click Add and to HTTPS or port 443.
5. Continue the instruction to complete the settigns.
Referencias:
[1]Adding HTTPS/SSL support to ASP.NET MVC routing
http://blog.stevensanderson.com/2008/08/05/adding-httpsssl-support-to-aspnet-mvc-routing/
[2]Requiring SSL For ASP.NET MVC Controllers
http://weblogs.asp.net/dwahlin/archive/2009/08/25/requiring-ssl-for-asp-net-mvc-controllers.aspx
[3]SSL pages under ASP.NET MVC
http://stackoverflow.com/questions/156748/ssl-pages-under-asp-net-mvc
[4]http://es.wikipedia.org/wiki/Hypertext_Transfer_Protocol_Secure
[5]Enabling SSL on IIS 7.0 Using Self-Signed Certificates http://weblogs.asp.net/scottgu/archive/2007/04/06/tip-trick-enabling-ssl-on-iis7-using-self-signed-certificates.aspx
[6] Configure IIS http://learn.iis.net/page.aspx/144/how-to-set-up-ssl-on-iis-7/
[7] IIS 7 SSL Certificate Installation http://www.digicert.com/ssl-certificate-installation-microsoft-iis-7.htm
[8] Enable SSL on IIS 7 (Spanish) http://thinkingindotnet.wordpress.com/2007/04/06/trucos-habilitar-ssl-en-iis-70-usando-certificados-firmados-por-nosotros/
[9] IIS7 - How to Install GoDaddy SSL Certificate http://www.netometer.com/video/tutorials/iis7-godaddy-ssl-certificate/
[10] Self-Signed Certificates on IIS 7 – the Easy Way and the Most Effective Way http://www.robbagby.com/iis/self-signed-certificates-on-iis-7-the-easy-way-and-the-most-effective-way/
Thursday, March 17, 2011
Salesforce::Override save method of Opportunity
Apex Class
====================================================================================
public class OpportunityEditControllerExtension {
public String status;
public String getStatus() {return status;}
public opportunity oppo;
private final ApexPages.StandardController controller;
//initializes the private member variables
public OpportunityEditControllerExtension(ApexPages.StandardController stdController)
{
controller= stdController;
this.oppo= (opportunity)controller.getRecord();
}
public PageReference mysave()
{
try{
update oppo;
}
catch(DmlException ex){
ApexPages.addMessages(ex);
}
status='Updated...';
//PageReference sc = new ApexPages.StandardController(oppo).view();
//return sc;
return null;
}
}
====================================================================================
Apex Page
====================================================================================
<apex:page standardcontroller="opportunity" extensions="OpportunityEditControllerExtension" >
<apex:form >
<apex:pageblock >
<apex:pageBlockButtons >
<apex:commandbutton value="Save" action="{!mysave}" rerender="resultsPanel" status="status"/>
<apex:inputfield value="{!opportunity.name}"/>
<apex:inputfield value="{!opportunity.amount}"/>
<apex:inputfield value="{!opportunity.closedate}"/>
<apex:actionStatus id="status" startText="Fetching map..."/>
<apex:outputPanel id="resultsPanel">
====================================================================================
public class OpportunityEditControllerExtension {
public String status;
public String getStatus() {return status;}
public opportunity oppo;
private final ApexPages.StandardController controller;
//initializes the private member variables
public OpportunityEditControllerExtension(ApexPages.StandardController stdController)
{
controller= stdController;
this.oppo= (opportunity)controller.getRecord();
}
public PageReference mysave()
{
try{
update oppo;
}
catch(DmlException ex){
ApexPages.addMessages(ex);
}
status='Updated...';
//PageReference sc = new ApexPages.StandardController(oppo).view();
//return sc;
return null;
}
}
====================================================================================
Apex Page
====================================================================================
<apex:page standardcontroller="opportunity" extensions="OpportunityEditControllerExtension" >
<apex:form >
<apex:pageblock >
<apex:pageBlockButtons >
<apex:commandbutton value="Save" action="{!mysave}" rerender="resultsPanel" status="status"/>
<apex:inputfield value="{!opportunity.name}"/>
<apex:inputfield value="{!opportunity.amount}"/>
<apex:inputfield value="{!opportunity.closedate}"/>
<apex:actionStatus id="status" startText="Fetching map..."/>
<apex:outputPanel id="resultsPanel">
Salesforce::Apex Page::Add extensions
Load another objetcts
http://stackoverflow.com/questions/3552779/salesforce-softphone-relate-call-to-records-in-two-different-objects
Adding Custom List Buttons using Standard List Controllers
http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_sosc_custom_button.htm
http://stackoverflow.com/questions/3552779/salesforce-softphone-relate-call-to-records-in-two-different-objects
Adding Custom List Buttons using Standard List Controllers
http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_sosc_custom_button.htm
Tuesday, March 15, 2011
Salesforce::Class for Retrieve data from another URL using JSON
1) You need register url of repository.
2) Apex Class
=====================================================================================
=====================================================================================
2) Apex Page
=====================================================================================
<apex:page controller="JsonSecondController">
<apex:form >
<apex:selectList id="idindustry" value="{!name}" size="1">
<apex:selectOptions value="{!Options}"/>
<apex:commandButton value="Test" action="{!test}" rerender="out" status="status"/>
<apex:outputPanel id="out">
<apex:actionstatus id="status" startText="testing...">
=====================================================================================
References:
[1] JSONObject http://www.embracingthecloud.com/CommentView,guid,6ca59b34-f896-48a2-b1bf-33ffbe96b4ec.aspx
[2] http://wiki.developerforce.com/index.php/Building_Android_Applications_with_the_Force.com_REST_API
[3] JSON Validator page http://www.jsonlint.com/
2) Apex Class
=====================================================================================
public class JsonSecondController {
String name;
public PageReference test() {
return null;
}
public PageReference submit() {
return null;
}
public String getName() { return name;}
public void setName(String nname) { name=nname;}
public ListgetOptions()
{
ListdefaultResult= new List ();
defaultResult.add(new SelectOption('','---'));
listlvalues;
try
{
String values=getJsonString('342096656648874');
lvalues=JSONObject.jsonarray ( new JSONObject.JSONTokener( values ) );
}
catch(Exception e)
{
return defaultResult;
}
return getSelectOptions(lvalues);
}
private String getJsonString(String id) {
String json;
HttpRequest req = new HttpRequest();
Http http = new Http();
req.setMethod('GET');
// generate the url for the request
String url = 'http://datarepository/page.aspx/GetIndustries/'+id;
req.setEndpoint(url);// add the endpoint to the request
req.setCompressed(true);
HTTPResponse resp = http.send(req);
json = resp.getBody().replace('\n', '');
try {
//System.debug('Respond code: ' + resp.getStatus());
return json;
} catch (JSONObject.JSONException e) {
return 'Error parsing JSON response: '+e;
}
}
private ListgetSelectOptions(list l)
{
Listelements=new List ();
for (Integer i = 0; i < l.size(); i++){
JSONObject v = l.get(i).obj;
String value=v.getValue('Value').str;
String label=v.getValue('Text').str;
elements.add(new SelectOption(value,label));
}
return elements;
}
}
=====================================================================================
2) Apex Page
=====================================================================================
<apex:page controller="JsonSecondController">
<apex:form >
<apex:selectList id="idindustry" value="{!name}" size="1">
<apex:selectOptions value="{!Options}"/>
<apex:commandButton value="Test" action="{!test}" rerender="out" status="status"/>
<apex:outputPanel id="out">
<apex:actionstatus id="status" startText="testing...">
=====================================================================================
References:
[1] JSONObject http://www.embracingthecloud.com/CommentView,guid,6ca59b34-f896-48a2-b1bf-33ffbe96b4ec.aspx
[2] http://wiki.developerforce.com/index.php/Building_Android_Applications_with_the_Force.com_REST_API
[3] JSON Validator page http://www.jsonlint.com/
Monday, March 14, 2011
JasperReport::Export to Text
CHAR_WIDTH = REPORT_WIDTH / MAX_CHAR_PER_ROW=524 / 80 = 6.55 //6
CHAR_HEIGHT = REPORT_HEIGHT / MAX_CHAR_PER_COL =524 / 44 = 11.9 //11//10
JRTextExporter exporter = new JRTextExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, "c:\\textreport1.txt");
exporter.setParameter(JRTextExporterParameter.CHARACTER_WIDTH, new Integer(6));
exporter.setParameter(JRTextExporterParameter.CHARACTER_HEIGHT, new Integer(11));
exporter.exportReport();
References
[1]http://www.coderanch.com/t/62982/open-source/Jasper-Report-Text-Exporter
[2] http://www.cepeu.edu.py/LIBROS_ELECTRONICOS_3/lpcu089%20-%2001.pdf
[3] http://chuwiki.chuidiang.org/index.php?title=Ejemplo_b%C3%A1sico_con_Jasper_Report
CHAR_HEIGHT = REPORT_HEIGHT / MAX_CHAR_PER_COL =524 / 44 = 11.9 //11//10
JRTextExporter exporter = new JRTextExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, "c:\\textreport1.txt");
exporter.setParameter(JRTextExporterParameter.CHARACTER_WIDTH, new Integer(6));
exporter.setParameter(JRTextExporterParameter.CHARACTER_HEIGHT, new Integer(11));
exporter.exportReport();
References
[1]http://www.coderanch.com/t/62982/open-source/Jasper-Report-Text-Exporter
[2] http://www.cepeu.edu.py/LIBROS_ELECTRONICOS_3/lpcu089%20-%2001.pdf
[3] http://chuwiki.chuidiang.org/index.php?title=Ejemplo_b%C3%A1sico_con_Jasper_Report
PostgreSql Date Format
If you need change date format into postgres database, need execute next commands
SET DATESTYLE TO Postgres,US;
or
SET DATESTYLE TO iso,dmy --dd/mm/yyyy
this setting apply to current session; for permanent change modify postgresq.conf, section Locale and Formatting:
datestyle = 'iso, mdy'
Now you need reestart database
#service postgresql restart
Reload config settings without restarting database
If you are making modifications to the file postgresql.conf (or similar), and you want to new settings to take effect without needing to restart the entire database, there are two ways to accomplish this.
Option 1: From the command-line shell
#su - postgres
$/usr/bin/pg_ctl reload
Option 2: Using SQL
SELECT pg_reload_conf();
Using either option will not interrupt any active queries or connections to the database.
References:
[1] SET http://www.commandprompt.com/ppbook/r28464
[2] http://heatware.net/databases/postgresql-reload-config-without-restarting/
SET DATESTYLE TO Postgres,US;
or
SET DATESTYLE TO iso,dmy --dd/mm/yyyy
this setting apply to current session; for permanent change modify postgresq.conf, section Locale and Formatting:
datestyle = 'iso, mdy'
Now you need reestart database
#service postgresql restart
Reload config settings without restarting database
If you are making modifications to the file postgresql.conf (or similar), and you want to new settings to take effect without needing to restart the entire database, there are two ways to accomplish this.
Option 1: From the command-line shell
#su - postgres
$/usr/bin/pg_ctl reload
Option 2: Using SQL
SELECT pg_reload_conf();
Using either option will not interrupt any active queries or connections to the database.
References:
[1] SET http://www.commandprompt.com/ppbook/r28464
[2] http://heatware.net/databases/postgresql-reload-config-without-restarting/
Friday, March 11, 2011
Salesforce::ApexPage::Retrieve remote data
Http Request
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_restful_http.htm
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_restful_http_httprequest.htm
Xml DOM
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_xml_dom_xmlnode.htm
Test Methods and Apex Callouts
http://wiki.developerforce.com/index.php/An_Introduction_to_Apex_Code_Test_Methods
references
[1] On Line Json Viewer http://jsonviewer.stack.hu/
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_restful_http.htm
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_restful_http_httprequest.htm
Xml DOM
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_xml_dom_xmlnode.htm
Test Methods and Apex Callouts
http://wiki.developerforce.com/index.php/An_Introduction_to_Apex_Code_Test_Methods
references
[1] On Line Json Viewer http://jsonviewer.stack.hu/
Thursday, March 10, 2011
AFPs y EsSalud
Averigüe si está afiliado al Sistema Privado de Pensiones (SPP)
http://www.sbs.gob.pe/0/modulos/JER/JER_Interna.aspx?ARE=0&PFL=1&JER=250
https://www2.sbs.gob.pe/afiliados/paginas/Consulta.aspx
EsSalud
http://ww4.essalud.gob.pe:7777/acredita/
https://dondemeatiendo.essalud.gob.pe
Reniec (Número y Nombre solamente)
https://portaladminusuarios.reniec.gob.pe/validacionweb/index.html
Sunat (padron_reducido_ruc.zip) ~ 280M
https://www.sunat.gob.pe/descargaPRR/mrc137_padron_reducido.html
Monday, March 07, 2011
Saturday, March 05, 2011
Postgres Backup CentOS
#su postgres
$ pg_dump -Ft mydb > db.tar
$ pg_restore -d newdb db.tar
References:
[1]http://linux.die.net/man/1/pg_dump
[2]http://linux.die.net/man/1/pg_restore
$ pg_dump -Ft mydb > db.tar
$ pg_restore -d newdb db.tar
References:
[1]http://linux.die.net/man/1/pg_dump
[2]http://linux.die.net/man/1/pg_restore
Tuesday, March 01, 2011
Como importar::referencias
Averiguar subpartida nacional (partida arancelaria)
http://www.siicex.gob.pe/siicex/portal5ES.asp?_page_=234.00000
http://www.aduanet.gob.pe/itarancel/arancelS01Alias
Luego en la misma pagina
http://www.aduanet.gob.pe/itarancel/arancelS01Alias
ingresar el codigo y saldrán los aranceles a pagar
mas referencias:
http://www.pymex.pe/emprendedores/tramites/4857-importacion-definitiva-aduanera.html
http://soloempresas.ning.com/profiles/blogs/despacho-simplificado-de?xg_source=activity
http://www.siicex.gob.pe/siicex/portal5ES.asp?_page_=234.00000
http://www.aduanet.gob.pe/itarancel/arancelS01Alias
Luego en la misma pagina
http://www.aduanet.gob.pe/itarancel/arancelS01Alias
ingresar el codigo y saldrán los aranceles a pagar
mas referencias:
http://www.pymex.pe/emprendedores/tramites/4857-importacion-definitiva-aduanera.html
http://soloempresas.ning.com/profiles/blogs/despacho-simplificado-de?xg_source=activity
Saturday, February 26, 2011
Friday, February 25, 2011
Thursday, February 24, 2011
Tuesday, February 22, 2011
Monday, February 21, 2011
Salesforce::ApexPage::Retrieve data from cross domain
Calling a REST Web Service (JSON) with Apex
http://blog.jeffdouglas.com/2010/01/06/calling-a-json-rest-web-service-with-apex/
Related:
[1] Passing parameters to VFP
http://www.forcetree.com/2009/06/passing-parameters-to-visualforce-page.html
http://blog.jeffdouglas.com/2010/01/06/calling-a-json-rest-web-service-with-apex/
Related:
[1] Passing parameters to VFP
http://www.forcetree.com/2009/06/passing-parameters-to-visualforce-page.html
Friday, February 18, 2011
Thursday, February 17, 2011
Wireless Metrics
dBm is defined as power ratio in decibel (dB) referenced to one milliwatt (mW). It is an abbreviation for dB with respect to 1 mW and the "m" in dBm stands for milliwatt.
dBm is different from dB. dBm represents absolute power, whereas dB is a ratio of two values and is used to represent gain or attenuation. For example, 3 dBm means 2 mW, and 3 dB means a gain of 2. Similarly, -3 dBm means 0.5 mW, whereas -3 dB means attenuation of 2.
The formula to calculate dBm from mW is:
dBm = 10 log10( P )
1mW
Table of dBm and mW
http://www.guatewireless.org/internetworking/redes/wireless/tabla-de-relacion-entre-dbm-y-potencia-de-transmision-wlan/
dBm is different from dB. dBm represents absolute power, whereas dB is a ratio of two values and is used to represent gain or attenuation. For example, 3 dBm means 2 mW, and 3 dB means a gain of 2. Similarly, -3 dBm means 0.5 mW, whereas -3 dB means attenuation of 2.
The formula to calculate dBm from mW is:
dBm = 10 log10( P )
1mW
Table of dBm and mW
http://www.guatewireless.org/internetworking/redes/wireless/tabla-de-relacion-entre-dbm-y-potencia-de-transmision-wlan/
Wednesday, February 16, 2011
Salesforce Apexpages jQuery
References:
[1]
http://code.google.com/apis/libraries/devguide.html
[2] jQuery UI for Salesforce
http://www.titaniainc.com/ui-enhancements/jquery-enhanced-components-release/
[3] Dependent Multilevel Selectlists
http://blog.jeffdouglas.com/2008/11/25/dependent-multilevel-selectlists/
[4] Salesforce Form Validation Enhanced
http://th3silverlining.com/2010/03/02/visualforce-form-validation-enhanced/
[5] Make select list with ApexClass
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_selectList.htm
[1]
http://code.google.com/apis/libraries/devguide.html
[2] jQuery UI for Salesforce
http://www.titaniainc.com/ui-enhancements/jquery-enhanced-components-release/
[3] Dependent Multilevel Selectlists
http://blog.jeffdouglas.com/2008/11/25/dependent-multilevel-selectlists/
[4] Salesforce Form Validation Enhanced
http://th3silverlining.com/2010/03/02/visualforce-form-validation-enhanced/
[5] Make select list with ApexClass
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_selectList.htm
Salesforce Apexpages Styles
Debugging Visualforce Pages with custom Styles for UI compatibility
http://www.forcetree.com/2010_06_01_archive.html
http://www.forcetree.com/2010_06_01_archive.html
Tuesday, February 15, 2011
Monday, February 14, 2011
jQuery multiselect widget
Subscribe to:
Posts (Atom)
-
Resources: [1] Hela https://ome.grc.nia.nih.gov/iicbu2008/hela/index.html
-
en inglés se llama “A potentially dangerous Request.Form value was detected from the client”. varias páginas indican dos cosas: 1. agrega...
-
mas plugins http://devsnippets.com/reviews/using-jquery-to-style-design-elements-20-impressive-plugins.html http://www.extjs.com/deploy/dev/...
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...