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/env python | |
# -*- coding: utf-8 -*- | |
import sys | |
import xml.etree.ElementTree as ET | |
def dump_one_entry(name, kind, path, fragment): | |
if fragment != '': | |
path = "%s#%s" % (path, fragment) | |
print ("INSERT INTO searchIndex (name, type, path) " |
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
#include "header.hpp" | |
#include <iostream> | |
class B : public A | |
{ | |
void f() | |
{ | |
doIt(); | |
} |
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
#!/bin/bash | |
# Based on | |
# https://github.com/capncodewash/Misc-shell-scripts/blob/master/find_missing_files.sh | |
# by Graeme West which is in turn based on the answer kindly supplied by | |
# 'Unknown' at StackOverflow: | |
# http://stackoverflow.com/questions/3006014/finding-missing-files-by-checksum | |
# with additions from aleksejrs. | |
# | |
# Compares the files in two directories to find ones which are present in the |
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) 2016 xaizek <[email protected]> | |
// | |
// This application is free software: you can redistribute it and/or modify | |
// it under the terms of the GNU General Public License as published by | |
// the Free Software Foundation, either version 3 of the License, or | |
// (at your option) any later version. | |
// | |
// This application is distributed in the hope that it will be useful, | |
// but WITHOUT ANY WARRANTY; without even the implied warranty of | |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
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
#!/bin/sh | |
# Generated automatically from makewhatis.in by the | |
# configure script. | |
# | |
#!/bin/sh | |
# makewhatis: create the whatis database | |
# Created: Sun Jun 14 10:49:37 1992 | |
# Revised: Sat Jan 8 14:12:37 1994 by [email protected] | |
# Revised: Sat Mar 23 17:56:18 1996 by [email protected] | |
# Copyright 1992, 1993, 1994 Rickard E. Faith ([email protected]) |
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
diff --git a/src/screen.c b/src/screen.c | |
index d80ad6f..fbd2c41 100644 | |
--- a/src/screen.c | |
+++ b/src/screen.c | |
@@ -2366,6 +2366,10 @@ compute_foldcolumn(wp, col) | |
if (fdc > wwidth - (col + wmw)) | |
fdc = wwidth - (col + wmw); | |
+ | |
+ if (fdc > 80) |
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
#include <cstddef> | |
#include <iostream> | |
#include <new> | |
#include <utility> | |
template <typename T> | |
class Array | |
{ | |
public: |
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
#!/bin/bash | |
for arg; do | |
if [ ! -f "$arg" ]; then | |
echo "Usage: $(basename $0) [rc...]" | |
echo "Invoked without arguments uses ~/.bashrc" | |
exit 1 | |
fi | |
done |
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
function! ClangComplete(findstart, base) | |
if a:findstart | |
let l:line = getline('.') | |
let l:start = col('.') - 1 | |
let b:clang_complete_type = 1 | |
let l:wsstart = l:start | |
if l:line[l:wsstart - 1] =~ '\s' | |
while l:wsstart > 0 && l:line[l:wsstart - 1] =~ '\s' | |
let l:wsstart -= 1 | |
endwhile |