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
lsblk | |
sudo fdisk -l | |
sudo dd if=/dev/urandom of=/dev/sdX bs=1M status=progress |
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
Temporarily disable certificate verification by adding | |
Acquire { https::Verify-Peer false } | |
in /etc/apt/apt.conf.d/99verify-peer.conf. | |
Run apt update to get the new ca-certificates info | |
Run apt install ca-certificates | |
Re-enable certificate verification |
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
sudo apt update && sudo apt upgrade -y | |
sudo apt install deluged deluge-web deluge-console python3-mako -y | |
mkdir /home/pi/Documents/deluge_downloads | |
sudo chmod 777 /home/pi/Documents/deluge_downloads | |
deluged |
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
I switched /etc/resolv.conf back to nameserver 127.0.0.1 and now I can resolve. | |
# https://github.com/nextdns/nextdns/issues/695 |
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
Run Applescript | |
tell application "Terminal" | |
set currentTab to do script ("ssh pi@raspberrypi-dhaka;") | |
delay 6 | |
do script ("raspberry") in currentTab | |
delay 1 | |
# do script ("fish") in currentTab | |
# delay 1 | |
do script ("sudo reboot") in currentTab |
This file has been truncated, but you can view the full file.
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 python | |
# | |
# Hi There! | |
# | |
# You may be wondering what this giant blob of binary data here is, you might | |
# even be worried that we're up to something nefarious (good for you for being | |
# paranoid!). This is a base85 encoding of a zip file, this zip file contains | |
# an entire copy of pip (version 20.3.4). | |
# | |
# Pip is a thing that installs packages, pip itself is a package that someone |
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
https://bootstrap.pypa.io/pip/2.7/get-pip.py | |
sudo python2 get-pip.py |
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
# https://datawookie.dev/blog/2018/10/dns-on-ubuntu-18.04/ |
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
# Make terminal not to open old sessions | |
#Type on terminal: | |
defaults write com.apple.Terminal NSQuitAlwaysKeepsWindows -bool false | |
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
#EXTM3U | |
#EXTINF:-1,iptvtools_8 | |
https://bdsl.jagobd.com:444/c2VydmVyX6RpbEU8Mi8xNy8yMDE0GIDU6RgzQ6NTAgdEoaeFzbF92YWxIZTO0U0ezN1IzMyfvcGVMZEJCTEFWeVN3PTOmdFsaWRtaW51aiPhnPTI/boishakhiplus.stream/chunks.m3u8 | |
#EXTINF:-1,iptvtools_18 | |
http://210.4.72.204/hls-live/livepkgr/_definst_/liveevent/livestream3.m3u8 | |
#EXTINF:-1,iptvtools_20 | |
https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcS_3lZ-3SjyKCjtm6yO_Hud67PWDfVlYQvpXMVEA_2NZnwkaip4&usqp=CAU | |
#EXTINF:-1,iptvtools_21 | |
https://bdsl.jagobd.com:444/c2VydmVyX6RpbEU8Mi8xNy8yMDE0GIDU6RgzQ6NTAgdEoaeFzbF92YWxIZTO0U0ezN1IzMyfvcGVMZEJCTEFWeVN3PTOmdFsaWRtaW51aiPhnPTI/independent-8-org.stream/chunks.m3u8 | |
#EXTINF:-1,iptvtools_24 |
NewerOlder