Gain adb root.
$ adb shell am start -n com.android.engineeringmode/.qualcomm.DiagEnabled --es "code" "angela"
Download Magisk-v14.0 and extract it somewhere. Download MagiskManager.
| body{ | |
| color:white !important; | |
| font-size:14px !important; | |
| font-family: 'Segoe UI', 'Segoe UI Symbol', 'Helvetica Neue',Helvetica,sans-serif !important; | |
| } | |
| body,.tweet-container,.generic-og-embed { | |
| background-color:#2F3136 !important; | |
| } | |
| .embed-container { | |
| background-color: rgba(146, 146, 146, 0.42) !important; |
Gain adb root.
$ adb shell am start -n com.android.engineeringmode/.qualcomm.DiagEnabled --es "code" "angela"
Download Magisk-v14.0 and extract it somewhere. Download MagiskManager.
| #!/usr/bin/env bash | |
| LOG_PATH="/home/$(whoami)/log/speedtest.log" | |
| if result=$(/usr/bin/speedtest --simple); then | |
| parsed_result=$(printf "${result}\"" | sed ':a;N;$!ba;s/\n/" /g' | sed 's/: /="/g') | |
| printf "[$(date)] ${parsed_result}\n" >> "${LOG_PATH}" | |
| else | |
| printf "[$(date)] error\n" >> "${LOG_PATH}" | |
| exit 1 |
| #!/usr/bin/env bash | |
| ########################################################################### | |
| # Originally written by: Henrik Bengtsson, 2014 | |
| # https://github.com/HenrikBengtsson/speedtest-cli-extras | |
| # Modified to use IFTTT by: Alasdair Allan, 2015 | |
| # License: GPL (>= 2.1) [http://www.gnu.org/licenses/gpl.html] | |
| ########################################################################### | |
| # Character for separating values | |
| # (commas are not safe, because some servers return speeds with commas) |
REGEX remove blank lines:
FROM: http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/remove_blank_lines.html
FIND:
^(?:[\t ]*(?:\r?\n|\r))+
| Import-Module "PATH_TO_Microsoft.ServiceBus.dll" | |
| #Create the required credentials | |
| $tokenProvider = [Microsoft.ServiceBus.TokenProvider]::CreateSharedSecretTokenProvider("owner", "YOUR_ISSUERSECRET") | |
| $namespaceUri = [Microsoft.ServiceBus.ServiceBusEnvironment]::CreateServiceUri("sb", "YOUR_NAMESPACE", ""); | |
| $namespaceManager = New-Object Microsoft.ServiceBus.NamespaceManager $namespaceUri,$tokenProvider | |
| #Create a queue | |
| $queue = $namespaceManager.CreateQueue("MyPowershellQueue"); |