Skip to content

Instantly share code, notes, and snippets.

We couldn’t find that file to show.
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAXREV 32
#define MAXUSER 64
#define MAXEDGE 100
#define MAXLINE 2048 * 1024
diff --git a/AppKit/CPTableView.j b/AppKit/CPTableView.j
index 8076b89..00d6baf 100644
--- a/AppKit/CPTableView.j
+++ b/AppKit/CPTableView.j
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-import "CPControl.j"
-import "CPTableColumn.j"
dirac build $ make
Scanning dependencies of target rphp-runtime
[ 1%] Building CXX object runtime/CMakeFiles/rphp-runtime.dir/pErrorManager.cpp.o
In file included from /Users/ob/projects/rphp/include/rphp/runtime/pRuntimeTypes.h:26,
from /Users/ob/projects/rphp/include/rphp/runtime/pErrorManager.h:24,
from /Users/ob/projects/rphp/runtime/pErrorManager.cpp:21:
/Users/ob/projects/rphp/include/rphp/runtime/pUString.h:26:28: error: unicode/unistr.h: No such file or directory
/Users/ob/projects/rphp/include/rphp/runtime/pUString.h:31: error: ‘UnicodeString’ does not name a type
/Users/ob/projects/rphp/include/rphp/runtime/pUString.h:36: error: ‘UnicodeString’ was not declared in this scope
/Users/ob/projects/rphp/include/rphp/runtime/pUString.h:36: error: template argument 1 is invalid
### Keybase proof
I hereby claim:
* I am ob on github.
* I am ob (https://keybase.io/ob) on keybase.
* I have a public key whose fingerprint is BC64 2E7A CAEF 39E1 9544 80CA F7D5 784D FB46 16C1
To claim this, I am signing this object:
@ob
ob / multipage-html5-converter.rb
Created August 28, 2015 03:38
Multipage HTML5 converter for Asciidoctor (take 2)
require 'asciidoctor'
require 'optparse'
class MultipageHtml5Converter
include Asciidoctor::Converter
include Asciidoctor::Writer
register_for 'multipage_html5'
EOL = "\n"
type alias Model =
{
-- bunch of fields
, isLastItemVisible : Bool
}
type Action
= None
-- bunch of actions
| UpdateLastItemVisible Bool
#!/usr/bin/python -t
#
# Run as:
# $ python ./simulate.py --repoRoot=<dir> --maxCommits=<N> --bk
#
from __future__ import print_function
from multiprocessing import Process, Manager, Condition
import bisect, collections, errno, json, logging, math, optparse, os, pwd
import random, re, shutil, socket, subprocess, sys, time, zlib
===== fast-export.c 1.12 vs edited =====
--- 1.12/src/fast-export.c 2016-04-26 09:17:47 -07:00
+++ edited/src/fast-export.c 2016-05-16 14:34:26 -07:00
@@ -499,8 +499,9 @@ gitExport(opts *op)
f1 = popen(cmd, "r");
free(cmd);
}
+ if (cset->rstart == 0) goto all;
} else {
- /* Non-incremental, do all files */
diff --git a/click/core.py b/click/core.py
index 1fcf415..ec7c569 100644
--- a/click/core.py
+++ b/click/core.py
@@ -694,13 +694,7 @@ class BaseCommand(object):
try:
try:
with self.make_context(prog_name, args, **extra) as ctx:
- try:
- rv = self.invoke(ctx)