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
# do not forget to run 'sudo udevadm control --reload-rules' after editing this file | |
ACTION!="add", GOTO="android_usb_rules_end" | |
SUBSYSTEM!="usb", GOTO="android_usb_rules_end" | |
ENV{DEVTYPE}!="usb_device", GOTO="android_usb_rules_end" | |
ENV{ID_SERIAL_SHORT}=="", GOTO="android_empty_serial" | |
ENV{ID_SERIAL_SHORT}=="0000:*", GOTO="android_empty_serial" | |
ENV{ID_SERIAL_SHORT}=="0123456789ABCDEF", GOTO="android_empty_serial" |
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
# | |
# Copyright (C) 2006 OpenWrt.org | |
# | |
# This is free software, licensed under the GNU General Public License v2. | |
# See /LICENSE for more information. | |
# | |
# $Id$ | |
include $(TOPDIR)/rules.mk | |
include $(INCLUDE_DIR)/kernel.mk |
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
# | |
# Copyright (C) 2006 OpenWrt.org | |
# | |
# This is free software, licensed under the GNU General Public License v2. | |
# See /LICENSE for more information. | |
# | |
# $Id$ | |
include $(TOPDIR)/rules.mk | |
include $(INCLUDE_DIR)/kernel.mk |
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
// ==UserScript== | |
// @name Blogger Content Warning Skip | |
// @description Automatically skips the content warning on blogspot.com sites without reloading the page | |
// @grant none | |
// @match http://*.blogspot.ca/* | |
// @match http://*.blogspot.com/* | |
// ==/UserScript== | |
var fireEvent = function(obj,evt){ | |
var fireOnThis = obj; |
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
#!/sbin/busybox sh | |
# Weedy - miuiandroid.com | |
# ./usim - "Universal" System Identification & Mounting thingy | |
# 0.1 - 12-11-16 - Initial release. | |
cwmPid=$(ps | grep -v "grep" | grep -o -E "(.*)update_binary" | cut -d " " -f 3) | |
cwmFD=$(ps | grep -v "grep" | grep -o -E "update_binary(.*)" | cut -d " " -f 3) | |
logFile="/sdcard/usim-errors.log" | |
passedDev="$*" | |
recoveryDev=$(awk '/ro.product.device=/ {split($0,dev,"="); print dev[2]}' < /default.prop) | |
if [ -z "$passedDev" ]; then passedDev="$recoveryDev"; fi |