Skip to content

Instantly share code, notes, and snippets.

View azlkiniue's full-sized avatar
:shipit:
Forever a work in progress

Ahmada Yusril azlkiniue

:shipit:
Forever a work in progress
View GitHub Profile
@azlkiniue
azlkiniue / install.sh
Last active March 5, 2026 09:27 — forked from Faheetah/install.sh
Install containerd and nerdctl on Ubuntu
# adapted from https://github.com/ArmDeveloperEcosystem/arm-learning-paths/blob/main/content/install-guides/nerdctl.md
# modified for amd64
sudo apt-get update
sudo apt-get install containerd
NERDCTL_VERSION=$(curl -s https://api.github.com/repos/containerd/nerdctl/releases/latest | grep tag_name | cut -d '"' -f 4 | sed 's/v//')
wget https://github.com/containerd/nerdctl/releases/download/v${NERDCTL_VERSION}/nerdctl-${NERDCTL_VERSION}-linux-amd64.tar.gz
sudo tar -xzvf nerdctl-${NERDCTL_VERSION}-linux-amd64.tar.gz -C /usr/local/bin
rm nerdctl-${NERDCTL_VERSION}-linux-amd64.tar.gz
@azlkiniue
azlkiniue / github-followback-checker.py
Last active February 18, 2023 15:25 — forked from rezkyfm/github-followback-checker.py
Check if user in github follow you back or not
'''
Check if user in github follow you back or not
'''
import requests
username = input("Enter your username: ")
def main(username):
@azlkiniue
azlkiniue / parseml.py
Last active March 18, 2021 06:31 — forked from urschrei/parseml.py
Extract attachments from EML files in the current dir, and write them to the output subdir
#!/usr/bin/env python
"""
2020 update:
- More iterators, fewer lists
- Python 3 compatible
- Processes files in parallel
(one thread per CPU, but that's not really how it works)
2021 update:
- Change from legacy format (compat32)
(function(window) {
var data,
xy = d3
.geo
.equirectangular()
.scale($('#map_container').width())
.translate([$('#map_container').width() / 2, $('#map_container').height() / 2]),
path = d3
.geo
.path()