Skip to content

Instantly share code, notes, and snippets.

View epsxy's full-sized avatar
dealing with it

camille epsxy

dealing with it
View GitHub Profile
@epsxy
epsxy / DiscordDMCleaner.ahk
Created October 4, 2020 16:17 — forked from Weilbyte/DiscordDMCleaner.ahk
AHK script to delete Discord DMs. Ctrl+D to start deleting, ESC to kill script.
Escape::
ExitApp
Return
^d::
Loop, 100000
{
send, {Up}
send, ^a
send, {BS}
@epsxy
epsxy / gist:2ae98cbc5e936f22883760ae06eab64e
Created February 6, 2020 15:43 — forked from solenoid/gist:1372386
javascript ObjectId generator
var mongoObjectId = function () {
var timestamp = (new Date().getTime() / 1000 | 0).toString(16);
return timestamp + 'xxxxxxxxxxxxxxxx'.replace(/[x]/g, function() {
return (Math.random() * 16 | 0).toString(16);
}).toLowerCase();
};
@epsxy
epsxy / playbook_centos_install_docker.yaml
Created October 16, 2019 19:43 — forked from yonglai/playbook_centos_install_docker.yaml
An Ansible playbook to install docker-ce on Centos
---
- name: Install docker
gather_facts: No
hosts: default
tasks:
- name: Install yum utils
yum:
name: yum-utils
state: latest
@epsxy
epsxy / docker-registry.sh
Created July 15, 2019 08:51 — forked from itatabitovski/docker-registry.sh
List and delete tags and repositories from v2 docker registry
#!/bin/bash
set -euo pipefail
CMD=$0
function usage {
cat <<EOU
Usage: