Friday, August 12, 2016

Some production key for window 10

Windows 10 Pro Product Key

VK7JG-NPHTM-C97JM-9MPGT-3V66T
TX9XD-98N7V-6WMQ6-BX7FG-48Q99
TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
NPPR9-FWDCX-D2C8J-H872K-2YT43

Windows 10 Home Product Key

8N67H-M3CY9-QT7C4-2TR7M-TXYCV
334NH-RXG76-64THK-C7CKG-D3VPT
PBHCJ-Q2NYD-2PX34-T2TD6-233PK
CKFK9-QNGF2-D34FM-99QX2-8XC4K

Other Windows 10 Product Key 

NKJFK-GPHP7-G8C3J-P6JXR-HQRJR
T44CG-JDJH7-VJ2WF-DY4X9-HCFC6
KTNPV-KTRK4-3RRR8-39X6W-W44T3
VTNMT-2FMYP-QCY43-QR9VK-WTVCK

Please try. I tried it is OK.
Good luck to you.

Thursday, September 17, 2015

Reset Layout for Netbean

Sometime, you change layout window of Netbean after that need change default layout of Netbean. Please access:

Window -> Reset Window

Tuesday, August 4, 2015

lambda expression not expected here

Sometime you netbean config is not correct -> when you use lamda netbean show alert "lambda expression not expected here" 

Please click right from you project -> Properties -> Choose Sources -> (you will see Source/Binary Format) change it to 1.8 -> Click OK.

Now only need wait netbean reload project.

Good luck to you.

Checkstyle “Expected @param tag for 'id'” error

Checkstyle  in Java, sometime you have error Checkstyle "Expected @param tag"

Please change comment to

/**
* This function that i wan to  fix this bug.
*
* @param id this is id of table
* @param username this is username of user login
*/

Please focus in red line to fix this bug.

Thanks

Saturday, July 18, 2015

Create arrow with CSS

Sometime you need create some shape by CSS3. I have some code to do it.

#base {
  background: red;
  display: inline-block;
  height: 30px;
  margin-left: 20px;
  margin-top: 55px;
  position: relative;
  line-height: 30px;
   padding: 0 10px;
}
#base:before {
  border-left: 15px solid red;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;  
  content: "";
  height: 0;
  left: 0;
  float:right;
  margin-right: -25px;
  width: 0;
}

CSS for Circle
#circle {
 width: 100px;
 height: 100px;
 background: red;
 -moz-border-radius: 50px;
 -webkit-border-radius: 50px;
 border-radius: 50px;
}

Triangle Right

#triangle-right {
 width: 0;
 height: 0;
 border-top: 50px solid transparent;
 border-left: 100px solid red;
 border-bottom: 50px solid transparent;
}



Tuesday, June 30, 2015

Install CURL in Window

Sometimes you need type command line CURL in Window same Linux. To do that, you need install CURL in window.

Please access this website http://curl.haxx.se/latest.cgi?curl=win64-nossl and download

 LocationDownloadProtoHost
sgSingaporecurl-7.33.0-win64-nossl.zipHTTPwww.execve.net

We will have file curl.exe.

Then you set up environment path with this file. Go to PC -> click right choose Properties -> click Advanced system settings -> Environment Variable -> click Path. Put link your download file.

Now you can run to check.

curl --version

Good luck to you.

Friday, June 26, 2015

MySQL, Convert database and table to charset UTF-8

Sometime, you get CMS and open source from online but database and table not set UTF-8 so that you can not save data with Vietnamese, Chinese...

We can use this command line of SQL to covert to UTF-8.

ALTER DATABASE databasename CHARACTER SET utf8 COLLATE utf8_unicode_ci; 
ALTER TABLE tablename CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci;

Good luck to you.