Skip to content

Instantly share code, notes, and snippets.

View KeyboardInterrupt's full-sized avatar
🐍
Living by the Zen of Python `import this`

KeyboardInterrupt

🐍
Living by the Zen of Python `import this`
View GitHub Profile
@KeyboardInterrupt
KeyboardInterrupt / clone_all_project_in_gitlab_group.sh
Last active May 15, 2023 09:17
Clone all Git Projects in a Gitlab Group, including Subgroups, by ID
#!/usr/bin/env bash
if [ -z ${GITLAB_BASE_PATH+x} ]; then
read -p "GITLAB_BASE_PATH: " -r GITLAB_BASE_PATH
fi
if [ -z ${GITLAB_READONLY_PRIVATE_TOKEN+x} ]; then
read -p "GITLAB_READONLY_PRIVATE_TOKEN: " -r GITLAB_READONLY_PRIVATE_TOKEN
fi
if [ -z ${GROUP_ID+x} ]; then
read -p "GROUP_ID: " -r GROUP_ID
@KeyboardInterrupt
KeyboardInterrupt / github_mirror.py
Created April 28, 2021 06:29 — forked from mgedmin/github_mirror.py
Mirror all my github repositories and gists
#!/usr/bin/env python3
# See http://stackoverflow.com/questions/3581031/backup-mirror-github-repositories/13917251#13917251
# You can find the latest version of this script at
# https://gist.github.com/4319265
import os
import sys
import json
import urllib.request
import subprocess

Hardware specs

Chinese Brand "ITworks" , Model TW891, distributed in France and Belgium by Darty

  • CPU: Intel(R) Atom(TM) CPU Z3735F @ 1.33GHz
  • Video: Intel® HD Graphics for Intel Atom® Processor Z3700 Series
  • Screen: 1280x800
  • WiFi + BT: Realtek RTL8723BS_BT
  • Disks: mmcblk1: mmc1:0001 DF4032 29.1 GiB
  • RAM: 2GB DDR3 @ 1333 MHz
@KeyboardInterrupt
KeyboardInterrupt / docker-ssh-forward.bash
Created May 23, 2022 07:43 — forked from d11wtq/docker-ssh-forward.bash
How to SSH agent forward into a docker container
docker run --rm -t -i -v $(dirname $SSH_AUTH_SOCK) -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK ubuntu /bin/bash
@KeyboardInterrupt
KeyboardInterrupt / memdump.py
Last active May 31, 2022 10:35 — forked from Dbof/memdump.py
Dump process memory in Linux. See this blog post for more: https://davidebove.com/blog/?p=1620
#! /usr/bin/env python3
import sys
import re
if __name__ == "__main__":
if len(sys.argv) != 2:
print('Usage:', sys.argv[0], '<process PID>', file=sys.stderr)
exit(1)