Self-developed a small application, the use of a period of time slowly and feel to share with you. Main features Remote Desktop + notes + online translator.
1. Remote Desktop
The reason for the work, usually need to use the Remote Desktop is more frequent kind of. The first is to copy the sticker account password. Time has been more than a few times more irritable. Well, then
= @ " Regex regex = new regex (pattern); HTML = Regex. Replace (HTML, ""); return HTML; } Convert Chinese to Unicode character forget never public string CTU (String str) { String utstr = ""; if (!string. IsNullOrEmpty (str)) { for (int i = 0; i { Converts a Chinese character to a 10-based integer and then to a 16-Unicode character Outstr + = "\\u" + ((int) str[i]). ToString ("X"); } } return outstr; } Unicode characters converted to Chinese public string UTC (String str) { String utstr = "";
To implement the Thinkphp online translator function, you need to first register an API key in the Baidu Developer Center, the implementation code is as follows:
Action Code section:
HTML code section:
President{$rs}
http://www.bkjia.com/PHPjc/824771.html www.bkjia.com true http://www.bkjia.com/PHPjc/824771.html techarticle to implement the thinkphp online
: Http://fanyi.youdao.com/openapi.do? keyfrom=type=datadoctype=q= The text to be translated A very standard get form of data transmission, want to see the results of a friend can directly apply for key after the link to the browser to copy the address bar, open, you can see the data back, remember that the data type must be UTF8, but also URL transcoding oh.Dragon to a PHP demo for reference:functionSimple_translate ($sentence){ $url _sentence=UrlEncode($sentence); $url= "http://fanyi.you
To implement the Thinkphp online translator function, you need to first register an API key in the Baidu Developer Center, the implementation code is as follows:
Action Code section:
HTML code section:
President{$rs}
1, the Input method conversion to Sogou Input method, Sogou input menu bar will appear in the computer screen right below.
2, click Sogou Input Bar of the most right side of the "Sogou Toolbox."
3, in the pop-up "Sogou toolbox" click "+ (Add)". Open "Sogou Input Method Application Center".
4, in the "Sogou Input Method Application Center" click the "Apply All" option. In the "Full application" find "online transl
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.