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/python | |
import requests #you might need to install requests separatelly | |
import sys | |
from IPy import IP | |
import re | |
if len(sys.argv) == 1: | |
print "Usage: webvisu.py <target ip address> <folder with webvisu.htm and visu_ini.xml>" | |
sys.exit(0) |
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/python | |
import requests #you might need to install requests separatelly | |
import sys | |
req = "|0|1|0|" + str(sys.argv[2]).replace(",","|") | |
addr = "http://" + str(sys.argv[1]) | |
print req | |
r = requests.post(addr + '/webvisu/webvisu.htm', data=req) |
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
# /etc/udev/rules.d/70-huawei-e3.conf | |
# Necessary for network interface name | |
SUBSYSTEM=="net", ACTION=="add", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14dc", NAME="usb0" | |
# Might be duplicate to usb_modeswitch config, however it's good to have it there | |
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1f01", RUN+="/usr/sbin/usb_modeswitch -c /etc/usb_modeswitch.d/huawei_e3.conf" |
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
[af.policy.r_submix_prio_adjust]: [0] | |
[af.rf_info]: [273] | |
[bgw.current3gband]: [0] | |
[camera.disable_zsl_mode]: [1] | |
[curlockscreen]: [1] | |
[dalvik.vm.dex2oat-Xms]: [64m] | |
[dalvik.vm.dex2oat-Xmx]: [512m] | |
[dalvik.vm.heapgrowthlimit]: [128m] | |
[dalvik.vm.heapsize]: [256m] | |
[dalvik.vm.image-dex2oat-Xms]: [64m] |
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
Currently running services: | |
DmAgent | |
DockObserver | |
GuiExtService | |
NvRAMAgent | |
PPLAgent | |
SurfaceFlinger | |
accessibility | |
account | |
activity |
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 main | |
I/wmt_loader( 233): external combo chip power on failed | |
I/wmt_loader( 233): no external combo chip detected, get current soc chipid | |
I/wmt_loader( 233): soc chipid (0x335) detected | |
I/wmt_loader( 233): set property(persist.mtk.wcn.combo.chipid) to 0x0335 succeed. | |
I/wmt_loader( 233): external combo chip power off succeed | |
W/ADB_SERVICES( 276): adb_main syc_size_enabled=0 | |
D/ADB_SERVICES( 276): adb_main(): pre init_jdwp() | |
D/ADB_SERVICES( 276): adb_main(): post init_jdwp() | |
D/ADB_SERVICES( 276): Event loop starting |
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 main | |
I/wmt_loader( 231): external combo chip power on failed | |
I/wmt_loader( 231): no external combo chip detected, get current soc chipid | |
I/wmt_loader( 231): soc chipid (0x335) detected | |
I/6620_launcher( 232): Can't open device node(/dev/stpwmt) error:-1 | |
I/wmt_loader( 231): set property(persist.mtk.wcn.combo.chipid) to 0x0335 succeed. | |
I/wmt_loader( 231): external combo chip power off succeed | |
I/installd( 243): installd firing up | |
E/cutils ( 243): Failed to read /data/.layout_version: No such file or directory | |
D/installd( 243): Upgrading /data/media for multi-user |
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 main | |
I/6620_launcher( 227): Can't open device node(/dev/stpwmt) error:-1 | |
I/wmt_loader( 226): external combo chip power on failed | |
I/wmt_loader( 226): no external combo chip detected, get current soc chipid | |
I/wmt_loader( 226): soc chipid (0x335) detected | |
I/wmt_loader( 226): set property(persist.mtk.wcn.combo.chipid) to 0x0335 succeed. | |
I/wmt_loader( 226): external combo chip power off succeed | |
I/installd( 240): installd firing up | |
E/cutils ( 240): Failed to read /data/.layout_version: No such file or directory | |
D/installd( 240): Upgrading /data/media for multi-user |
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 main | |
I/wmt_loader( 229): external combo chip power on failed | |
I/wmt_loader( 229): no external combo chip detected, get current soc chipid | |
I/wmt_loader( 229): soc chipid (0x335) detected | |
I/6620_launcher( 230): Can't open device node(/dev/stpwmt) error:-1 | |
I/wmt_loader( 229): set property(persist.mtk.wcn.combo.chipid) to 0x0335 succeed. | |
I/wmt_loader( 229): external combo chip power off succeed | |
E/6620_launcher( 230): open device node succeed.(Node:/dev/stpwmt, fd:7) | |
I/6620_launcher( 230): key:(persist.mtk.wcn.combo.chipid)-value:(0x0335),chipId:0x0335 | |
I/6620_launcher( 230): chip id is 0x335 |
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/bash | |
# run like git_update_dir.sh /my/long/folder/path/.git | |
GIT_PATH="$1" | |
WORK_TREE=$(echo "$GIT_PATH" | sed 's/\.git$//') | |
gitexec() { | |
git --git-dir="$GIT_PATH" --work-tree="$WORK_TREE" $1 | |
} |