Skip to content

Instantly share code, notes, and snippets.

View kaworu's full-sized avatar

Alexandre Perrin kaworu

View GitHub Profile
#include <stdio.h>
#include <stdlib.h>
#include <Block.h>
typedef void (^vblock)(void);
vblock
f(void)
{
__block int x = 42;
#include <stdio.h>
#include <stdlib.h>
#include <Block.h>
typedef void (^vblock)(void);
vblock
f(void)
{
__block int x = 42;
Index: devel/coccinelle/Makefile
===================================================================
--- devel/coccinelle/Makefile (revision 373453)
+++ devel/coccinelle/Makefile (working copy)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= coccinelle
-DISTVERSION= 1.0.0-rc19
+DISTVERSION= 1.0.0-rc22
(hd0) ./disk.img
(cd0) ./install56.iso
@kaworu
kaworu / -
Created November 20, 2014 12:28
Match User phabricator
AuthorizedKeysCommand /usr/local/bin/phabricator-ssh-hook.sh
AuthorizedKeysCommandUser phabricator
OPTIONS_UNSET= X11 DOCS NLS EXAMPLES
DEFAULT_VERSIONS= ruby=2.0 php=5.4
@kaworu
kaworu / -
Created November 15, 2014 19:16
bacula-common-pgsql - network backup service - PostgreSQL common files
bacula-common-pgsql-dbg - network backup service - PostgreSQL common files (debugging)
bacula-director-pgsql - network backup service - PostgreSQL storage for Director
bacula-director-pgsql-dbg - network backup service - PostgreSQL storage for Director (debugging)
bacula-sd-pgsql - network backup service - PostgreSQL SD tools
bacula-sd-pgsql-dbg - network backup service - PostgreSQL SD tools (debugging)
dbconfig-common - common framework for packaging database applications
exim4-daemon-heavy - Exim MTA (v4) daemon with extended features, including exiscan-acl
libapache2-mod-auth-pgsql - Module for Apache2 which provides PostgreSQL authentication
libdbd-pgsql - PostgreSQL database server driver for libdbi
<?php
/**
* This file is part of the hash_equals library
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @copyright Copyright (c) 2013-2014 Rouven Weßling <http://rouvenwessling.de>
* @license http://opensource.org/licenses/MIT MIT
*/
@kaworu
kaworu / -
Last active August 29, 2015 14:08
$ drill NS kaworu.ch
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 42345
;; flags: qr rd ra ; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 2
;; QUESTION SECTION:
;; kaworu.ch. IN NS
;; ANSWER SECTION:
kaworu.ch. 845 IN NS ns0.kaworu.ch.
kaworu.ch. 845 IN NS ns1.first-ns.de.
kaworu.ch. 845 IN NS robotns2.second-ns.de.
@kaworu
kaworu / -
Created November 5, 2014 16:21
# route show -inet
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Prio Iface
loopback localhost UGRS 0 0 32768 8 lo0
localhost localhost UH 1 0 32768 4 lo0
obsd0 00:50:56:00:6d:cd UHLl 0 0 - 1 lo0
178.63.43.248/32 link#1 UC 0 0 - 4 vio0
BASE-ADDRESS.MCAST localhost URS 0 0 32768 8 lo0