We hope to migrate from Delphi 7.0 to Delphi 2009 in order to keep pace with modern IDEs and current technologies. Our target platform is .NET. What is the best way to achieve this goal? I will
Tag: simple
How to read a fairly simple JSON file in Delphi Xe4?
I have been trying to solve this problem, it seems to take too long to do some simple things.
I have such a file:
[
{
“FirstName”: “Oleg”,
“Surname”: “Buckley”
},
{
“FirstName”: “
[C #] Simple and fast to convert various numeric words to numbers (String to int)
I believe that when you are writing programs, you must have a lot of opportunities to convert numeric strings into int or float type values, but the numeric characters may not be very clean, someti
Simple object-oriented -Web server
import socketimport reimport multiprocessingclass WSGIServer(object): def __init__(self): # Create a socket self.tcp_server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.tcp_serve
Simple version of time package
Encapsulate a timestamp
Main application: update blogs, comments, etc. with time at the end
function dateStr(d,sign){ if(!sign){ sign=’-‘ }else{ sign = sign; } let year = d.g
HeartBeatv2 Haresources simple implementation HTTPD service high available
Experimental environment:
Virtual machine ha1: 192.168.61.130
Virtual machine ha2: 192.168.61.132
vip:192.168.61.100
Experiment description:
ha1的 httpdServiceindex.htm
HEARTBEAT installation configuration and HTTPD high availability simple example
Notes:
1. Node name: hostname, /etc/hosts
2. ssh mutual trust
3. Node time synchronization
Three configuration files of heartbeat:
authkeys: communication key file
EIGRP simple application
Experiment simple application of EIGRP1. Purpose of experiment
Through this experiment, you can:
1) master the basic configuration of EIGRP
2) understand EIGRP’s neighbor table , The meaning of the
Simple use of PHPSPIDER acquisition this blog article content
Collection process
Acquire page content according to the link (curl)->Get the content that needs to be collected (can be filtered by regular, xpath, css selector, etc.)
Language-independent – Create a server to arbitrate a simple game
I created a simple game where 2 players make choices at the same time in each round, and the winner of the round is determined by a set of game-specific rules. Like the working principle of Rock Pa