Skip to content

Instantly share code, notes, and snippets.

@FranklinYu
FranklinYu / README.markdown
Last active May 20, 2024 14:28
links for old versions of Docker for Mac (inspired by docker/for-mac#1120)

links for old versions of Docker for Mac

Deprecated

Docker provides download links in release note. They promised that

(we) will also include download links in release notes for future releases.

Note:

@denji
denji / http-benchmark.md
Last active May 20, 2024 14:27
HTTP(S) Benchmark Tools / Toolkit for testing/debugging HTTP(S) and restAPI (RESTful)
@traek
traek / syncfiles.sh
Last active May 20, 2024 14:26
Simple script to download files from single web page
#!/usr/bin/env bash
if (( $# > 0 )); then destination=$1; else destination="."; fi
# Check for required commands
required=(awk grep lynx wget); missing=()
for command in ${required[@]}; do
hash $command 2>/dev/null || missing+=($command)
done
if (( ${#missing[@]} > 0 )); then
echo "[FATAL] could not find command(s): ${missing[@]}. Exiting!"
exit 1
@jinjier
jinjier / 250.csv
Last active May 20, 2024 14:24
JavDB Top 250 movies code list. [Updated at 2024/02]
1 LAFBD-41
2 SSNI-497
3 ABP-984
4 IPX-580
5 IPX-811
6 IPX-177
7 STARS-804
8 SMBD-115
9 ABP-968
10 ABF-017
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 20, 2024 14:23
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
{
"background" : "#1d2021",
"black" : "#665C54",
"blue" : "#7DAEA3",
"brightBlack" : "#928374",
"brightBlue" : "#7DAEA3",
"brightCyan" : "#89B482",
"brightGreen" : "#A9B665",
"brightPurple" : "#D3869B",
"brightRed" : "#EA6962",
@styblope
styblope / docker-api-port.md
Last active May 20, 2024 14:20
Enable TCP port 2375 for external connection to Docker

Enable TCP port 2375 for external connection to Docker

See this issue.
Docker best practise to Control and configure Docker with systemd.

  1. Create daemon.json file in /etc/docker:

     {"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
    
@NickMcSweeney
NickMcSweeney / postgresql_plus_arch-linux.md
Last active May 20, 2024 14:19
Getting postgresql running on Arch Linux

Setup Postgresql

run postgresql with systemctl

Install postgres

latest

sudo pacman -S postgresql

specific version

find version & build from source

@colm-mchugh
colm-mchugh / pool_demo.go
Last active May 20, 2024 14:18
Using channel and sync.Pool to maintain a pool of bytes.Buffer
package main
import (
"bytes"
"encoding/json"
"flag"
"io"
"log"
"net/http"
@mystikraz
mystikraz / visualstudio2019Key.txt
Created May 11, 2020 11:41
Visual Studio 2019 Product Key
Visual Studio 2019 Product Key
Visual Studio 2019 Enterprise
BF8Y8-GN2QH-T84XB-QVY3B-RC4DF
Visual Studio 2019 Professional
NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y