Monday, May 20, 2013

Nucom model R5000UNv2 Settings (Enable VNC ports by telnet)

Problem:
I need open vnc port 5900/5901 but i don't acces to GUI console(Web), only i have access to network by ssh. Then i need login to router and try set that with commands.


Syntax:

natp add <name> <WAN Interface> <TCP/UDP|TCP|UDP> <External Port(start:end)>
              <Internal Port(start:end)> <ipaddr>

 

#telnet 192.168.1.1


> wan show   # for show wan interfaces

> natp show table # for show current settings

> natp add vncport ppp0 TCP/UDP 5901:5901 5901:5901 192.168.1.100

ready!

Notes:
* Try use TP-Link W8960N for bandwidth control.
* If router mac is AABBCCDDEEFF try use BBAADDCCFFEE and user admin (Probably work)

References:
[1] http://www.adslzone.net/postt276042.html




Friday, May 17, 2013

Alternatives to dyndns (dyn.com)

dyndns.org/.com -> dyn.com (you need log to panel at least one time /month)

Alternatives:
 a) https://dynu.com
 b) http://freedns.afraid.org



References

[1] Server Software/Dns & DDns Providers http://www.dyndnsservices.com/tech.htm
[2] Providers list http://dnslookup.me/dynamic-dns/









Friday, May 03, 2013

SQL Server same versions and limits


SQL Server 2008 Express has a 4 GB limit on database size 
SQL Server 2008 R2 Express has 10 GB.
Windows Server 2008 R2 Evaluation (180 days)

Thursday, April 18, 2013

Sunat: impuesto por cuarta categoría/recibo por honorarios.


Declarar recibos por honorarios en PDT 601

Calcule su impuesto por cuarta categoría. http://mass.pe/node/305

SUNAT - RECIBOS POR HONORARIOS - EJERCICIO 2013
http://www.khronos.com.pe/SUNAT-RECIBOS-POR-HONORARIOS.html

Ejemplos: http://www.forosperu.net/showthread.php?t=174125 (Leer respuestas)

Php Mvc


References
[1] http://anantgarg.com/2009/03/13/write-your-own-php-mvc-framework-part-1/
[2] http://www.ajaxline.com/10-best-php-frameworks-and-cms

http://stackoverflow.com/questions/11770104/cms-routing-in-mvc
http://stackoverflow.com/questions/7361638/does-anyone-know-a-good-php-cms-built-on-a-mvc-framework

http://codereview.stackexchange.com/questions/14550/mvc-structured-cms

Wednesday, April 17, 2013

Emulate Virtual CD/DVD-RW

Alternatives

  A) TotalMounter http://www.kernsafe.com/download/totalmounter.aspx
  B)  Phantom Drive http://zonadictoz.org/programas/38436/emular-virtual-cd-rw-dvd-rw-bluray.html

References:
[1] Best Free CD-DVD Emulation Software http://www.techsupportalert.com/best-free-cd-emulator.htm

free Spotify

1. Download Spotify http://www.spotify.com/download/?autodl
    If not download first download TunnelBear and try Download Spotify
2. Download TunnelBear (Windows/Mac/Android/iPhone/etc), VPN with Limit 500mb/Month
   http://www.tunnelbear.com/download/

3. Install TunnelBear and Spotify
4. Start TunnelBear(is necessary have one login, that is free), after started you computer is part of VPN on EEUU,UK, etc.
5. Start Spotify, Login (waith 1/2minutes, spotify verify your geolocation by IP). After you login, close TunnelBear.
6. Search and Play some music.

Note:

Same times spotify verify your geolocation and that is disabled, for enable you only need start again TunnelBear for get new IP on virtual VPN, login into Spotify and wait 1/2 minutes and close TunnelBear.



Friday, April 12, 2013

Google Maps Custom Location(Marker) Icon


Resources
[1] http://mapicons.nicolasmollet.com/markers/friends-family/home/
[2]  Shadow marker http://www.cycloloco.com/shadowmaker/shadowmaker.htm
[3]  Custom overlay dialog http://a32.me/2012/03/position-custom-and-fancy-overlay-dialog-on-google-maps-v3/
[3] Test only code using google maps http://jsfiddle.net/ymLvv/
[3] https://www.geocoderpro.com/en/resources/map-icons-marker-pins/
[4] http://weblogs.asp.net/raduenuca/archive/2011/11/12/pin-my-friends-application-using-google-maps-and-facebook-apis-part-1-introduction.aspx
[5] Library places https://developers.google.com/maps/documentation/javascript/places

Ip Camera (Camaras Ip) - Surveillance (Video Vigilancia)


Resources:
[1] Apexis Download http://www.apexis.com.cn/en/download.html
[2] Store in Perú http://tienda.gratelperu.com/
[3] Catalog in spain http://www.twistedtienda.com/camaras-ip-apexis-c-136_143.html
[4] Webcam to Network/Internet http://forums.logitech.com/t5/Webcam-General-Discussion/Windows-Media-Encoder-9-amp-Your-Logitech-Webcam/m-p/132190
[5] Webcam to Home Network VLC http://www.computeractive.co.uk/ca/step-by-step/1931353/stream-webcam-video-home-network
[6] Make own project http://hpwren.ucsd.edu/news/20060712/
[7] http://www.dragonjar.org/convierte-tu-webcam-en-una-camara-de-vigilancia.xhtml
[8] http://nokitel.im/index.php/2011/02/20/convert-usb-webcam-to-ip-camera/

Extend Usb using RJ45
 [1] http://www.forosdeelectronica.com/f15/aporte-crear-alargador-usb-cable-utp-cable-red-rj45-economico-45604/
 [2] http://www.malditonerd.com/howto-extender-un-cable-usb-por-utp-usb-a-rj45/
Software
[1] Webcam stream http://ip-webcam.appspot.com/

Monday, April 08, 2013

Registro de Software en Indecopi


En el 2008 [3] Pagar un derecho de solicitud equivalía al 32.50 % de la UIT= S/. 1137.5 nuevos soles
Hoy en dia 2013 [1,2] tiene un costo de 390.50 nuevos soles equivalente al 10.85%.
Válido por 10 años.


Referencias
[1] Indecopi http://www.serviciosalciudadano.gob.pe/bus/PSC_Tramite_Historico.asp?id_entidad=10006&id_hist=579&Tramite=8919
[2] Indecopi http://www.indecopi.gob.pe/0/modulos/JER/JER_Interna.aspx?ARE=0&PFL=9&JER=121
[3] 2008 http://lpviii.blogspot.com/2008/09/software-propietario.html

Tuesday, March 26, 2013

W7 No se puede tener acceso ( recurso compartido )

Ademas de compartir el recurso y agregar los permisos se requiere lo sgte:
 
1) Centro de Redes y recursos compartidos 
  1.1) Cambiar configuración de uso compartido avanzado,       
    1.1.1) Casa o trabajo (perfil actual)
           Dentro en la opción Uso compartido con protección de contraseña
           Activar la opción Desactivar el uso compartido con protección con contraseña.
 
 
 

Friday, March 22, 2013

ApexPage - Button Edit and Delete with Refresh



Reference
[1] http://salesforcesource.blogspot.com/2009/09/edit-and-delete-command-for-your.html

ApexPage dataTable



 
<apex:dataTable value="{!myCollection}" var="item">
  <apex:column >  <apex:outputField value="{!item.field1__c}"/>  </apex:column>
  <apex:column >  <apex:outputField value="{!item.field2__c}"/>  </apex:column>
  <apex:column >  <apex:outputField value="{!item.field3__c}"/>  </apex:column> 
</apex:dataTable>      
      
      


References:
[1] http://blog.jeffdouglas.com/2010/04/02/visualforce-row-counter-for-iteration-components/

Wednesday, March 13, 2013

Visual Studio 6.0 Over W7

 - Copy setup/vs98ent.stf  /acmsetup.stf- Copy setup/* to /- Execute /acmsetup.exe 
Note: The file vs98ent.stf or vs98pro.stf


Install Service Pack 6 de VS6.0

Change vb98pro.stf or vs98ent.stf  to acmsetup.stf
Execute acmsetup.exe for start installation
 Other tip (Aboout Java)  Install the Sun Java VM (Well Oracle now)
Edit the file Setupwiz.ini, and change the line

VmPath=ie4\msjavx86.exe
to (in my case)
VmPath="C:\Program Files\Java\jre6\bin\java.exe"
 
 

VS2008 over W7 Error: gencomp320

Method 1:

That problem is because InfoPath Component of Office 2007. Then you need remove that.


over   Start/Run type:

msiexec /x {30120000-0044-0C0A-0000-0000000FF1CE}


Method 2:
1. Go to the Add/Remove Programs control panel by clicking on the Start menu, choosing Run, typing appwiz.cpl and clicking OK
2. Locate the item named Microsoft Visual Studio Web Authoring Component and choose to uninstall it
3. Try to run VS 2008 setup again

Thursday, March 07, 2013

C# Read/Write INI Files

[DllImport("kernel32")]
private static extern long WritePrivateProfileString(string section,string key,string val,string filePath); 
 
[DllImport("kernel32")]
private static extern int GetPrivateProfileString(string section,string key,string def, StringBuilder retVal, int size,string filePath);
 
References
[1] http://www.codeproject.com/Articles/1966/An-INI-file-handling-class-using-C
[2] http://jachman.wordpress.com/2006/09/11/how-to-access-ini-files-in-c-net/
[3] http://code.google.com/p/ini-parser/

Running apps

Runtastic (I uninstalled because force to update your device - Internet connection problems) Runkeeper  (Wrong GPS tracking) Strava   (Curr...