Skip to content

Instantly share code, notes, and snippets.

@nmaupu
nmaupu / create-debian-usb-key.sh
Last active February 11, 2024 14:34
Create Debian USB key automatic installation (preseed)
#!/usr/bin/env bash
set -e -x -o pipefail
DIRNAME="$(dirname $0)"
DISK="$1"
: "${DEBIAN_RELEASE:=stretch}"
: "${DEBIAN_VERSION:=9.2.1}"
: "${DEBIAN_MIRROR:=http://ftp.debian.org}"
@pad92
pad92 / iitc-plugin-hawk_eyes.user.js
Last active March 28, 2020 00:32
IITC plugin: Hawk Eyes
// ==UserScript==
// @id iitc-plugin-Mir
// @name IITC plugin: Hawk Eyes
// @category Misc
// @version 1.0.20150105.03
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL https://git.depad.fr/ingress-res/iitc-plugins/raw/master/pad-plugin-hawk_eyes.user.js
// @downloadURL https://git.depad.fr/ingress-res/iitc-plugins/raw/master/pad-plugin-hawk_eyes.user.js
// @description See all portals, neutrals included, regardless of the zoom used.
// @include https://www.ingress.com/intel*
@pad92
pad92 / iitc-plugin-ingressKML-exporter.user.js
Last active July 19, 2020 21:59
IITC plugin: Ingress KML Exporter
// ==UserScript==
// @id iitc-plugin-CSV@pad
// @name IITC plugin: Ingress KML Exporter
// @category Keys
// @version 1.0.20150105.03
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL https://git.depad.fr/ingress-res/iitc-plugins/raw/master/pad-plugin-ingressKML-exporter.user.js
// @downloadURL https://git.depad.fr/ingress-res/iitc-plugins/raw/master/pad-plugin-ingressKML-exporter.user.js
// @description Exports portals currently in view for use with Google Map ( KML Format ).
// @include https://www.ingress.com/intel*
@akisvolanis
akisvolanis / defaults.yml
Last active October 15, 2020 18:12
Upload ssh key to gitlab for deploy user with ansible
deploy_user_name: 'deployer'
# More info about password: http://docs.ansible.com/faq.html#how-do-i-generate-crypted-passwords-for-the-user-module
# password created with: python -c "from passlib.hash import sha512_crypt; print sha512_crypt.encrypt('example_password')"
deploy_user_password: <encrypted_password>
user_shell: "/bin/bash"
deploy_user_home: "/home/{{ deploy_user_name }}"
repo_api_token: <your_api_token>
repo_project_id: <your_project_id>