GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask, render_template, request, url_for | |
from pandas import DataFrame | |
from xmltodict import parse | |
from requests import post as rpost | |
app = Flask(__name__) | |
@app.route('/') | |
def form(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#coding=utf8 | |
########################################################################################## | |
import os | |
import logging | |
import logging.handlers | |
import traceback | |
from flask import Flask | |
from flask.ext.restful import reqparse, abort, Api, Resource | |
from flask import request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() { | |
let number = 20; | |
println(fmt!("%?th fib number is: %?", number, fib(number))); | |
} | |
fn fib(x: int) -> int { | |
match x { | |
0 | 1 => x, | |
_ => fib(x - 1) + fib(x - 2), | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dictionary<string,string> dict = new Dictionary<string,string>(); | |
dict.add("name","POSTされた値"); | |
dict.add("address","POSTされた値"); | |
. | |
. | |
. | |
Session["data"] = dict; | |
//これを取り出す時にはこうなる |
GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.
NewerOlder