This file contains hidden or 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
" Append lines to a buffer. Use the Neovim API instead of the traditional | |
" | |
" call append(line('$'), a:data) | |
" | |
" Reason: nvim_buf_set_lines allows adding lines to a buffer which is not | |
" the active one. This means we don't have to fiddle with the users' active | |
" buffers. | |
function s:appendlines(buf, list) | |
if !empty(a:list) | |
call nvim_buf_set_lines(a:buf, -1, -1, v:false, a:list) |
This file contains hidden or 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
Homebrew build logs for fontconfig on Ubuntu 14.04.1 LTS | |
Build date: 2016-10-10 14:26:53 |
This file contains hidden or 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
vault size 928G - | |
vault capacity 53% - | |
vault altroot - default | |
vault health ONLINE - | |
vault guid 10615357772173364317 default | |
vault version - default | |
vault bootfs - default | |
vault delegation on default | |
vault autoreplace off default | |
vault cachefile - default |
This file contains hidden or 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
Dec 06 00:46:40 kdi kernel: perf interrupt took too long (5048 > 5000), lowering kernel.perf_event_max_sample_rate to 25000 | |
Dec 06 00:47:43 kdi kernel: VERIFY3((arc_stats.arcstat_c.value.ui64) >= 2ULL << 24) failed (33550891 >= 33554432) | |
Dec 06 00:47:43 kdi kernel: PANIC at arc.c:3760:arc_adapt() | |
Dec 06 00:47:43 kdi kernel: Showing stack for process 898 | |
Dec 06 00:47:43 kdi kernel: CPU: 1 PID: 898 Comm: transmission-da Tainted: P O 4.2.0-1-amd64 #1 Debian 4.2.6-1 | |
Dec 06 00:47:43 kdi kernel: Hardware name: GIADA ChiefRiver Platform/Emerald Lake 2, BIOS W6561014 02/05/2013 | |
Dec 06 00:47:43 kdi kernel: 0000000000000000 0000000000000eb0 ffffffff8154e2f6 ffffffffa0966f23 | |
Dec 06 00:47:43 kdi kernel: ffffffffa080480c ffff8800551885d8 ffff88006bf2aa78 0000000000000030 | |
Dec 06 00:47:43 kdi kernel: ffff88006b1cbb58 ffff88006b1cbaf8 2833594649524556 6174735f63726128 | |
Dec 06 00:47:43 kdi kernel: Call Trace: |
This file contains hidden or 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
BUILD_DEPENDS[0]="spl" | |
AUTOINSTALL="yes" | |
PACKAGE_NAME="zfs" | |
PACKAGE_VERSION="0.6.5.2" | |
PRE_BUILD="configure | |
--prefix=/usr | |
--with-config=kernel | |
--with-linux=$(moddir=`echo ${kernel_source_dir/%build/.}`; | |
if [ -e $moddir/source/include/linux/input ]; then | |
echo $moddir/source |
This file contains hidden or 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
llvm[6]: ======= Finished Linking Release+Asserts Unit test ClangApplyReplacementsTests (without symbols) | |
llvm[6]: Compiling UniqueHeaderNameTest.cpp for Release+Asserts build | |
if clang++ -I/private/tmp/llvm35-g2huGt/llvm-3.5.1.src/include -I/private/tmp/llvm35-g2huGt/llvm-3.5.1.src/tools/clang/tools/extra/unittests/clang-modernize -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/private/tmp/llvm35-g2huGt/llvm-3.5.1.src/tools/clang/tools/extra/unittests/clang-modernize/../../../../include -I/private/tmp/llvm35-g2huGt/llvm-3.5.1.src/tools/clang/tools/extra/unittests/clang-modernize/../../../../include -I/private/tmp/llvm35-g2huGt/llvm-3.5.1.src/tools/clang/tools/extra/unittests/clang-modernize/../../clang-modernize -I/private/tmp/llvm35-g2huGt/llvm-3.5.1.src/tools/clang/tools/extra/unittests/clang-modernize/../../clang-apply-replacements/include -I/private/tmp/llvm35-g2huGt/llvm-3.5.1.src/tools/clang/tools/extra/unittests/clang-modernize/../include -I/private/tmp |
This file contains hidden or 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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <assert.h> | |
#include <limits.h> | |
#include <time.h> | |
#include <stdbool.h> | |
/* test if Vim was right when it implemented strchr() again as vim_strbyte() */ |
This file contains hidden or 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 | |
# look out for the speedup factors reported, my | |
# tests indicate that `pigz --rsyncable` wins for | |
# the compressed format, but that the raw uncompressed | |
# format is the best if you want optimal rsyncability. | |
# | |
# This makes sense of course, but for many of us it's | |
# not feasible to keep uncompressed copies around, as the | |
# database can be huge and full of compressible data. |
This file contains hidden or 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
; also see an alternative: http://lpaste.net/111802 | |
; rdi = the number (integer) to print | |
; prints a number as hex (basically the easy way out) | |
printnum: | |
push r13 | |
push r14 | |
push r15 | |
; save the argument because we're going to use it to pass an argument to |
This file contains hidden or 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
// @aktau: this is not my file, I tried to find the original article this was from but couldn't, I'm pasting it here for posterity | |
#include <fcntl.h> | |
#include <stdio.h> | |
#include <errno.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <sys/resource.h> | |
#include <sys/types.h> | |
#include <sys/time.h> | |
#include <sys/uio.h> |