o5srjuzavz
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
@echo off | |
REM Slight modification of https://stackoverflow.com/a/33402280/321973 | |
for /F "skip=1 delims=" %%F in (' | |
wmic PATH Win32_LocalTime GET Day^,Month^,Year /FORMAT:TABLE | |
') do ( | |
for /F "tokens=1-3" %%L in ("%%F") do ( | |
set DAY=0%%L | |
set MONTH=0%%M | |
set YEAR=%%N | |
) |
for APP in $(adb shell pm list packages -3 -f | tail -n +3); do adb pull $( echo ${APP} | sed "s&^package:&&" | sed "s/=/ /" | sed 's/\r//g').apk; done
adb
is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
I hereby claim: * I am zommuter on github. * I am zommuter (https://keybase.io/zommuter) on keybase. * I have a public key ASDCi70jThcVF6L3Llj-sYBlG9tf41hSjM06rGtuxTihqQo To claim this, I am signing this object:
{ "body": { "key": { "eldest_kid": "0120c28bbd234e171517a2f72e58feb180651bdb5fe358528ccd3aac6b6ec538a1a90a", "host": "keybase.io", "kid": "0120c28bbd234e171517a2f72e58feb180651bdb5fe358528ccd3aac6b6ec538a1a90a", "uid": "a8346a8683a2b87f6db6f42cb2156a19", "username": "zommuter" }, "merkle_root": { "ctime": 1567022098, "hash": "884dd159ded78d6ba4385e36e1d7452b37b3be0aa3c5c8231ef15c75a3836a4e40b42415f7e7a6f6ec0141b564c40b06a628f7cfab244629621b15d885e586bc", "hash_meta": "bb329d866fb419a7e7195ab903af35be74126b708f301a8a4cdf98a2b3769b3b", "seqno": 6121726 }, "service": { "entropy": "zvHSHsiU/RiQQKVfhlwMyCws", "name": "github", "username": "zommuter" }, "type": "web_servi
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/bash | |
echo -n Password: | |
read -s password | |
echo | |
hash="$(echo -n $password | openssl sha1 -hex -r | cut -d" " -f1)" | |
upperCase="$(echo $hash | tr '[a-z]' '[A-Z]')" | |
prefix="${upperCase:0:5}" | |
response=$(curl -s https://api.pwnedpasswords.com/range/$prefix) | |
while read -r line; do |
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
[Unit] | |
Description=Bitcoin daemon serivce | |
After=network.target | |
[Service] | |
Type=simple | |
User=bitcoin | |
ExecStart=/usr/bin/nice -n 15 /usr/bin/bitcoind | |
[Install] |
This file has been truncated, but you can view the full file.
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
Note: log switch off, only log_main and log_events will have logs! | |
--------- beginning of main | |
F/NDK_SUPLCLIENT_LAUNCHER( 2735): SPMSTATUS ConfigManager::FillGANSSParam(void*, SPM_GANSS_PARAM&) -- 1821: Inside the MSB of ganss | |
I/GNSS_ENGINE( 2731): cmd_name is StubGlonassFn, cmd_substring is 3#5 | |
I/GNSS_ENGINE( 2731): read ini params: StubRawpowerWeight | |
E/INI_SO ( 2731): [ini_find_var:744]not find StubRawpowerWeight!!!, check if var in correct mode | |
I/GNSS_ENGINE( 2731): WARNING! can not find StubRawpowerWeight item | |
I/GNSS_ENGINE( 2731): read ini params: StubBdSat | |
F/NDK_SUPLCLIENT_LAUNCHER( 2735): SPMSTATUS ConfigManager::Init(char*, char*) -- 931: After reading xml file |
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
msiexec /a %1 /qb TARGETDIR="%~d1%~p1%~n1" || pause |
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
Sub OpenInNewInstance() | |
' http://superuser.com/a/277794/35237 | |
Dim objXLNewApp As Excel.Application | |
Dim doc As String | |
doc = ActiveWorkbook.FullName | |
ActiveWorkbook.Close True | |
Set objXLNewApp = CreateObject("Excel.Application") |