Registry Monitoring (Delphi)

procedure RegistryMonitor(RootKey: HKEY; Key: string; Proc: TProc; WatchSub: boolean); begin TThread.CreateAnonymousThread( procedure var Reg: TRegistry; Event: cardinal; begin Reg := TRegistry.Create; Reg.RootKey := RootKey; if Reg.OpenKeyReadOnly(Key) then begin Event :=…

Read More

Installing and using stemming (PHP)

Installation environment: Centos7 default, PHP7 yum install wget curl openssl-devel git-y yum install gcc-c ++ java-1.7.0-openjdk-devel python-devel -y wget https://www.python.org/ftp/python /3.6.1/python-3.6.1.tgz tar xf Python-3. * Cd Python-3. * ./configure make # Build make ...

Read More

SSHScript - linux (web hosting) make backups easy

How to use Run the program. After clicking the File button, fill out the following contents and save. (Repeat for multiple accounts.) # Access your account to create a backup file. Ssh: // {ID}: {password} @ {ip}: {port} # The file to be backed up is ...

Read More

A simple CDN service module created with PHP

I used CloudFlare to reduce the traffic load. I made it to use the CDN in a hurry because I made sure that the connection was slowed down by LAX (Los Angeles). The server is located in Tokyo (Vultr). The principle is to link kilho.net/ {file} to cdn.kilho.net/ {file}, main ...

Read More

Record HTTP connection information

To check whether the test and connection information is correct when using OpenAPI, the message value, host, POST value & lt;? $ _ SERVER ['REQUEST_METHOD']. ''. $ _ SERVER ['HTTP_HOST']. $ _ SERVER ['REQUEST_URI']. Foreach ($ _ SERVER as $ k = & gt; $ v) {if ($ k == 'HTTP_HOST') continue; If (substr ($ k, 0,5)! = 'HTTP_') continue;

Read More

WordPress and Pinook

This is the way WordPress and PinUId work together. I tried to make the site more stabilized and released the source, but I uploaded something that I made to the user at the request of my nookie board (?). (Http://sir.co.kr/bbs/board.php?bo_table=cm_free&wr_id=741180) In the future, I want to create a page from WordPress in the head.php, tail.php of the nook ...

Read More

Getting jquery from Google

Jquery finds the following source while browsing and connects to google: Modified file: theme /functions.php // Making jQuery Google API function modify_jquery () {...

Read More

Completed Gnu-board interlocking

Based on the WordPress member DB, it works with the GNU board. Share cookies with subdomains Save the following source as "wp-sso.php" on the server where WordPress is installed & lt;? Include 'wp-load.php'; $ Cookie_name ...

Read More

Rehearsal for rewriting

In order to convert existing DB from euc-kr to utf8, I opened it with editplus after deliberately backup (??) and said that it contains the characters that can be lost in current encoding, ...

Read More
arrow