Skip to content

Instantly share code, notes, and snippets.

View Boot-Error's full-sized avatar
⛏️
possess wizardly powers

Vighnesh SK Boot-Error

⛏️
possess wizardly powers
View GitHub Profile
@Boot-Error
Boot-Error / openpgp.txt
Created September 17, 2017 06:07
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:08bfa620336659487c5709846efe5cef7f6bedf2]
@Boot-Error
Boot-Error / openpgp.txt
Created September 17, 2017 06:06
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:08bfa620336659487c5709846efe5cef7f6bedf2]
@Boot-Error
Boot-Error / rpi.md
Last active October 24, 2021 17:45

Setting up RPi

This write up allow you to to set up your Raspberry Pi for ssh We acheive this by manually activating sshd in Pi's root partition. Followed by writing a systemd service file which activates the WiFi. In this case, I will be connecting my Pi to my smartphone's mobile hotspot and my pc to the hotspot as well. And then ssh into the Pi.

Mount the SD card

@Boot-Error
Boot-Error / lovemelikeyoudo.sh
Created March 21, 2017 20:54
Love me like you do <3
base64 -d<<-EOF |
H4sIAEOS0VgAA5VRMW7DMAzc9QpuXpyha5cOBYoGCLo0QJGpoG3aFiyLhUTF8O9LKSmSwFMBDdTxdEeeTpyqQCAjgbPDKDWsN8RnxJxuQMuOA3AP8wqNY+4eminQw/MftP6ewN6tWlg/wB4W9B5BOLWj+aAzBZg8LdpGASvqlFwHM6GHyDArq/4rnsy9aE8YatXr2Ff6DAOZ6hVTJNhXZ12hSDdERWfUhcwbO8eLaqt7kegwTOZAUiCcKO+gw0cBTgEiCjlnhWK2VQdVoov3wkGHzOwmcNKssqKzvcZwLYz51IJ1kDkHfNXuuFZwV86mZQ7/ox9zhBu+8K6cbc985Yg1p3Jf0Er+kJ7DizHvpLCNl2AdDvAMrfTf2XamDPwCyv+XaS8CAAA=
EOF
gunzip -d | while IFS= read -n1 c; do
printf %c "${c:-$'\n'}"
sleep 0.05
[ "$c" ] || sleep 0.3
done
@Boot-Error
Boot-Error / redditFetcher.py
Created February 20, 2016 08:20
Reddit Imagify
#!/usr/bin/env python
# Requires this font : http://www.fonts2u.com/highvoltage.font
# The images are saved in a folder named by the subreddit name
# External Libraries : praw, PIL
import praw
import Image
import ImageDraw, ImageFont
import textwrap
@Boot-Error
Boot-Error / Pyramid
Created February 8, 2015 17:39
This generates a pyramid of numbers.. using python.
# Maximum Limit
limit = 20
# generates the series as a list
pyramid = [a[0:-1]+a[::-1] for a in ["".join([str(k) for k in range(1, i+1)]) for i in range(1, limit+1)]]
# pretty print
for num in pyramid:
print num.center(len(pyramid[-1]))
@Boot-Error
Boot-Error / Pyramid
Created February 8, 2015 17:39
This generates a pyramid of numbers.. using python.
# Maximum Limit
limit = 20
# generates the series as a list
pyramid = [a[0:-1]+a[::-1] for a in ["".join([str(k) for k in range(1, i+1)]) for i in range(1, limit+1)]]
# pretty print
for num in pyramid:
print num.center(len(pyramid[-1]))
@Boot-Error
Boot-Error / Pyramid
Created February 8, 2015 17:39
This generates a pyramid of numbers.. using python.
# Maximum Limit
limit = 20
# generates the series as a list
pyramid = [a[0:-1]+a[::-1] for a in ["".join([str(k) for k in range(1, i+1)]) for i in range(1, limit+1)]]
# pretty print
for num in pyramid:
print num.center(len(pyramid[-1]))