Using Threads in Delphi

This is an easy way to work with threads in Delphi. Just make sure to use synchronize properly ๐Ÿ™‚ Function Details uses System.Classes, System.SysUtils, Vcl.Forms; procedure Wait(Proc: TProc); begin Thread := TThread.CreateAnonymousThread(procedure() begin Proc; end); Thread.FreeOnTerminate := True; Thread.Start; while not Thread.Finished do Application.ProcessMessages; end; How to Use Wait(procedure() begin // .... content end);

Adding/Removing www When Accessing a Site

This is a method to automatically add or remove www when accessing a site. You can input this in the .htaccess file. # Adding www RewriteCond %{HTTP_HOST} ^(?!www\.)(.+) [NC] RewriteRule ^(.*) http://www.%1/$1 [R=301,NE,L] # Removing www RewriteCond %{HTTP_HOST} ^www\.(.+) [NC] RewriteRule ^(.*) http://%1/$1 [R=301,NE,L]

Adjust Image Size in One Go

Hereโ€™s how to quickly generate various sizes of icons and splash images needed for iPhone and Android app development. The sizes mentioned are specific to FireMonkey, so please adjust the numbers for other environments as needed. I accidentally lost the program I had previously created, so I had to do this in a hurryโ€ฆ ๐Ÿ˜ข...

Finding Current Location (PHP)

We can determine the location using the geolocation function. If there are relevant permissions issues or if the browser is not supported, we can use the API provided by Naver to obtain the location via IP address. Before using it, please get your Naver API key at the following address.(https://www.ncloud.com/product/applicationService/geoLocation) <? function makeSignature($secretKey, $method, $baseString,...

SecretDNS Update

Recently, there has been an issue regarding SNI eavesdropping, which led us to create and release SecretDPI and SecretSNI. Given the feedback on running various programs separately, we've integrated these features into a single applicationโ€”SecretDNSโ€”to enable DNS encryption and bypass SNI eavesdropping more efficiently. Additionally, the program now automatically configures DNS settings upon exit. However,...

Secret SNI Deployment

This program prevents eavesdropping and tampering of Server Name Indication (SNI). It was created due to the speed reductions experienced when using existing solutions like Secret DPI, Goodbye DPI, and MTU settings. Only the strings detected in the SNI are fragmented, while other packets are used normally. (1) Before execution (2) After execution Before the...

Installing Go Language - Windows

1. Download and install from https://golang.org/dl/ 2. Create a working folder (e.g., d:\source\Go) 3. Create subfolders: bin, pkg, src 4. Windows Control Panel -> System -> Advanced system settings -> Environment Variables 5. In the User variables section, enter the working folder for GOPATH 6. Set the variable name as GOPATH 7. Set the variable...

Secret DPI Release

This is a program that prevents illegal eavesdropping and tampering through Deep Packet Inspection. We have created a GUI version of GoodbyeDPI to make it more user-friendly. Simply delete the /vendor folder (GoodbyeDPI) and run the standalone SecretDPI.exe. It will operate by changing the MTU. Since it's a workaround that modifies TCP fragmentation and HTTP...