Skip to content

Instantly share code, notes, and snippets.

View gist:ef42036eb3cf821bab9cfdb76cc556bd
ok 46 misc - uv.hrtime
ok 47 misc - test_getpid
"prepare" uv_prepare_t: 0x025f5eb0
ok 48 prepare-check-idle-async - simple prepare
"check" uv_check_t: 0x025f5eb0
"timeout" uv_timer_t: 0x025f5f30
ok 49 prepare-check-idle-async - simple check
"idle" uv_idle_t: 0x025f5eb0
ok 50 prepare-check-idle-async - simple idle
ok 51 prepare-check-idle-async - simple async
View gist:6a675fa44771800d6bf92b9ab1d12f59
% I3BLOCKS(1)
# NAME
i3blocks - A flexible scheduler for your i3bar blocks
# SYNOPSIS
i3blocks [*options*]
# DESCRIPTION
View gist:9c0da245f365c0fbde89
if !exists('g:neocomplete#force_omni_input_patterns')
let g:neocomplete#force_omni_input_patterns = {}
endif
let g:neocomplete#force_omni_input_patterns.javascript = '[^. \t]\.\w*'
View gist:1ecfa99cbd5e6a2133a5
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
</match>
<match target="font">
<test qual="any" name="family">
View main.cpp
#include <iostream>
#include <type_traits>
#include <string>
#include <typeinfo>
using namespace std;
struct Obj {};
struct ObjWithFoo {
View gist:15088363a56d56f49e98
Dependencies Resolved
===================================================================================================================================
Package Arch Version Repository Size
===================================================================================================================================
Installing:
redhat-lsb x86_64 4.1-27.el7.centos.1 base 25 k
Installing for dependencies:
at x86_64 3.1.13-17.el7_0.1 base 50 k
atk x86_64 2.8.0-4.el7 base 233 k
View gist:4ac7e112a2ef6ba31b93
ARandR
Accessibility
Appearance
Bulk Rename
Calculator
Customize Look and Feel
Display
Document Viewer
File Manager
File Manager (2)
@jpleau
jpleau / gdb
Created Jul 31, 2015
output from the "windows error popup"
View gdb
(gdb) bt
#0 0xf7de95ce in ?? ()
#1 0x7bc82e9b in ?? ()
#2 0x7bc8b718 in ?? ()
#3 0x7b876fc8 in ?? ()
#4 0x7b877248 in ?? ()
#5 0x7b877358 in ?? ()
#6 0x7eb56e14 in ?? ()
#7 0x7eb4c924 in ?? ()
#8 0x7eb5ee40 in ?? ()
View gist:a89211ae378d95fee262
style "vimfix" {
bg[NORMAL] = "#282828"
}
widget "vim-main-window.*GtkForm" style "vimfix"
View gist:783bfeb9fb59af9b3e01
diff --git a/src/io.c b/src/io.c
index f8813ed..f8095a5 100644
--- a/src/io.c
+++ b/src/io.c
@@ -19,6 +19,12 @@
#define _GNU_SOURCE /* for F_SETSIG */
#include <fcntl.h>
+
+#ifdef __FreeBSD__