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
<# | |
.SYNOPSIS | |
Converts Aegis data file to Bitwarden format | |
.DESCRIPTION | |
This is a way to import Aegis TOTP records to Bitwarden | |
.NOTES | |
* Export unencrypted *.JSON file from Aegis App | |
* Edit $AegisExportFile | |
* Run script | |
* Import *.JSON.Bitwarden.csv as Bitwarden CSV format |
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
# Creds goes to https://github.com/farag2/Office | |
# It is needed to remove these keys not to bypass Russian and Belarusian region blocks | |
Remove-Item -Path HKCU:\SOFTWARE\Microsoft\Office\16.0\Common\Experiment -Recurse -Force -ErrorAction Ignore | |
Remove-Item -Path HKCU:\SOFTWARE\Microsoft\Office\16.0\Common\ExperimentConfigs -Recurse -Force -ErrorAction Ignore | |
Remove-Item -Path HKCU:\SOFTWARE\Microsoft\Office\16.0\Common\ExperimentEcs -Recurse -Force -ErrorAction Ignore | |
# Set location to Ukraine | |
Set-WinHomeLocation -GeoId 241 |
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/env python3 | |
import json, re | |
from collections import Counter | |
from natasha import ( | |
Segmenter, | |
MorphVocab, | |
NewsEmbedding, | |
NewsMorphTagger, |
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
~/Entware/build_dir/target-mipsel_mips32r2_glibc-2.27/qt-everywhere-src-5.12.0$ find . -name *.so -exec du -hLs {} \; | |
384K ./qtbase/lib/libQt5Sql.so | |
440K ./qtbase/lib/libQt5Test.so | |
1.8M ./qtbase/lib/libQt5Network.so | |
7.9M ./qtbase/lib/libQt5Core.so | |
36K ./qtbase/lib/libQt5Concurrent.so | |
320K ./qtbase/lib/libQt5Xml.so | |
1.4M ./qtbase/plugins/sqldrivers/libqsqlite.so | |
136K ./qtbase/plugins/bearer/libqgenericbearer.so | |
4.0K ./qtbase/tests/auto/corelib/plugin/qpluginloader/elftest/garbage5.so |
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
# | |
# Copyright (C) 2011-2018 Entware | |
# | |
# This is free software, licensed under the GNU General Public License v2. | |
# See /LICENSE for more information. | |
# | |
include $(TOPDIR)/rules.mk | |
PKG_NAME:=dnscrypt-proxy2 |
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/sh | |
if [ -z "$1" ]; then | |
echo 'Please, provide target config for comparison with others.' | |
exit 1 | |
fi | |
grep -h '^CONFIG' ~/Entware/configs/*.config | sort | uniq > /tmp/all.config | |
grep '^CONFIG' $1 | sort > /tmp/target.config |
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
K12myrapbookd | |
K30qpopper | |
K31postfix | |
K41cyrus-imapd | |
K70mysqld | |
K80squid | |
myrapbookd | |
S01denyhosts | |
S01modutils | |
S01ntop |
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/env bash | |
# dns-01 challenge for Yandex PDD | |
domain='domain.com' | |
# domain alias as in dehydrated config | |
domain_alias='wildcard_domain_com' | |
# Get token at https://pddimp.yandex.ru/token/index.xml?domain=$domain | |
token='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' |