Get list of system apps on the device:
adb shell "echo 'apps:' && pm list packages -f | grep /system/app/ | sed 's/.*=/ - /'"
pm uninstall -k --user 0 app
Function Start-WindowsCleanup | |
{ | |
<# | |
.SYNOPSIS | |
`Start-WindowsCleanup` cleans-up a system clutter and reclaims disk space. | |
.DESCRIPTION | |
The `Start-WindowsCleanup` cmdlet performs the following clean-up tasks to reclaim disk space: | |
Clears the contents of common directories of the Windows file system for both the current running user and the global system that are used to store temporary, logging, backup, cache and dump files. |
UPD 2: Official standalone Signal Desktop is released!
Install official Signal Desktop, old version and this guide using it should now be considered deprecated.
UPD 1: There is now an easier way with automatic Signal Desktop installer, which also keeps Signal updated.
#!/usr/bin/env python3 | |
import sys | |
import requests | |
import json | |
emails = sys.argv[1] | |
urlAPI = "https://haveibeenpwned.com/api/v2/breachedaccount/" | |
user_agent = { 'User-Agent' : 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0' } |
#!/usr/bin/env python3 | |
""" | |
ZSH history convert script. | |
When you mistakenly type your password or quite bad command into ZSH, | |
you may want to remove the entry from the history. | |
The problem is, the .zsh_history is encoded in a weird format! | |
If you want to find a command with non-ASCII character, it'll be problematic. |