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
<!DOCTYPE html> | |
<html> | |
<title> MathJax Tex Test Page</title> | |
<head> | |
<script type="text/x-mathjax-config"> | |
MathJax.Hub.Config({ | |
tex2jax: {inlineMath: [['$','$'], ['\\(', '\\)']]}, | |
processEscape: true, | |
TeX: { equationNumbers: { autoNumber: "AMS"}} | |
}); |
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
#ifndef FORCEINLINE | |
#if defined(__GNUC__) | |
#define FORCEINLINE __inline __attribute__ ((always_inline)) | |
#elif defined(_MSC_VER) | |
#define FORCEINLINE __forceinline | |
#endif | |
#endif | |
#ifndef NOINLINE | |
#if defined(__GNUC__) | |
#define NOINLINE __attribute__ ((noinline)) |
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
/* An example of the minimal Win32 & OpenGL program. It only works in | |
16 bit color modes or higher (since it doesn't create a | |
palette). */ | |
#include <windows.h> /* must include this before GL/gl.h */ | |
#include <GL/gl.h> /* OpenGL header file */ | |
#include <GL/glu.h> /* OpenGL utilities header file */ | |
#include <stdio.h> |
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
/* Copyright (C) 2011 rocenting#gmail.com */ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <errno.h> | |
#include <unistd.h> | |
#include <sys/stat.h> | |
#include <sys/types.h> | |
#include <sys/resource.h> |
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
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Text; | |
namespace RunAsHidden | |
{ | |
class Program | |
{ |
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
// Scheme Interpreter in 90 lines of C++ (not counting lines after the first 90). | |
// Inspired by Peter Norvig's Lis.py. | |
// Copyright (c) 2010 Anthony C. Hay. This program leaks memory. | |
#include <iostream> | |
#include <sstream> | |
#include <string> | |
#include <vector> | |
#include <list> | |
#include <map> |
NewerOlder