Skip to content

Instantly share code, notes, and snippets.

All glory to God

Honey Wild honeywild

All glory to God
  • Albert's E=mc^2
  • Moscow
View GitHub Profile
honeywild / exercise-slices.go
Created Feb 28, 2022 — forked from bilsalak/exercise-slices.go
A Tour of Go - Exercise: Slices
View exercise-slices.go
// Implement Pic. It should return a slice of length dy, each element of which is
// a slice of dx 8-bit unsigned integers. When you run the program, it will display your picture,
// interpreting the integers as grayscale (well, bluescale) values.
// The choice of image is up to you. Interesting functions include (x+y)/2, x*y, and x^y.
// (You need to use a loop to allocate each []uint8 inside the [][]uint8.)
// (Use uint8(intValue) to convert between types.)
package main
honeywild /
Created Nov 24, 2021 — forked from kuanghan/
Setting up docker to run in a PRIVILEGED LXC container

Setting up docker to run in a PRIVILEGED LXC container

Set up a privileged container

Create container

Let's call the container docker_test1.

$ sudo lxc-create -t download -n docker_test1
Follow the prompts on the screen to set up the new container.
honeywild / zathu
Created Oct 20, 2018 — forked from michaelmrose/zathu
zathura config
View zathu
# Zathura configuration file
# See man `man zathurarc'
# Open document in fit-width mode by default
set adjust-open "best-fit"
# One page per row by default
set pages-per-row 1
#stop at page boundries