Skip to content

Instantly share code, notes, and snippets.

View nilsmartel's full-sized avatar
🦖

Nils Martel nilsmartel

🦖
View GitHub Profile
@justanotherdot
justanotherdot / box.txt
Last active March 28, 2022 11:41
Box unicode characters for diagrams in documentation, terminals, etc.
─ ━ │ ┃ ┄ ┅ ┆ ┇ ┈ ┉ ┊ ┋ ╌ ╍ ╎ ╏
┌ ┍ ┎ ┏ ┐ ┑ ┒ ┓
└ ┕ ┖ ┗ ┘ ┙ ┚ ┛
├ ┝ ┞ ┟ ┠ ┡ ┢ ┣ ┤ ┥ ┦ ┧ ┨ ┩ ┪ ┫
┬ ┭ ┮ ┯ ┰ ┱ ┲ ┳
import * as pulumi from "@pulumi/pulumi";
import * as random from "@pulumi/random";
const username = new random.RandomString("my-string", {
length: 16,
special: true,
}, {
// RandomString has an output of 'result' where the string actually is stored
additionalSecretOutputs: ["result"]
});
@bert
bert / Makefile
Last active February 10, 2019 04:27 — forked from nolim1t/socket.c
HTTP Request in C using low level write to socket functionality
all: socket.c
gcc socket.c -o soc
clean:
rm -f *~
rm -f *.o
rm -f soc
@bert
bert / README
Created May 22, 2011 21:20
Draw in a GdkPixbuf with Cairo
A relatively simple application that demonstrates some advanced usage of GdkPixbuf and cairo.
Two most interesting functions are documented inside sources.