The code on this blog is presented through the SyntaxHighlighter Evolved plug-in,But I don't know why,I've been having trouble getting my code to render inline,Later I just used it myself span
Tags are rendered with CSS,Later I noticed that I have never used the code button on the text editor.,Finally, simply write the new CSS into code
Label,Then you can apply it quickly。
Continue browsing »
Prior to write a "In wxMEdit(MadEdit)Search newline」,I happened to meet the same need again today,Now we have actually switched from wxMEdit to MadEdit-Mod,The essence is almost the same,Just use the "regular expressions" mentioned in the article to search \n
and replace。The strange thing is that I found it,also replaced,However, the newline symbol still exists in the result,and search again \n
Can't find it。
Continue browsing »
When using Telegram in Manjaro, there has been a problem of being unable to input Chinese through gcin.,I have tried several methods on the Internet,For example, setting the QT_IM_MODULE path,Although you can switch to "Ciyin",But what comes out is still in English,Some people also say that this method only applies to the official version,But I tried and failed,In the end, I had to compare Line,Simulate it as an app through Chrome。
Continue browsing »
Quick Report in 1920*1080 resolution plus 125% When the above display setting environment is,The proportion of "Preview Print" will be incorrect.(too big or too small),But the actual printing is normal.,If you want to correct,It is necessary to modify the qrprntr.pas file of Quick Report in the compilation environment,There are two ways to correct it。
My computer has an external NTFS hard drive.,After recently booting,Click on this drive in Thunar,Will all fail to mount,error message “error mounting wrong fs type bad option bad superblock…”。
[VLAN setting]
◎「VLAN」→「802.1Q」→「Advanced」→「VLAN Configuration」,Select "Enable"。
◎ Add VLAN ID sequentially,As:53、172。
when installing the program,"No more space left on device" appears,Check with df -h,is /tmp full。
My /tmp dependent partition,is with / same magnetic region,and / there is room,So you can temporarily increase the space of /tmp by remounting the command。
df -h /tmp #查詢 /tmp 佔用空間。 sudo mount -o remount,size=15G /tmp/ #將 /tmp 大小改成 15G。 df -h /tmp #確認 /tmp 的佔用 % 是否改變。
To empty /tmp,The following commands can be executed:
sudo rm -r /tmp/*
【參考連結】
When installing a network printer,sometimes after two clicks,An error of 0x00000BCB occurred,Usually occurs in barcode labelers and dot matrix printers,The mainframe never happened,Usually reinstalling the driver on Windows Server solves the problem,But after a while,will happen again。
Continue browsing »
<%# Eval("SDate", "{0:yyyy/MM/dd}") %> // 0: 表示定義整個括號裡面的第 0 個變數要採用此日期格式。 // 以下為兩個變數的範例。 string s = String.Format("At {0}, the temperature is {1}°C.", DateTime.Now, 20.4); Console.WriteLine(s); // Output similar to: 'At 4/10/2015 9:29:41 AM, the temperature is 20.4°C.'
【參考連結】
- asp.net – how to apply particular FORMAT of date by using eval? – Stack Overflow
- c# – What does the 0 in “{0:MM dd yyyy}” do? – Stack Overflow
- String.Format method (System) | Microsoft Docs
- Custom date and time format strings | Microsoft Docs
- Standard date and time format strings | Microsoft Docs
Settings page | object | setpoint position |
"shortcut" | the shortcut | shortcut file |
"compatibility" | User | 碼 machine(Note 1.) |
"Compatibility for all users" | All Users | 碼 machine(Note 2.) |
Note 1.
電腦HKEY_CURRENT_USERSOFTWAREMicrosoftWindows NTCurrentVersionAppCompatFlagsLayers
Note 2.
電腦HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionAppCompatFlagsLayers
PS. The key is "string value",value is”~ HUMAN ADMIN”。