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
import SwiftSyntax | |
import SwiftSyntaxMacros | |
import SwiftCompilerPlugin | |
public enum SerialError: Error, CustomStringConvertible { | |
case invalidInput | |
case invalidOutput | |
public var description: String { | |
switch self { |
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
Index: ext/fts3/fts3.c | |
================================================================== | |
--- ext/fts3/fts3.c | |
+++ ext/fts3/fts3.c | |
@@ -851,11 +851,12 @@ | |
}else{ | |
zFree = zFunction = fts3QuoteId(zFunc); | |
} | |
fts3Appendf(pRc, &zRet, "docid"); | |
for(i=0; i<p->nColumn; i++){ |
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
#!/usr/bin/perl | |
# This filter changes all words to Title Caps, and attempts to be clever | |
# about *un*capitalizing small words like a/an/the in the input. | |
# | |
# The list of "small words" which are not capped comes from | |
# the New York Times Manual of Style, plus 'vs' and 'v'. | |
# | |
# 10 May 2008 | |
# Original version by John Gruber: |
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
document.addEventListener('dragover', function(e){ | |
e.preventDefault(); | |
e.stopPropagation(); | |
}, false); | |
document.addEventListener('drop', function(e){ | |
e.preventDefault(); | |
e.stopPropagation(); | |
}, false) |
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
// | |
// CALayer+MBAnimationPersistence.h | |
// | |
// Created by Matej Bukovinski on 19. 03. 14. | |
// Copyright (c) 2014 Matej Bukovinski. All rights reserved. | |
// | |
#import <QuartzCore/QuartzCore.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
#ifndef H_UTF8_MAPPED_UTF16_STRING_H_ | |
#define H_UTF8_MAPPED_UTF16_STRING_H_ | |
#import <Foundation/Foundation.h> | |
#import <string> | |
/* | |
* Convert a UTF-16 string to UTF-8, mapping indices to provide low-complexity | |
* range and index lookups. | |
* |