Skip to content

Instantly share code, notes, and snippets.

🦆
working on EntE

Simon Knott Skn0tt

🦆
working on EntE
Block or report user

Report or block Skn0tt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Skn0tt
Skn0tt / docker-compose.yml
Last active Oct 10, 2019
Green Nextcloud Docker-Compose
View docker-compose.yml
version: "3.7"
services:
nextcloud:
restart: unless-stopped
image: nextcloud
depends_on:
- minio
- postgres
@Skn0tt
Skn0tt / get-latest-github-release.js
Created Jul 22, 2018
Get the latest GitHub Release of a Project
View get-latest-github-release.js
const https = require('https');
const getContent = function(host, path) {
return new Promise((resolve, reject) => {
const request = https.get({
headers: {
"User-Agent": "Node"
},
host,
path
@Skn0tt
Skn0tt / anonymise.sh
Last active Aug 22, 2019
Anonymise a folder
View anonymise.sh
#!/bin/bash
echo "Are you sure you want to anonymise this directory?"
select yn in "Yes" "No"; do
case $yn in
Yes )
shopt -s dotglob
for f in * **/* ; do
sudo chown nobody "$f"
sudo touch -t 200001011200 "$f"
You can’t perform that action at this time.