⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
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
# MIT license | |
# Emmanuel Blot <emmanuel.blot@free.fr> | |
from base64 import b64decode | |
from util import BitField | |
import errno | |
import os | |
import usb.core | |
import usb.util |
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/cfg-mplayer.h b/cfg-mplayer.h | |
index 4830d02..29a4365 100644 | |
--- a/cfg-mplayer.h | |
+++ b/cfg-mplayer.h | |
@@ -270,6 +270,7 @@ const m_option_t mplayer_opts[]={ | |
{"udp-master", &udp_master, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | |
{"udp-ip", &udp_ip, CONF_TYPE_STRING, 0, 0, 1, NULL}, | |
{"udp-port", &udp_port, CONF_TYPE_INT, 0, 1, 65535, NULL}, | |
+ {"udp-timeout", &udp_timeout, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, | |
{"udp-seek-threshold", &udp_seek_threshold, CONF_TYPE_FLOAT, CONF_RANGE, 0.1, 100, NULL}, |
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
--- a/scripts/Makefile.modpost 2015-12-15 06:24:51.000000000 +0100 | |
+++ b/scripts/Makefile.modpost 2016-01-06 11:26:24.000000000 +0100 | |
@@ -60,7 +60,7 @@ | |
modulesymfile := $(firstword $(KBUILD_EXTMOD))/Module.symvers | |
# Step 1), find all modules listed in $(MODVERDIR)/ | |
-MODLISTCMD := find $(MODVERDIR) -name '*.mod' | xargs -r grep -h '\.ko$$' | sort -u | |
+MODLISTCMD := find $(MODVERDIR) -name '*.mod' | xargs grep -h '\.ko$$' | sort -u | |
__modules := $(shell $(MODLISTCMD)) | |
modules := $(patsubst %.o,%.ko, $(wildcard $(__modules:.ko=.o))) |
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 | |
export LC_ALL=C | |
TOP=`pwd` | |
ELLCC=`realpath $TOP/../..` | |
if [ `id -u` -ne 0 ] ; then | |
echo "You must be root to run this command. Be careful!" >&2 | |
exit 1 |
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
lib/modules/4.1.15-v7/kernel/drivers/staging | |
usr/ellcc | |
usr/share/doc | |
usr/share/man | |
*ntfs* |
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 -ur a/gprof/gmon_out.h b/gprof/gmon_out.h | |
--- a/gprof/gmon_out.h 2015-11-13 09:27:42.000000000 +0100 | |
+++ b/gprof/gmon_out.h 2016-06-06 17:52:49.000000000 +0200 | |
@@ -26,7 +26,7 @@ | |
#define gmon_out_h | |
#define GMON_MAGIC "gmon" /* magic cookie */ | |
-#define GMON_VERSION 1 /* version number */ | |
+#define GMON_VERSION 1024 /* version number */ | |
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
# HG changeset patch | |
# Parent 9b5795e98965ab4820a65ceeae0de644d0c5a9bb | |
Use the generic implementation of libstdc++ primitives when we're on musl, not the glibc one. | |
diff -r 9b5795e98965 libstdc++-v3/configure.host | |
--- a/libstdc++-v3/configure.host Sun Jul 26 15:42:47 2015 -0400 | |
+++ b/libstdc++-v3/configure.host Sun Jul 26 15:46:09 2015 -0400 | |
@@ -274,6 +274,13 @@ | |
os_include_dir="os/bsd/freebsd" | |
;; |
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
--- a/gcc-5.2.0-musl.diff 2016-06-07 11:45:27.000000000 +0200 | |
+++ b/gcc-5.2.0-musl.diff 2016-06-07 17:20:01.000000000 +0200 | |
@@ -49,7 +49,7 @@ | |
*-*-*uclibc*) | |
tm_defines="$tm_defines DEFAULT_LIBC=LIBC_UCLIBC" | |
;; | |
-+ *-*-*musl*) | |
++ *-*-*eabi*) | |
+ tm_defines="$tm_defines DEFAULT_LIBC=LIBC_MUSL" | |
+ ;; |