Skip to content

Instantly share code, notes, and snippets.

fenrir fenrir-naru

Block or report user

Report or block fenrir-naru

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View RasPi lsusb dump with ninja-sca-light
Bus 001 Device 005: ID 10c4:8912 Cygnal Integrated Products, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x10c4 Cygnal Integrated Products, Inc.
View RasPi dmesg dump with ninja-sca-light
Linux version 3.1.9+ (grayg@dc4-arm-01) (gcc version 4.5.1 (Broadcom-2708) ) #90 Wed Apr 18 18:23:05 BST 2012
CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: BCM2708
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 49152
free_area_init_node: node 0, pgdat c03b5660, node_mem_map c0402000
Normal zone: 384 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 48768 pages, LIFO batch:15
fenrir-naru / How to use NinjaScan-Light with your Raspberry Pi
Last active Aug 29, 2015
How to use NinjaScan-Light with your Raspberry Pi
View How to use NinjaScan-Light with your Raspberry Pi
sudo apt-get update && sudo apt-get install subversion # as you need, anything else such as gmake, g++
svn co ninja-scan-light
cd ninja-scan-light/tool
# insert your NinjaScan-Light to RasPi USB port
sudo ./build_GCC/log_CSV.out /dev/ttyACM0 --direct_sylphide=on --page=A --page=G --page=M --page=P
# if you want to run log_CSV.out without sudo, then
# $ sudo usermod -a -G dialout <your username, default is "pi">
# and restart your Pi.
View 転職先に訊きたいチェックリスト.md


  • 有休…
  • 病休…
  • 育休…
  • 年収(月給、賞与など)…
  • 住宅補助…
  • 通勤補助…
  • 資格手当…
  • 人事評価…
View spidev_test.c
* SPI testing utility (using spidev driver)
* Copyright (c) 2007 MontaVista Software, Inc.
* Copyright (c) 2007 Anton Vorontsov <>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License.
fenrir-naru / mod_rewrite_rules.apacheconf
Last active Sep 2, 2015 — forked from phillipadsmith/mod_rewrite_rules
Mobile site redirection using mod_rewrite
View mod_rewrite_rules.apacheconf
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
# If the visit is neither html nor directory, stop
RewriteCond %{LA-U:REQUEST_URI} !\.html?$ [NC]
RewriteRule ^ - [L]
fenrir-naru / c_icap-0.4.2.patch
Created Feb 13, 2016
Patch of c_icap-0.4.2 and c_icap_modules-0.4.2 for MacOSX
View c_icap-0.4.2.patch
--- c_icap-0.4.2/os/unix/shared_mem.c.orig 2015-08-27 18:01:51.000000000 +0900
+++ c_icap-0.4.2/os/unix/shared_mem.c 2016-02-13 17:46:21.000000000 +0900
@@ -99,6 +99,9 @@ const ci_shared_mem_scheme_t sysv_scheme
+#if defined(__APPLE__)
View minimal_expect.c
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
char cmd_str[] = \
"$ te\\x4Ast\\r\\n\r\n"
"> OK\r\n"
"$ hoge\\r\\n\r\n"
"> ERROR\r\n"
"$ error\\r\\n\r\n";
#!/usr/bin/bash -ex
# original:
cpus=$(( (`cat /proc/cpuinfo | awk '/^processor/{print $3}' | tail -1` + 1) / 2 ))
if [ ! -d ffmpeg_sources ]; then mkdir ffmpeg_sources; fi
View appveyor.yml
version: 1.0.{build}.{branch}
configuration: Release
project: tool\NinjaScanLight_tools.sln
verbosity: minimal
- cmd: 7z a %APPVEYOR_BUILD_FOLDER%\tool\build_VC\%CONFIGURATION%\*.exe
- path: windows.*.zip
name: x86 binary
You can’t perform that action at this time.