Skip to content

Instantly share code, notes, and snippets.

View Logan1x's full-sized avatar
🚀

Khushal Sharma Logan1x

🚀
View GitHub Profile
@aidos-dev
aidos-dev / README.md
Last active November 20, 2024 08:12
How to connect Apple AirPods to Linux (Debian/Ubuntu/Mint)

How to connect Apple AirPods to Linux (Debian/Ubuntu/Mint)

Step 1.

Open your terminal.

In the root directory run the command:

sudo nano /etc/bluetooth/main.conf
@tanaypratap
tanaypratap / tanay-links.md
Last active March 3, 2024 09:05
Links for all of Tanay's Initiatives at one place
@cuuupid
cuuupid / undraw.json
Created November 8, 2018 23:25
Undraw Pictures
[{
"image": "https://42f2671d685f51e10fc6-b9fcecea3e50b3b59bdc28dead054ebc.ssl.cf5.rackcdn.com/illustrations/making_art_759c.svg",
"title": "Making art",
"tags": "creative, painting, woman, art"
}, {
"image": "https://42f2671d685f51e10fc6-b9fcecea3e50b3b59bdc28dead054ebc.ssl.cf5.rackcdn.com/illustrations/quitting_time_dm8t.svg",
"title": "Quitting time",
"tags": "work, office, break, man, coffee, employee"
}, {
"image": "https://42f2671d685f51e10fc6-b9fcecea3e50b3b59bdc28dead054ebc.ssl.cf5.rackcdn.com/illustrations/user_flow_vr6w.svg",
@RedL0tus
RedL0tus / year_progress.sh
Last active December 12, 2023 16:09
\\\ Year Progress ///
# Year Progress
export LENGTH=20;
function GET_PERCENTAGE {
local CURRENT_YEAR=$(date +%Y);
if [ $((CURRENT_YEAR % 400)) -eq 0 ]; then
local TOTAL_DAYS=366;
elif [ $((CURRENT_YEAR % 100)) -eq 0 ]; then
local TOTAL_DAYS=365;
elif [ $((CURRENT_YEAR % 4)) -eq 0 ]; then
@acolyer
acolyer / jessfraz.md
Created November 19, 2017 13:39
Containers, operating systems and other fun things from The Morning Paper
@slayton
slayton / check_ip.py
Created October 18, 2012 16:33 — forked from t0mab/check_ip.py
RaspberryPi IP address emailer
#!/usr/bin/python
from subprocess import Popen, PIPE
import smtplib
from socket import gaierror
import string
# This script attepts to retrieve the IP address of a specified interface.
# If successful it then emails the retrieved IP to a specified email address
# FILL OUT THE VALUES BETWEEN THE COMMENT BLOCKS