Search This Blog

Monday, September 19, 2016

Multine line text table Sphinx Documentation

Multine line text table Sphinx Documentation


+---------+
| Text      |
+=====+
| | line1   |
| | line2   |
| | line3   |
+---------+

Thursday, September 8, 2016

sphinx-build example from command prompt

run from command prompt:

sphinx-build -b html -d _build/doctrees . _build/html index.rst 

Tuesday, September 6, 2016

LINQ OrderByDescending Example C#

C# > LINQ > Enumerable Class > OrderByDescending

Sorts the elements of a sequence in descending order.

Example

List<int> list = new List<int> {    2, 5 ,3 ,10, 7 };
IEnumerable<int> ordList = list.OrderByDescending(num => num);

foreach (int num in ordList)
{
Console.WriteLine(num);

}

Thursday, September 1, 2016

Include file PlantUml in rst file

PlantUml > Include file

PersonList.rst

@startuml
!include Person.iuml
Person <|.. PersonList
@enduml

Person.iuml

interface Person
Person: int age()
Person: string name()