:tabnew
- new blank tab:tabedit [file]
- open file in tab
gt
(:tabn
) - next tab
/* gcrypt.h - GNU Cryptographic Library Interface -*- c -*- | |
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006 | |
2007, 2008, 2009 Free Software Foundation, Inc. | |
This file is part of Libgcrypt. | |
Libgcrypt is free software; you can redistribute it and/or modify | |
it under the terms of the GNU Lesser General Public License as | |
published by the Free Software Foundation; either version 2.1 of | |
the License, or (at your option) any later version. |
// Sample custom iterator. | |
// By perfectly.insane (http://www.dreamincode.net/forums/index.php?showuser=76558) | |
// From: http://www.dreamincode.net/forums/index.php?showtopic=58468 | |
#include <iostream> | |
#include <vector> | |
#include <algorithm> | |
#include <iterator> | |
#include <cassert> |
// 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> |
#include <SDKDDKVer.h> | |
#include <Windows.h> | |
#include <stdio.h> | |
#include <conio.h> | |
#include <mmsystem.h> | |
#pragma comment(lib, "winmm.lib") | |
void PrintMidiDevices() |
// I place this in the public domain | |
// Compile with | |
// <gcc/clang> <thisfile>.c -lOpenCL-Wall -Wextra -Wpedantic -std=c99 | |
// Created a long time ago | |
// Updated, some memory leaks fixed and so on 2014-05-28 | |
// Changed to real C instead of some quirky C++ casts inbetween (2014-05-28) | |
#include <CL/cl.h> |
//------------------------------------------------------------------------------ | |
// pdbdump.c - dump symbols from .pdb and executable files (public domain). | |
// - to compile; cl.exe /Ox /Zi pdbdump.c | |
// - | |
// - Martin Ridgers, pdbdump 'at' fireproofgravy.co.uk | |
//------------------------------------------------------------------------------ | |
#include <stdio.h> | |
#include <Windows.h> | |
#include <DbgHelp.h> |
server.port = 80 | |
#server.bind = "" | |
server.tag ="lighttpd" | |
server.modules = ( | |
"mod_access", | |
"mod_alias", | |
"mod_accesslog", | |
"mod_compress", | |
"mod_expire", |
# compile | |
$ g++ zlib-example.cpp -lz -o zlib-example | |
# run | |
$ ./zlib-example | |
Uncompressed size is: 36 | |
Uncompressed string is: Hello Hello Hello Hello Hello Hello! | |
---------- |
/** | |
* Copyright 2012 Calvin Rien | |
* (http://the.darktable.com) | |
* | |
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 | |
* |