Programming

From QwerQ Documentation
Jump to: navigation, search

Pretty print HTML, also validate and correct them.

syntax : tidy html [html-source]
[html-source] : the HTML source which should be inserted into multi-line textbox at the right
example : tidy html <!DOCTYPE html><html><head></head><body><p>Hello World!</p></body></html>
using program : http://tidy.sourceforge.net/

Pretty print Javascript

syntax : tidy javascript [Javascript-code]
example : tidy javascript function hello(){ var hello = "Hello world";document.write(hello); }

Pretty print JSON

syntax : tidy json [json-string]
example : tidy json {"a":1 , "b":2, "c":[1,2,3]}

Pretty print Perl code

syntax : tidy perl [perl-code]
example : tidy perl ...
using program : Perl::Tidy

Pretty print CSS

syntax : tidy css [css-code]

Other programming tools

example :
my ip - know your Internet IP address
my user agent - know the user agent header sent by your browser
md5 abc - hash the string abc using the md5 hash algorithm
sha1 abc
sha256 abc
sha384 abc
sha512 abc
encode url http://qwerq.com/index.pl?q=define love
decode url http%3A%2F%2Fqwerq.com%2Findex.pl%3Fq%3Ddefine%20love
encode html <>"'& - Encode the characters to HTML entities. To decode just replace the word encode to decode html.
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox
Database error - QwerQ Documentation

Database error

Jump to: navigation, search
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "". Database returned error "1030: Got error -1 from storage engine (localhost)".
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox