Skip to content

Instantly share code, notes, and snippets.

@pfpacket
pfpacket / split.py
Last active December 9, 2017 12:37
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import cv2
import sys
import os
#import qrtools
args = sys.argv;
@pfpacket
pfpacket / listener_null_assertion.patch
Last active August 29, 2015 14:07
listener_null_assertion.patch
From d4a15c626d0c9af03acee348be4051cab13ba2a8 Mon Sep 17 00:00:00 2001
From: Ryo Munakata <ryomnktml@gmail.com>
Date: Wed, 1 Oct 2014 20:20:17 +0900
Subject: [PATCH wayland] assert if a listener function is NULL
Signed-off-by: Ryo Munakata <ryomnktml@gmail.com>
---
src/connection.c | 5 +++++
1 file changed, 5 insertions(+)
@pfpacket
pfpacket / font-name.patch
Last active August 29, 2015 14:05
weston: title fonts
diff --git a/man/weston.ini.man b/man/weston.ini.man
index ccd7185..c0f5101 100644
--- a/man/weston.ini.man
+++ b/man/weston.ini.man
@@ -260,6 +260,9 @@ sets the path to lock screen background image (string). (tablet shell only)
.TP 7
.BI "homescreen=" path
sets the path to home screen background image (string). (tablet shell only)
+.TP 7
+.BI "font=" fontname
/*
* Packet socket sample program
* explaining the way to use planetfs
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>