View AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="net.m2hq.pannacotta"> | |
<uses-permission android:name="android.permission.BLUETOOTH" /> | |
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | |
<application | |
android:allowBackup="true" | |
android:icon="@mipmap/ic_launcher" |
View asacocopusher.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
import re | |
import json | |
import urllib.request | |
import pychromecast | |
from pychromecast.controllers.youtube import YouTubeController | |
# Your Chromecast device name here |
View recfsusb2n_watch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
/usr/local/bin/recfsusb2n $@ | |
PID=`pgrep --parent 1 --oldest recfsusb2n` | |
if [ -z "${PID}" ]; then | |
exit 1 | |
fi | |
echo "recfsusb2n running: PID=${PID}" |
View BonDriver_HTTP_inipath.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- BonDriver.cpp Thu Aug 22 19:52:37 2013 | |
+++ BonDriver.cpp Thu Aug 22 19:55:00 2013 | |
@@ -9,10 +9,21 @@ | |
BOOL APIENTRY DllMain(HINSTANCE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) | |
{ | |
+ INT size = 0; | |
+ LPTSTR p = NULL; | |
+ | |
switch(ul_reason_for_call){ |
View recfsusb2n+http_patch2+connect_card_retry_on_init+no_gethostbyaddr.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Nru arib25/b_cas_card.c.orig arib25/b_cas_card.c | |
--- arib25/b_cas_card.c.orig 2013-08-22 00:40:00.740962104 +0900 | |
+++ arib25/b_cas_card.c 2013-08-22 00:42:34.592962106 +0900 | |
@@ -135,6 +135,7 @@ | |
static int init_b_cas_card(void *bcas) | |
{ | |
int m; | |
+ int retry_count; | |
B_CAS_CARD_PRIVATE_DATA *prv; |
View Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gpio_shutdown: gpio_shutdown.o | |
cc -o $@ $^ -lwiringPi | |
.c.o: | |
cc -c $< | |
clean: | |
@rm gpio_shutdown | |
@rm gpio_shutdown.o |
View 60-gpsd.rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SUBSYSTEM!="tty", GOTO="gpsd_rules_end" | |
# u-blox AG, u-blox 7 [linux module: cdc_acm] | |
ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a7", SYMLINK+="gps%n", TAG+="systemd", ENV{SYSTEMD_WANTS}="gpsdctl@%k.service" | |
ACTION=="remove", TAG+="systemd", ENV{SYSTEMD_WANTS}="gpsdctl@%k.service" | |
LABEL="gpsd_rules_end" |
View dated-commit.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
LIST=`find . -type d -name ".git" -prune -or -type f -print` | |
# lsコマンドのオプションはFreeBSD 10.1のlsコマンドを想定しているので注意 | |
for f in ${LIST}; do | |
FDATE=`LANG=C ls -l -D "%a, %d %b %Y %T %z" "$f" | cut -d " " -f 9-14` | |
FNAME=`basename "$f"` | |
echo "[$FDATE] [$FNAME] [$f]" | |
git add "$f" |
View gollum-macro-listtree.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Gollum | |
class Macro | |
class ListTree < Gollum::Macro | |
def render(tree_expr, heading_level = 3) | |
re = Regexp.new("^(" + tree_expr + ")\/"); | |
subtree = {} | |
result = '' | |
if @wiki.pages.size > 0 |
View pw2hfs.rb-convlink.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/nf-pw2md.rb b/nf-pw2md.rb | |
index 11862d4..c5581b2 100755 | |
--- a/nf-pw2md.rb | |
+++ b/nf-pw2md.rb | |
@@ -54,7 +54,8 @@ RE_BLINE_PW = "^-{3}" | |
RE_MAP = {} | |
-RE_MAP[RE_COMMENT_PW] = lambda{|x,y| "<!-- #{x} -->" } | |
+#RE_MAP[RE_COMMENT_PW] = lambda{|x,y| "<!-- #{x} -->" } |
NewerOlder