DALLASCAO.COM

Site of Cao Shouguang, English to Chinese translator


Warning: Missing argument 1 for shapeshifter_archive_page_title(), called in /var/www/dallascao.com/en/wp-content/themes/shapeshifter/author.php on line 8 and defined in /var/www/dallascao.com/en/wp-content/themes/shapeshifter/includes/functions-do-actions.php on line 142

Author: Dallas

Make Windows 10 Mail work with custom SMTPs

Make Windows 10 Mail work with custom SMTPs
I run my own mail server but I want to use smtp.sendgrid.net to send mails so I can see whether my mails are delivered and opened. Windows 10 Mail is a great app, except that it doesn’t work. Microsoft is stupid. It will create a program with critical bugs but will never correct it. Here […]Read More

Solving the “mysql: unknown variable ‘bind-address=0.0.0.0′” error

Solving the “mysql: unknown variable ‘bind-address=0.0.0.0′” error
Add “–no-defaults”  mysql --no-defaults -u[username] -p[password] [database] The mysql client and server both read my.cnf 🙁 mysql server is OK with bind-address, but the client doesn’t recognize it.Read More

vb6cli.exe download

vb6cli.exe download
vb6cli.exe fixes the license problem of controls with Visual Basic 6.0 such as common dialog control (comdlg32.ocx). The link on Microsoft no longer works. This one works. WARNING: USE IT AT YOUR OWN RISK. Click to download it here Usage: Extract the zip and run the .exe in side AS ADMINISTRATOR.      Read More

MSXML2.XMLHTTP is preferred over MSXML2.ServerXMLHTTP and WinHttp.WinHttpRequest.5.1 in simple client to server situations

MSXML2.XMLHTTP is preferred over  MSXML2.ServerXMLHTTP and WinHttp.WinHttpRequest.5.1 in simple client to server situations
MSXML2.XMLHTTP respects system proxy settings. It opens URL the same way your browser opens. MSXML2.ServerXMLHTTP WON’T work if your browser has proxy settings. It provides options to set up proxies grammatically. WinHttp.WinHttpRequest.5.1 will disregard system proxy settings and connect directly.Read More

Sort strings by length (autohotkey)

Sort strings by length (autohotkey)
the_arr:=["She", "loves", "me", "him", "Li"] <ins datetime="2017-10-20T11:00:44+00:00"> the_sorted_arr:=sort_by_length(the_arr) for key, val in the_sorted_arr {     msgbox, % val } sort_by_length(the_arr){     arr_temp:=[] ;set the length of a string as the key for the string and write to a new array     for key, val in the_arr     {       […]Read More