markdown test

#include <iostream>

using namespace std;

int main()

{

cout << "Hello, world!" << endl;

return 0;

}
 
<link href="[url=http://apps.bdimg.com/libs/hig]http://apps.bdimg.com/libs/hig[/url] ... ot%3B rel="stylesheet">

<script src="[url=http://apps.bdimg.com/libs/hig]http://apps.bdimg.com/libs/hig[/url] ... gt%3B

<script>hljs.initHighlightingOnLoad();</script>

 
SELECT * FROM Websites
ORDER BY alexa;

 
<!DOCTYPE html> 
<html>
<body>

<?php
echo "Hello World!";
?>

</body>
</html>
<?php
for ($i=1; $i<=5; $i++)
{
echo "The number is " . $i . "<br>";
}
?>

 
#!/usr/bin/python3

print("Hello, World!")

 
#!/usr/bin/python3

import pymysql

# open mysql
db = pymysql.connect("localhost","testuser","test123","TESTDB" )

# use cursor() create cursor
cursor = db.cursor()

#
cursor.execute("SELECT VERSION()")

#
data = cursor.fetchone()

print ("Database version : %s " % data)

#
db.close()

 
#!/usr/bin/python3

#
def area(width, height):
return width * height

def print_welcome(name):
print("Welcome", name)

print_welcome("Runoob")
w = 4
h = 5
print("width =", w, " height =", h, " area =", area(w, h))
element-type this[int index] 
{
// get
get
{
//
}

// set
set
{
//
}
}
using System;

namespace OperatorsAppl
{
class Program
{
static void Main(string args)
{
int a = 21;
int b = 10;
int c;

c = a + b;
Console.WriteLine("Line 1 - c {0}", c);
c = a - b;
Console.WriteLine("Line 2 - c {0}", c);
c = a * b;
Console.WriteLine("Line 3 - c {0}", c);
c = a / b;
Console.WriteLine("Line 4 - c equal {0}", c);
c = a % b;
Console.WriteLine("Line 5 - c equal {0}", c);

// ++a
c = ++a;
Console.WriteLine("Line 6 - c equal {0}", c);

//
c = --a;
Console.WriteLine("Line 7 - c value is {0}", c);
Console.ReadLine();
}
}
}


 
 
#include<stdio.h>
#include<math.h>

int main ()
{
double x, fractpart, intpart;

x = 8.123456;
fractpart = modf(x, &intpart);

printf("int = %lf\n", intpart);
printf("float = %lf \n", fractpart);

return(0);
}

 
 
 
<div class="jumbotron text-center">
<h1>My First Bootstrap Page</h1>
<p>Resize this responsive page to see the effect!</p>
</div>

<div class="container">
<div class="row">
<div class="col-sm-4">
<h3>Column 1</h3>
<p>Lorem ipsum dolor..</p>
<p>Ut enim ad..</p>
</div>
<div class="col-sm-4">
<h3>Column 2</h3>
<p>Lorem ipsum dolor..</p>
<p>Ut enim ad..</p>
</div>
<div class="col-sm-4">
<h3>Column 3</h3>
<p>Lorem ipsum dolor..</p>
<p>Ut enim ad..</p>
</div>
</div>
</div>

 
var http = require('http');

http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/html'});
res.write('<form action="fileupload" method="post" enctype="multipart/form-data">');
res.write('<input type="file" name="filetoupload"><br>');
res.write('<input type="submit">');
res.write('</form>');
return res.end();
}).listen(8080);
SELECT CustomerName, ContactName, Address
FROM Customers
WHERE Address IS NOT NULL;
myObj = { "name":"John", "age":30, "car":null };
for (x in myObj) {
document.getElementById("demo").innerHTML += x;
}

 
 
 
 
 
func digits() -> AnyIterator<String> {
let lazyStrings = (0..<10).lazy.map { String($0) }
let iterator:
LazyMapIterator<IndexingIterator<CountableRange<Int>>, String>
= lazyStrings.makeIterator()

return AnyIterator(iterator)
}
stream {
geoip_country GeoIP.dat;
geoip_city GeoLiteCity.dat;

map $geoip_city_continent_code $nearest_server {
default example.com;
EU eu.example.com;
NA na.example.com;
AS as.example.com;
}
...
}
location / {
error_page 404 = @fallback;
}

location @fallback {
proxy_pass [url=http://backend;]http://backend;[/url]
}
/* name: Employee.java */

public abstract class Employee

{

private String name;

private String address;

private int number;

public Employee(String name, String address, int number)

{

System.out.println("Constructing an Employee");

this.name = name;

this.address = address;

this.number = number;

}

public double computePay()

{

System.out.println("Inside Employee computePay");

return 0.0;

}

public void mailCheck()

{

System.out.println("Mailing a check to " + this.name

+ " " + this.address);

}

public String toString()

{

return name + " " + address + " " + number;

}

public String getName()

{

return name;

}

public String getAddress()

{

return address;

}

public void setAddress(String newAddress)

{

address = newAddress;

}

public int getNumber()

{

return number;

}

}
You already invited:

If you wanna answer this question please Login or Register