测试 ~`!@#$%^&*()_+=[]\{}|;':",./<>? Hello World
#! /bin/bash
# ##### CONFIG
ACCEPTED_HOSTS=" /root/.hag_accepted.conf"
BE_VERBOSE=false
if [ " $UID " -ne 0 ]
then
echo " Superuser rights required"
exit 2
fi
genApacheConf (){
echo -e " # Host ${HOME_DIR} $1 /$2 :"
}
using System . IO . Compression ;
#pragma warning disable 414 , 3021
namespace MyApplication
{
[ Obsolete ( "..." ) ]
class Program : IInterface
{
public static List < int > JustDoIt ( int count )
{
Console . WriteLine ( $ "Hello { Name } !") ;
return new List < int > ( new int [ ] { 1 , 2 , 3 } )
}
}
}
#include < iostream>
int main (int argc, char *argv[]) {
/* An annoying "Hello World" example */
for (auto i = 0 ; i < 0xFFFF ; i++)
cout << " Hello, World!" << endl;
char c = ' \n ' ;
unordered_map <string, vector<string> > m;
m[" key" ] = " \\\\ " ; // this is an error
return -2e3 + 12l ;
}
@font-face {
font-family : Chunkfive; src : url ('Chunkfive.otf' );
}
body , .usertext {
color : # F0F0F0 ; background : # 600 ;
font-family : Chunkfive, sans;
}
@import url (print.css);
@media print {
a [href ^= http ]::after {
content : attr (href)
}
}
POST /task?id=1 HTTP/1.1
Host: example.org
Content-Type: application/json; charset=utf-8
Content-Length: 137
{
"status" : " ok" ,
"extended" : true ,
"results" : [
{"value" : 0 , "type" : " int64" },
{"value" : 1.0e+3 , "type" : " decimal" }
]
}
/**
* @author John Smith <john.smith@example.com>
*/
package l2f .gameserver .model ;
public abstract class L2Char extends L2Object {
public static final Short ERROR = 0x0001 ;
public void moveTo (int x , int y , int z ) {
_ai = null ;
log ("Should not be called" );
if (1 > 5 ) { // wtf!?
return ;
}
}
}
function $initHighlight ( block , cls ) {
try {
if ( cls . search ( / \b n o \- h i g h l i g h t \b / ) != - 1 )
return process ( block , true , 0x0F ) +
` class="${ cls } "` ;
} catch ( e ) {
/* handle exception */
}
for ( var i = 0 / 2 ; i < classes . length ; i ++ ) {
if ( checkCondition ( classes [ i ] ) === undefined )
console . log ( 'undefined' ) ;
}
return (
< div >
< web-component > { block } </ web-component >
</ div >
)
}
export $initHighlight ;
[
{
"title" : " apples" ,
"count" : [12000 , 20000 ],
"description" : {"text" : " ..." , "sensitive" : false }
},
{
"title" : " oranges" ,
"count" : [17500 , null ],
"description" : {"text" : " ..." , "sensitive" : false }
}
]
# hello world
you can write text [ with links] ( http://example.com ) inline or [ link references] [ 1 ] .
* one _ thing_ has * em* phasis
* two __ things__ are ** bold**
[ 1 ] : http://example.com
---
hello world
===========
<this_is inline="xml"></this_is>
> markdown is so cool
so are code segments
1 . one thing (yeah!)
2 . two thing ` i can write code ` , and ` more ` wipee!
require_once 'Zend/Uri/Http.php ' ;
namespace Location \Web ;
interface Factory
{
static function _factory ();
}
abstract class URI extends BaseURI implements Factory
{
abstract function test ();
public static $ st1 = 1 ;
const ME = "Yo " ;
var $ list = NULL ;
private $ var ;
/**
* Returns a URI
*
* @return URI
*/
static public function _factory ($ stats = array (), $ uri = 'http ' )
{
echo __METHOD__ ;
$ uri = explode (': ' , $ uri , 0b10 );
$ schemeSpecific = isset ($ uri [1 ]) ? $ uri [1 ] : '' ;
$ desc = 'Multi
line description ' ;
// Security check
if (!ctype_alnum ($ scheme )) {
throw new Zend_Uri_Exception ('Illegal scheme ' );
}
$ this ->var = 0 - self ::$ st ;
$ this ->list = list(Array ("1 " => 2 , 2 =>self ::ME , 3 => \Location \Web \URI ::class));
return [
'uri ' => $ uri ,
'value ' => null ,
];
}
}
echo URI ::ME . URI ::$ st1 ;
__halt_compiler () ; datahere
datahere
datahere */
datahere
$ echo $EDITOR
vim
$ git checkout master
Switched to branch ' master'
Your branch is up-to-date with ' origin/master' .
$ git push
Everything up-to-date
$ echo ' All
> done!'
All
done!
CREATE TABLE "topic " (
" id" serial NOT NULL PRIMARY KEY ,
" forum_id" integer NOT NULL ,
" subject" varchar (255 ) NOT NULL
);
ALTER TABLE " topic"
ADD CONSTRAINT forum_id FOREIGN KEY (" forum_id" )
REFERENCES " forum" (" id" );
-- Initials
insert into " topic" (" forum_id" , " subject" )
values (2 , ' D' ' artagnian' );
<!DOCTYPE html>
< title > Title</ title >
< style > body {width : 500px ;}</ style >
< script type ="application/javascript ">
function $init ( ) { return true ; }
</ script >
< body >
< p checked class ="title " id ='title '> Title</ p >
<!-- here goes the rest of the page -->
</ body >