This file contains hidden or 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
:foreach i in=[/ip dns cache find] do={ | |
:local bNew "true"; | |
:local cacheName [/ip dns cache all get $i name] ; | |
# :put $cacheName; | |
:if (([:find $cacheName "facebook" -1] >= 0) || ([:find $cacheName "outlook" -1] >= 0)) do={ | |
:local tmpAddress [/ip dns cache get $i address] ; | |
:put $cacheName; | |
:put $tmpAddress; |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>File Explorer</title> | |
</head> | |
<body> | |
<!-- | |
Throw in the HTML from the JSFiddle's HTML tab here. | |
The JSFiddle is at http://jsfiddle.net/pseudonumos/PB565/embedded/ | |
--> |
This file contains hidden or 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 | |
# Modified version of: | |
# http://tech.namshi.com/blog/2015/08/02/vmware-fusion-headless/ | |
# See above for adding `vmrun` to your path. | |
if [ -z "$vmFile" -a -f *.vmx ] | |
then | |
vmFile=`ls *.vmx | head -n 1` | |
echo "vmFile set to $vmFile." |
This file contains hidden or 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
.encoding = "windows-1252" | |
config.version = "8" | |
virtualHW.version = "14" | |
pciBridge0.present = "TRUE" | |
pciBridge4.present = "TRUE" | |
pciBridge4.virtualDev = "pcieRootPort" | |
pciBridge4.functions = "8" | |
pciBridge5.present = "TRUE" | |
pciBridge5.virtualDev = "pcieRootPort" | |
pciBridge5.functions = "8" |
This file contains hidden or 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
put [resolve google.com server 8.8.8.8] |
This file contains hidden or 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/zsh | |
# Buttery powered state | |
adb shell dumpsys battery | grep powered | |
# Unplug battery | |
adb shell dumpsys battery unplug | |
# Reset battery | |
adb shell dumpsys battery reset |
This file contains hidden or 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
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader | |
== Shell |
This file contains hidden or 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
# USEFUL TWRP RECOVERY FLAGS | |
# by ZawZaw @XDA-Developers | |
# Thanks to : @xda-developers for helps | |
# Add EXT4 support | |
TARGET_USERIMAGES_USE_EXT4 := true | |
# Disable/enable SELinux. Only suggested when you want to enable SELinux support | |
TWHAVE_SELINUX := true |
This file contains hidden or 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
@rem *** Disable Some Service *** | |
sc stop DiagTrack | |
sc stop diagnosticshub.standardcollector.service | |
sc stop dmwappushservice | |
sc stop WMPNetworkSvc | |
sc stop WSearch | |
sc config DiagTrack start= disabled | |
sc config diagnosticshub.standardcollector.service start= disabled | |
sc config dmwappushservice start= disabled |
This file contains hidden or 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/Android.mk b/Android.mk | |
index e53b863..1d3854e 100644 | |
--- a/Android.mk | |
+++ b/Android.mk | |
@@ -8,7 +8,6 @@ LOCAL_PATH:= $(call my-dir) | |
# /system/etc/mkshrc | |
include $(CLEAR_VARS) | |
- | |
LOCAL_MODULE:= mkshrc |
NewerOlder