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
I/use-Rlog/RLOG-RILC( 327): qmi_ril(0/327): [cmd-22(144)] qcril_qmi_nas_util_convert_nas_srv_status_to_ril_reg_status: ... is voice supported on lte dyn 1, setting 0 | |
I/use-Rlog/RLOG-RILC( 327): qmi_ril(0/327): [cmd-22(144)] qcril_qmi_nas_is_in_service_of_technology: .. param 1 | |
I/use-Rlog/RLOG-RILC( 327): qmi_ril(0/327): [cmd-22(144)] qcril_qmi_nas_is_in_service_of_technology: .. cache valid 0 | |
I/use-Rlog/RLOG-RILC( 327): qmi_ril(0/327): [cmd-22(144)] qcril_qmi_nas_util_convert_nas_srv_status_to_ril_reg_status: ... is voice supported on lte dyn 1, setting 0 | |
D/use-Rlog/RLOG-RIL-QMI( 375): qmuxd: RX 47 bytes on fd=23 from qmux_client_id=b | |
E/use-Rlog/RLOG-RIL-RAWDATA( 375): service_ID = 3, message_ID = 4d | |
E/use-Rlog/RLOG-RIL-RAWDATA( 375): 01 0C 00 00 03 01 00 2A 00 4D 00 .. | |
E/use-Rlog/RLOG-RIL-QMI( 375): [SMDPORT] >> BEFORE, Write SMD Port [fd = 10] [msg_len = 13] | |
E/use-Rlog/RLOG-RIL-QMI( 375): [SMDPORT] << AFTER, Write SMD Port [rc = 0] | |
D/RILJ ( 1094): [3795]> DATA_REGISTRATION_STATE |
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
E/Sensors (11896): poll() failed (Interrupted system call) | |
E/Sensors (11896): poll() failed (Interrupted system call) | |
W/Watchdog(11896): *** WATCHDOG KILLING SYSTEM PROCESS: Blocked in monitor com.android.server.wm.WindowManagerService on foreground thread (android.fg), Blocked in handler on ui thread (android.ui), Blocked in handler on WindowManager thread (WindowManager) | |
W/Watchdog(11896): foreground thread stack trace: | |
W/Watchdog(11896): at com.android.server.wm.WindowManagerService.monitor(WindowManagerService.java:10704) | |
W/Watchdog(11896): at com.android.server.Watchdog$HandlerChecker.run(Watchdog.java:147) | |
W/Watchdog(11896): at android.os.Handler.handleCallback(Handler.java:733) | |
W/Watchdog(11896): at android.os.Handler.dispatchMessage(Handler.java:95) | |
W/Watchdog(11896): at android.os.Looper.loop(Looper.java:137) | |
W/Watchdog(11896): at android.os.HandlerThread.run(HandlerThread.java:61) |
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 bash | |
# Logs all current ROS topics to files | |
declare -a pids | |
declare -a topics | |
CYAN="\033[0;36m" | |
RED="\033[0;31m" | |
NO_COLOR="\033[0m" |
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
Go to http://jsfiddle.net/zdJ9f/1/embedded/result/ to get a link to this bookmarklet, or stick the following HTML someplace, or make a just bookmark to the href of the link below. | |
<a href="javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://raw.github.com/gist/4167712/test.js';})();">Github Inline Diffs</a> |
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 sh | |
git diff --cached --word-diff=porcelain -b --no-prefix | grep "^[\+\-][^\+\-]" |
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
function make(){ | |
/usr/bin/make "$@" | |
EXITCODE=$? | |
QUIET=false | |
OPTIND=1 | |
while getopts ":q" opt; do | |
case $opt in | |
q) | |
QUIET=true | |
;; |
This file has been truncated, but you can view the full file.
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
--------- beginning of /dev/log/main | |
V/AudioPolicyManagerBase( 4753): getDeviceForStrategy() strategy 2, device 2 | |
V/AudioPolicyManagerBase( 4753): getDeviceForStrategy() strategy 0, device 2 | |
V/AudioPolicyManagerBase( 4753): getDeviceForStrategy() strategy 3, device 2 | |
V/AudioPolicyManagerBase( 4753): getDeviceForStrategy() strategy 4, device 2 |
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
170.365193] c0 [E-PEN] wacom_i2c_coord failed to read i2c.L521 | |
<7>[ 170.386588] c3 [E-PEN] pdct 0(0) | |
<7>[ 170.386613] c3 [E-PEN] forced_hover | |
<6>[ 170.575035] c0 pet_watchdog_timer_fn kicking...c033 | |
<6>[ 170.770177] c0 [E-PEN]: wacom_i2c_query: 0th ret of wacom query=-6 | |
<6>[ 170.770265] c0 [E-PEN]: wacom_i2c_query: 1th ret of wacom query=-6 | |
<6>[ 170.770350] c0 [E-PEN]: wacom_i2c_query: 2th ret of wacom query=-6 | |
<6>[ 170.770430] c0 [E-PEN]: wacom_i2c_query: 3th ret of wacom query=-6 | |
<6>[ 170.770513] c0 [E-PEN]: wacom_i2c_query: 4th ret of wacom query=-6 | |
<6>[ 170.770597] c0 [E-PEN]: wacom_i2c_query: 5th ret of wacom query=-6 |
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
import grequests | |
from collections import deque | |
class RequestQueue(object): | |
""" | |
This is a lame imitation of a Typhoeus Hydra using GRequests. | |
The main thing this allows is building up a queue of requests and then | |
executing them, and potentially adding requests to the queue in a callback | |
so that you can build requests that depend on other requests more naturally. |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# ... or force ignoredups and ignorespace | |
HISTCONTROL=ignoredups:ignorespace |