Category:Programming

Form submit via Javascript

Form submit via Javascript
INTRODUCE AJAX = Asynchronous JavaScript And XML. AJAX is not a programming language. AJAX just uses a combination of: A browser built-in XMLHttpRequest object (to request data from a web server) JavaScript and HTML DOM (to display or use the data) AJAX is a misleading name. AJAX applications might use XM ...

Norckon 2016-10-20 233℃ 0 COMMENT 0 LIKE

Raspberry Pi – Distcc

Raspberry Pi – Distcc
INTRODUCE distcc is a program that enables a single “master” computer (the Raspberry Pi in our case) to distribute its compiling load to other “helper” machines (a multi-core Ubuntu Linux machine) over the network. In standard mode, source files are preprocessed on the Raspberry Pi, c ...

Norckon 2015-01-12 1634℃ 0 COMMENT 0 LIKE

Google Text-to-Speech API

Google Text-to-Speech API
As we know, Text-to-Speech can convert TEXT into VOICE. If we write a program to realize TTS, It’s not easy. So we can use a API to finish this work. Google TTS maybe is a good choose. When you call Google TTS and POST data to TTS server, Google TTS will return a MP3 file include with the voice you wan ...

Norckon 2014-10-05 1224℃ 0 COMMENT 0 LIKE

通过 Modulus 与 Exponent 生成 Public Key [ENG/中]

通过 Modulus 与 Exponent 生成 Public Key [ENG/中]
原标题:USING RAW PUBLIC KEYS IN PHP // this function makes up for the fact that openssl doesn't // currently support direct use of modulus and exponent except // when PEM encoded in publicKeyInfo or Certificate ASN.1 // So, believe it or not, I convert it into a publicKeyInfo ASN // structure and then turn ...

Norckon 2014-08-17 1261℃ 0 COMMENT 1 LIKE

使GCC在编译Windows程序的时候附加图标

使GCC在编译Windows程序的时候附加图标
是否曾觉得每次通过 GCC/G++ 编译的 Windows 应用程序都是 Windows 默认的应用程序图标。这样看上去既不能够表达程序的用途又不美观。当然这样的问题是可以解决的,不过相对来说需要手工转化,而过程也相对来说繁琐。但是对于喜欢折腾的你来说,这一定不是问题。 首先我们 ...

Norckon 2014-07-25 1179℃ 0 COMMENT 0 LIKE

DotNet拨号器编程方法

DotNet拨号器编程方法
现在网络飞速发展,如今的拨号器不仅仅只是用于拨号了,他可以用于小区广播、账号加密等诸多功能。其实编写一个拨号器的难度并不会很大,现在网上有一个现成的库可以用于编写各类拨号器,包括PPTP、PPPOE以及L2TP。 虽然自己也可以调用Win32API函数库Rasapi32,但是想到 ...

Norckon 2014-04-13 1674℃ 0 COMMENT 0 LIKE

Akari C.Procgram Code

Akari C.Procgram Code
Don Yang omoikane@uguu.org http://uguu.org/ Judges’ comments: To build: make akari To run: ./akari [input_file_or_- [output_file_or_- [even]]] Try: ./akari < example.ppm > odd_output.ppm ./akari - - even < example.ppm > even_output.ppm ./akari example.ppm odd_output.ppm make akari2.c c ...

Norckon 2013-11-11 3444℃ 0 COMMENT 0 LIKE

Using Qt to open webpage with default browser

Using Qt to open webpage with default browser
Something you will need user to open a webpage with windows defaults browser. Like shopping , introduction and some other things.Then you should using QtDesktopServices Module. Threre were some usage of this module. Please INCLUDE this file first: #include <QDesktopServices> And then insert this code in ...

Norckon 2013-10-12 615℃ 0 COMMENT 0 LIKE

网页标题批量扫描

网页标题批量扫描
用法:a.txt包含网址,每行一个URL,b.txt输出网页标题,具体怎么应用就不说了,代码来自互联网 @echo off more +8 "%~f0" >GetUrlText.vbs (for /f %%a in (a.txt) do ( echo,%%a ...

Norckon 2013-09-13 985℃ 0 COMMENT 0 LIKE