Skip to content

Instantly share code, notes, and snippets.

View knok's full-sized avatar

NOKUBI Takatsugu knok

View GitHub Profile
Return-Path: <[email protected]>
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on daio
X-Spam-Level:
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,HTML_MESSAGE,
T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from antibody.biology.uoc.gr (antibody.biology.uoc.gr [147.52.170.9])
by daio.daionet.gr.jp (Postfix) with ESMTPS id EF0101ED407D
for <[email protected]>; Mon, 17 Feb 2014 23:57:34 +0900 (JST)
@knok
knok / LIVA.dmesg
Created May 14, 2014 22:55
ECS - LIVA Mini PC Kit linux-3.13.9 dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.13.9 (root@ubuntu) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Tue May 13 03:14:22 UTC 2014 (Ubuntu 3.13.0-24.46-generic 3.13.9)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.13.9 root=UUID=c21dab4a-0eac-4a77-b4e4-5dbdc0dd9db5 ro quiet
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] e820: BIOS-provided physical RAM map:
@knok
knok / cpuinfo
Created May 14, 2014 23:08
ECSA LIVA /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 55
model name : Intel(R) Celeron(R) CPU N2806 @ 1.60GHz
stepping : 3
microcode : 0x321
cpu MHz : 1597.000
cache size : 1024 KB
physical id : 0
@knok
knok / ruby-delayer-0.0.2-bpo70.diff
Created May 19, 2014 07:20
ruby-delayer 0.0.2 debian diff for wheezy
diff --git a/debian/changelog b/debian/changelog
index 9bd660a..e0cfe08 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ruby-delayer (0.0.2-1~bpo70+1) wheezy-backports; urgency=medium
+
+ * Rebuild for wheezy-backports.
+
+ -- NOKUBI Takatsugu <[email protected]> Mon, 19 May 2014 07:11:12 +0000
@knok
knok / gist:515a61abac7a47e7ae5f
Created July 18, 2014 10:47
LIVA dmesg (3.14.0-bpo.1~bpo70+1)
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.14-0.bpo.1-amd64 ([email protected]) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.14.7-1~bpo70+1 (2014-06-21)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.14-0.bpo.1-amd64 root=UUID=c21dab4a-0eac-4a77-b4e4-5dbdc0dd9db5 ro quiet
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000008efff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000008f000-0x000000000008ffff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x0000000000090000-0x000000000009dfff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009e000-0x000000000009ffff] reserved
@knok
knok / gist:0f1841bf3de1f1e43166
Created July 18, 2014 11:49
Debian installer patch for linux-source (#747284)
for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747284
Index: debian/installer/modules/mmc-modules
===================================================================
--- debian/installer/modules/mmc-modules (revision 21561)
+++ debian/installer/modules/mmc-modules (working copy)
@@ -1,5 +1,6 @@
mmc_block
sdhci
sdhci-pci ?
### Keybase proof
I hereby claim:
* I am knok on github.
* I am knok (https://keybase.io/knok) on keybase.
* I have a public key whose fingerprint is 9945 2B4D D28B EEAC 8AB5 C931 B066 62EC 9C0C 1404
To claim this, I am signing this object:
@knok
knok / wl-epg-verify.el
Created July 25, 2014 05:55
PGP/MIME verify for Wanderlust using Easy PGP(epg)
; PGP/MIME verify for Wanderlust using Easy PGP(epg)
;
(defun my-mail-verify-message ()
(interactive)
(save-selected-window
(wl-summary-jump-to-current-message)
(wl-mime-pgp-verify-region-with-epg (line-beginning-position) (line-end-position))))
@knok
knok / dlperl.rb
Created September 10, 2014 08:02
An example code to call libperl from ruby using DL::Import
# call libperl from ruby 1.9.x
require 'dl'
require 'dl/import'
require 'dl/struct'
require 'pp'
module Perl
extend DL::Importer
dlload "libperl.so"
@knok
knok / my-gcal.el
Last active August 29, 2015 14:06
;;
;; Create Google Calendar link
;;
;; 2014 NOKUBI Takatsugu <[email protected]>
;;
(defvar my-gcal-title "東京エリアDebian勉強会"
"予定のタイトル")
(defvar my-gcal-description ""