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/

C# Export to Excel



References:
[1] EPPlus is a .net library that reads and writes Excel 2007/2010 files using the Open Office Xml format (xlsx). http://epplus.codeplex.com/
[2] C# Class for Export DataTable To Excel with Interop http://alandjackson.wordpress.com/2011/01/07/c-export-to-excel-with-interop/
[3] Version of POI Java project at http://poi.apache.org/. POI is an open source project which can help you read/write xls, doc, ppt files. http://npoi.codeplex.com/releases
[4] Sample of NPOI http://www.leniel.net/2009/07/creating-excel-spreadsheets-xls-xlsx-c.html#sthash.5qgu3AiY.dpbs
[5] Good sample for export to excel file http://www.codeproject.com/Articles/20228/Using-C-to-Create-an-Excel-Document

mySQL Store procedures


CREATE DEFINER = 'root'@'%' PROCEDURE `queryf2`(
        IN id varchar(8)
    )
    NOT DETERMINISTIC
    CONTAINS SQL
    SQL SECURITY DEFINER
    COMMENT ''
BEGIN 
   START TRANSACTION; 
   SELECT * FROM PRODUCTOS_STOCK ps where ps.IdSucursal=id; 
   COMMIT; 
END;

references:


[1] Stored Procedure that returns random rows from a table
      http://www.it-iss.com/mysql/mysql-stored-procedure-that-returns-random-rows-from-a-table/

Thursday, February 21, 2013

VS2010 Over Windows XP SP2


Using regedit go to:

HKEY_LOCAL_MACHINE\SYSTEM\ CurrentControlSet\ Control\ Windows

chnage CSDVersion from “0×00000200” (SP2) to the Windows XP SP3 value of “0×00000300”

After that, is possible install VS2010


References:

[1] http://syed-wajih.blogspot.com/2011/05/convert-windows-xp-sp2-into-sp3-without.html

Sunday, February 17, 2013

Linux Burning CD/DVD


#mount -t iso9660 /dev/sr0 /media/cdrom/


root@bt:/mnt/shared# cdrecord --scanbus
scsibus0:
        0,0,0     0) 'ATA     ' 'ST340014A       ' '8.54' Disk
        0,1,0     1) 'HL-DT-ST' 'DVD-RAM GSA-H55N' '1.03' Removable CD-ROM
        0,2,0     2) *

scsibus4:
        4,0,0   400) 'SMI     ' '  Reader        ' '1.00' Removable Disk
        4,1,0   401) *
        4,2,0   402) *



#cdrecord -v -eject speed=8 dev=0,1,0 filename.iso

References

[1] Software(Rpm/Deb) http://pkgs.org/download/cdrecord
[2] http://www.andrews-corner.org/burning.html
[2] http://www.brandonhutchinson.com/Burning_CDs_with_cdrecord.html
[3] http://www.ibm.com/developerworks/library/l-cdburn/index.html
[4] GUI Apps http://www.techdrivein.com/2011/03/9-good-cd-and-dvd-burning-tools-for.html

Thursday, January 17, 2013

Linux(Fedora) Enable mySql remote connection

Verify Service
#service mysqld status
#service iptables status

Add mySql deamon everytime

#chkconfig --level 2345 mysqld on

Firewall
#vi /etc/sysconfig/iptables


-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT  #mySQL Port

On MySQL


#mysql -u root

mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
mysql> exit

References
[1] http://linuxers.org/howto/how-install-mysql-server-fedora



Tuesday, January 15, 2013

Linux Fix NTFS and Video Setting

Enable fsck.ntfs

ln -s /usr/bin/ntfsfix /usr/sbin/fsck.ntfs
ln -s /usr/bin/ntfsfix /usr/sbin/fsck.ntfs-3g

[root@lucas]# fsck /dev/sdb1


On BT5
The following worked with no fuss:
# Xorg -configure
# cp /root/xorg.conf.new /etc/X11/xorg.conf
# startx
And that’s it!
On BT4
Note to self.  To fix the screen resolution for X on a host running BackTrack on VirtualBox…
Modify the “Screen” section in /etc/X11/xorg.conf to read as follows:
Section "Screen"
Identifier           "Default Screen"
Monitor             "Configured Monitor"
Device               "Configured Video Device"
DefaultDepth     24
SubSection "Display"
Depth    24
Modes   "1024x768" "800x600"
EndSubSection
EndSection

Tuesday, January 08, 2013

Linux RAID 1(Mirroring/Espejo)

The two disks have next configuration (RAID Partition and RAID Volumen)

/boot (500mb)
/swap ( N  + 2GB), N is your RAM size.
/ (max free)

Note: If you have message Only RAID0 arrays can contain growable members

 try use 1024*N for / partition, N for max free space.

References:

[1] http://www.unixmen.com/install-raid-1-in-fedoracentosrhel/
[2] http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch26_:_Linux_Software_RAID#.UOyvTNelsdA
[3] http://www.ping.co.il/node/1/
[4] http://docs.fedoraproject.org/es-ES/Fedora/13/html/Installation_Guide/Create_Software_RAID-x86.html
[5] Reset Fedora Password (3 Modes) https://fedoraproject.org/wiki/How_to_reset_a_root_password

Monday, December 10, 2012

Dragon City (Tips)

Libro de dragones extendido
 http://dragoncityhelp.blogspot.com/2012/08/dragon-puro-oscuro.html

Combinaciones
 http://www.taringa.net/posts/info/15247943/Combinaciones-de-Dragones-_-Dragon-City-_.html
 http://www.identi.li/index.php?topic=112193

Trick for move from Store to Habitat (0 seconds)
[1] http://www.findsessionid.com/
[2] http://www.ditlep.com
[3] https://woprime.com/dragon-city/dragon-code
[4] https://dc4u.eu/games/dragon-city

Friday, November 09, 2012

Computer Vision References

 Interest Point Detectors & Test Sequences
http://lear.inrialpes.fr/software

Windows Settings Command Line (.cpl)

Continues working on Windows7
Appwiz.cpl     Add/Remove Programs properties
Desk.cpl       Display properties
Inetcpl.cpl    Internet properties
Intl.cpl       Regional Settings properties
Joy.cpl        Joystick properties
Main.cpl       Mouse, Fonts, Keyboard, and Printers properties
Mmsys.cpl      Multimedia properties
Netcpl.cpl     Network properties (Network Connection)
Sticpl.cpl     Scanners and Cameras properties
Sysdm.cpl      System properties and Add New Hardware wizard
TimeDate.cpl   Date/Time properties
 
 

Wednesday, November 07, 2012

OpenCV 2.4 - Visual Studio 10 - Setting

Configuration Properties
C/C++
  +  General settings
     +  Additional include properties (*.h/*.hpp)
VC++ Directory
  + Library Directories (*.lib)
Linker
  + Additional dependencies (namep.lib nameq.lib namer.lib ... )


Monday, October 08, 2012

OpenCV Visual Studio 2010


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

Resolve problem dll not found at run

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

rundll32 sysdm.cpl,EditEnvironmentVariables

Tuesday, September 18, 2012

Join PDF File

Join PDFs:
$ pdfsam (over Java)

Compact PDF: 

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

Scanning:  
$Xsane


Format converter:
$convert


Monday, July 23, 2012

Serie Rosa


Episodios:

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


Info:

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

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

Friday, May 25, 2012

Remove backdoor



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

>taskkill /pid pid

remove from register with regedit

aditional if your clock doesn't work

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

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

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

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


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

Linux get quota by folder



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


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


$du
$df

woks too

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

Wednesday, May 16, 2012

Making sniffer using libpcap




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

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



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


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


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





Friday, April 06, 2012

Fix Low Volume


$sudo alsamixer         #customize
$sudo alsactl store     #save customized

References:
[1] http://agnipulse.com/2009/07/fix-low-volume-issues-in-ubuntu/

Wednesday, April 04, 2012

gpg steps



export public key to asc
gpg -a --export FD9C1B26  > jfiq.pub


sign file/get pk
gpg -s segc-tarefa02.txt

sign file to asc format/get pk
gpg --clearsign segc-tarefa02.txt

add public key
gpg --import mo639_1s2012.pub

encrypt file/get uid
gpg -e -a segc-tarefa02.txt

References:

http://www.guiafoca.org/cgs/guia/avancado/ch-d-cripto.html

http://eriberto.pro.br/wiki/index.php?title=Usando_o_GnuPG

http://www.gnupg.org/gph/en/manual/x135.html

Thursday, March 22, 2012

Portugues Tutorial 2

http://www.aulafacil.com/ http://www.ielanguages.com/portuguese2.html

Saturday, March 10, 2012

Wednesday, February 29, 2012

Português do Brasil

Dicionário

[1] http://www.priberam.pt/dlpo/
[2] http://www.dicio.com.br/

Material
http://intervox.nce.ufrj.br/~diniz/d/direito/ou-Apostila_Portugues_Oralidade_x_Escrita_1.pdf

Friday, January 27, 2012

Keyboard Shortcuts in Remote Desktop Connection

CTRL+ALT+END: Open the Microsoft Windows NT Security dialog box (CTRL+ALT+DEL)
ALT+PAGE UP: Switch between programs from left to right (CTRL+PAGE UP)
ALT+PAGE DOWN: Switch between programs from right to left (CTRL+PAGE DOWN)
ALT+INSERT: Cycle through the programs in most recently used order (ALT+TAB)
ALT+HOME: Display the Start menu (CTRL+ESC)
CTRL+ALT+BREAK: Switch the client computer between a window and a full screen
ALT+DELETE: Display the Windows menu
CTRL+ALT+Minus sign (-): Place a snapshot of the entire client window area on the Terminal server clipboard and provide the same functionality as pressing ALT+PRINT SCREEN on a local computer (ALT+PRT SC)
CTRL+ALT+Plus sign (+): Place a snapshot of the active window in the client on the Terminal server clipboard and provide the same functionality as pressing PRINT SCREEN on a local computer (PRT SC)


References:
[1] http://www.mydigitallife.info/keyboard-shortcuts-in-remote-desktop-connection-rdc-for-navigation/

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