This file contains hidden or 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
/** | |
* Demo for Xichen Li | |
* http://stackoverflow.com/a/22994816/33732 | |
*/ | |
body { | |
font-family: 'Times'; | |
} | |
blockquote { | |
background-color: #eee; | |
border-left: 3px solid #00f; |
This file contains hidden or 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
{**************************************************************************************************} | |
{ } | |
{ Project JEDI Code Library (JCL) } | |
{ } | |
{ The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); } | |
{ you may not use this file except in compliance with the License. You may obtain a copy of the } | |
{ License at http://www.mozilla.org/MPL/ } | |
{ } | |
{ Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF } | |
{ ANY KIND, either express or implied. See the License for the specific language governing rights } |
This file contains hidden or 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
#include <vector> | |
#include <deque> | |
#include <string> | |
#include <iostream> | |
#include <boost/range/join.hpp> | |
int main() { | |
// Iterated-over containers can be different types, as long as the | |
// value types are the same (string, in this case). | |
std::vector<std::string> vec1 = { "one", "two", "three" }; |
This file contains hidden or 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
// Demonstration of using TOM.pas, the windowless rich-edit control, and | |
// the text object model | |
// http://www.cs.wisc.edu/~rkennedy/windowless-rtf | |
// Copyright © 2003-2006 Rob Kennedy. Some rights reserved. | |
// For license information, see http://www.cs.wisc.edu/~rkennedy/license | |
unit RTFPaint; | |
interface |