Make sure Docker is installed!
Get your Minio endpoint url, accesskey, and secretkey ready!
docker plugin install rexray/s3fs \
#!/bin/sh | |
# replace the docker image, if you want | |
PHPCS_IMAGE=khoanguyent/codesniff | |
if [ -f "phpcs.xml" ]; then | |
echo "Running PHPCS in Docker\n" | |
docker run --rm -v $PWD:/data/src \ | |
${PHPCS_IMAGE} \ |
#include <ESP8266WiFi.h> | |
#include <ESP8266HTTPClient.h> | |
// on board small LED | |
// #define BOARD_LED 6 | |
// death counter | |
int ded = 0; | |
// green led on gpio 14 |
Given a needed.txt
file with required dependencies, search thorough these given directories for them:
Following this stackoverflow post:
network.scgi.open_local = /var/run/user/.rtorrent.sock | |
schedule2 = chmod_scgi_socket, 0, 0, "execute2=chmod,\"g+w,o=\",/var/run/user/.rtorrent.sock" |
rtake () { | |
dirname=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
dirname="$(date +%Y-%m-%d)_$1_$dirname" | |
fulldir="$HOME/junk/$dirname" | |
echo $fulldir | |
mkdir -p "$fulldir" | |
cd "$fulldir" | |
} |
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
func main() { | |
const ( | |
input = "November 2019" |
.cache/ | |
dist/ | |
node_modules/ |
// ==UserScript== | |
// @name humble export downloads as a text file | |
// @version 1 | |
// @match https://www.humblebundle.com/downloads* | |
// @grant none | |
// @require https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/2.0.0/FileSaver.min.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; |