Skip to content

Instantly share code, notes, and snippets.

@dopey
dopey / README-Template.md
Created August 6, 2018 18:34 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

#!/bin/bash
animtoconvert=$1
# Split in frames
convert $animtoconvert -coalesce +adjoin temp_%04d.gif
# remove frames
rm temp_0000.gif # etc.
# Create the new animation & clean up everything
@dopey
dopey / cliplist.py
Last active February 18, 2019 23:18
from pynput import keyboard
import pyperclip
kb = keyboard.Controller()
cliplist = [
"list",
"of",
"strings",
"successively",
package main
import (
"crypto/tls"
"crypto/x509"
"io/ioutil"
"log"
"net/http"
)
package main
import (
"bytes"
"encoding/binary"
"fmt"
"os"
"github.com/dgraph-io/badger/v2"
"github.com/dgraph-io/badger/v2/options"
## Golden config for golangci-lint v1.47.3
#
# This is the best config for golangci-lint based on my experience and opinion.
# It is very strict, but not extremely strict.
# Feel free to adopt and change it for your needs.
run:
# Timeout for analysis, e.g. 30s, 5m.
# Default: 1m
timeout: 3m