Showing posts from October, 2015

TORSHAVN, Faroe Islands

TORSHAVN, Faroe Islands — The unimportant presence of the Faroe Islands is a marvel. Tall pinnacles of snow-fixed volcanic stone stick away from the North Atlantic Ocean. Soak precipices dive into the profound waters of restricted fjords.

The remote assortment of 18 little islands, which sit among Iceland and Norway, is known for a powerful puffin populace and intermittent whale chases. The semiautonomous Danish region additionally has a flourishing salmon industry.

Innovation is definitely not a typical discussion point among its 50,000 inhabitants. However as of late, the Faroe Islands have transformed into another and impossible battleground in the mechanical Cold War between the United States and China.

The debate began in view of an agreement. The Faroe Islands needed to manufacture another ultrafast remote system with fifth-age innovation, known as 5G. To make that new system, the region wanted to grant the activity to an innovation That was the point at which the United States …

[Tips] How to change default folder on Putty

You login with username root but you have working with another path don't want to show default folder with root@GS_FS_Local-02_GS root

Login with winscp with root (with full permission). Let's modified below file .bashrc

Open with any IDE. Here we use default IDE on winscp (by right click choose edit menu)
add new line with below command

Example: We want to login with

Dennis Ritchie is the founder of C


Ritchie is the founder of C, one of the programming languages ​​used
most ever and also co-founder of the UNIX operating system. His contribution is enormous.The
UNIX operating system, DOS, Windows, OSX, Linux, Oracle, iOS, Android,
Samsung Bada, ... and the programming language C ++, Objective C, Perl,
Java, PHP, Google Go, C #, .. . were

[Tips] Get current link path of website from PHP

This function will be help you how to get current link path of website from PHP

Source code

function getCurrentPageURL() {
$pageURL = 'http';

if (!empty($_SERVER['HTTPS'])) {
if ($_SERVER['HTTPS'] == 'on') {
$pageURL .= "s";

$pageURL .= "://";

if ($_SERVER["SERVER_PORT"] != "80") {

[Tips] How to config two panel with Winscp

Winscp is one of software help you transfer data from window environment to OS linux environment.

Nornal using winscp same below picture

But sometime you'll be get this below screen. don't see windows panel

If you want to show back window panel, follow my steps

Step 1:
Check to ComboBox and click choose config ->

Step 2:
Environment -> choose Interface -> Choose

[Tips] Get Current path using C++

Today I'll show you how to get current path using  C++, using below code, you can easy get it!

Using code

// Get Current folder -> get current
wchar_t szPathToExe[MAX_PATH];
GetModuleFileNameW(NULL, szPathToExe, MAX_PATH);

// Get license file
CString szPathToFile = (CString)szPathToExe + L"\\license.txt";

// Call readTextFile function

[Tips] Edit picture with lighting border

Sometime you want to highlight picture for easy viewing.
Today I'll show you how to lighting border picture same as Result picture

Initial Picture

Result Picture
With white lighting border

How to do it?

Step 1:
First get pure dragon by use Magic Wand Tool and remember choose Value on Tolerance = 30,

Lấy con rồng ra khỏi hình bằng cách dùng Magic Wand Tool nhớ chọn

[Tips] DLL injection and DLL injection example (2/2)

View here for understand DLL injection and example

- Today I will show you another way using DLL Injection with parameters
- Change NewWndProc function.


Data Structure
typedef struct tag_locksomeoneuseskill
int iIndex; // skill ID
int iPos; // vị trí monster trong mảng NPC
}Locksomeoneuseskill; // struct tham số cho function LockSomeOneUseSkill

[Tips] How to Use iMacros for Firefox

How to Setup
Access About:addons or Tools -> Add-ons open
Add-ons and fine
iMacros For FireFox

How to used
After install iMacros for Firefox, restart your browser and then press F8 for open iMacro tab same

Press Record for record screen. After that save as New Macros, Note your save path


Rec Tab:
Record: Using this button for record your action for

[Stored] Using Bitbucket stores and manage your source code with free license

You want to store and manage your source code with another people on the internet or you want to protect your source code and manage version of your source code, you can do it with Bitbucket. It free and easy to use

- Go to here to register free one account!
- Using Source Tree App to upload and checkout to Bitbucket

Now going to view How to use Source Tree App

Step 1: 
Go to

[Tips] Five Best tips in Excel

Excel is easy for learn, This have many tips for daily work
Today I'll show you 5 best tips base on my experiences
Please take a look and leave a comment if you know another tips, Thanks so much ^^

My five tips is

How to group/ungroup row and column in excel
How to make number auto increment
How to using Data Validate with List Control
How to using Data Validate with error

[Tips] How to manual upgrade IOS Version (offline)

table {
table, th, td {
border: 1px solid green;
border-collapse: collapse;
th, td {
padding: 5px;

text-align: left;

text-align: center;

text-align: center;

table#t01 tr:nth-child(even) {
background-color: #eee;
table#t01 tr:nth-child(odd) {
table#t01 th {
background-color: #036803;

[Tips] How to connect database SQL Server Using C#

You must Import SqlClient into your projects

using System.Data.SqlClient;

My demo will read ini file with key and value same


This demo using some lib function


public static void WriteLog(string strLogFileName, System.Exception ex)

[Tips] How to split CString to CStringArray

CString is one of the classes are specializations of a class template called CStringT based on the type of character data they support. A CStringW object contains the wchar_t type and supports Unicode strings.

CStringArray is a one of array of CString
Using my source code with split function, you can easy do it.

Test txt File: