Skip to content

Instantly share code, notes, and snippets.

Time flies like an arrow; fruit flies like a 🍌

@printminion printminion

Time flies like an arrow; fruit flies like a 🍌
View GitHub Profile
printminion / bunkUpdate.shapeways.js
Last active Sep 13, 2020
Bulk price update in
View bunkUpdate.shapeways.js
* - goto your product edit page
* - goto pricing table
* - select all materials with checkbox in header
* - price input must appear in table header
* - open developer conosle of your browser F11 in Chrome
* - paste thhis code into console - press enter - values should update itself
* - voila
* - buy me a coffee ,
printminion / hidrive_openapi_v2.1-unofficial.yaml
Created Nov 11, 2019
View hidrive_openapi_v2.1-unofficial.yaml
openapi: 3.0.1
title: hidrive API
description: API description in Markdown.
version: 2.1.0
url: ""
View gist:fdaa21c1e4aae42438a4c88e9be281dc
Copyright 2011 Martin Hawksey
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
printminion /
Created Jun 14, 2018 — forked from kordless/
VPN Server for Google Cloud
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 4 | head -n 1)
gcloud compute instances create $SERVER_NAME \
--machine-type "n1-standard-1" \
--image-family ubuntu-1604-lts \
--image-project "ubuntu-os-cloud" \
--boot-disk-size "20" \
--boot-disk-type "pd-ssd" \
--boot-disk-device-name "$NEW_UUID" \
printminion /
Created Feb 23, 2018 — forked from martijnvermaat/
SimpleHTTPServer with history API fallback
#!/usr/bin/env python
Modification of `python -m SimpleHTTPServer` with a fallback to /index.html
on requests for non-existing files.
This is useful when serving a static single page application using the HTML5
history API.
#set hot corners
gsettings set enable-hot-corners true
#show week number
gsettings set org.gnome.desktop.calendar show-weekdate true
#show date

Bitcoin Kubernetes Configs

The following guide will walk you through creating a bitcoin full node within GKE (Google Container Engine).

By default Bitcoin btc1 (SegWit 2X) is used, however this can be swapped for any other node quite easily.

If you wish to run another version of bitcoind, just change the image reference in bitcoin-deployment.yml. There are tons of images available on the Docker Hub. Better yet, build your own. =)

The source for the included image is available at:

printminion / CheckSiteForText.js
Created Oct 14, 2017
Apps Script for testing site content and sending email
View CheckSiteForText.js
/** Apps Script for testing site content and sending email **/
function isSiteContainsString()
// Get the URL of the Website to monitor
var url = SpreadsheetApp.getActiveSheet().getRange("E2").getValue();
var stringToSearch = SpreadsheetApp.getActiveSheet().getRange("F2").getValue();
// HTTP Response Code of the last server request
printminion / LICENSE
Created Oct 13, 2017 — forked from kjlubick/LICENSE
Exports a THREE.js scene mesh to STL, making it suitable for 3d printing
The MIT License
Copyright © 2010-2016 three.js authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
git fetch upstream
git checkout master
git pull
git merge upstream/master
git push
You can’t perform that action at this time.