Thursday, March 14, 2013
Alternative Browsers Based on Mozilla Firefox
Portable browsers
http://portableapps.com/apps/internet
Browsers based on firefox
[1] http://www.howtogeek.com/108608/6-alternative-browsers-based-on-mozilla-firefox/
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
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.exeto (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
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
Wednesday, February 13, 2013
mySql Innodb recovery
InnoDB (.ibdata, .ibd and .frm)
MyISAM (.myd, .myi and .frm)
[1] https://launchpad.net/percona-data-recovery-tool-for-innodb
[2] http://blog.shiraj.com/2012/10/extract-data-from-mysql-ibdata1-data-file/
[3] http://linuxrnd.blogspot.com/2011/12/mysql-recover-data-using-ibdata1.html
[4] http://getasysadmin.com/2012/08/recover-mysql-innodb-database-from-ibdata1-and-frm/
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
#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
/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
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
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 ... )
C/C++
+ General settings
+ Additional include properties (*.h/*.hpp)
VC++ Directory
+ Library Directories (*.lib)
Linker
+ Additional dependencies (namep.lib nameq.lib namer.lib ... )
Sunday, November 04, 2012
Friday, October 26, 2012
Spotify Proxy
Edit/Preferences/Proxy
Change with any proxy from down list, won't forget; you need to log out and then re-login for test, and remove proxy info after logged.
Proxylist:
[1] http://www.xroxy.com/proxylist.php?port=&type=Transparent&ssl=&country=US&latency=&reliability=9000#table
Change with any proxy from down list, won't forget; you need to log out and then re-login for test, and remove proxy info after logged.
Proxylist:
[1] http://www.xroxy.com/proxylist.php?port=&type=Transparent&ssl=&country=US&latency=&reliability=9000#table
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/...
Ubuntu Forware port 80
#!/bin/bash iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069 iptables -t nat -A PREROUTING -i eth0 -p tc...