Skip to content

Instantly share code, notes, and snippets.

View xmonader's full-sized avatar
🏠
Working from home

xmonader xmonader

🏠
Working from home
View GitHub Profile
@xmonader
xmonader / table.sh
Created December 22, 2021 18:21 — forked from m-motawea/table.sh
make table in bash
#!/bin/bash
# the script to make tables like this
# +----------+--------+--------------------+
# |col1 |col2 |col3 |
# +----------+--------+--------------------+
# |val1 |val3 |val4 |
# +----------+--------+--------------------+
# |valqeefnkl|val3wekj|val4 |
# |1 |bkjwvsaj| |
@xmonader
xmonader / type-systems.txt
Created November 22, 2021 23:08 — forked from dicej/type-systems.txt
Type system learning notes
Classes
* Keith Devlin - Introduction to Mathematical Thinking - https://www.coursera.org/learn/mathematical-thinking
* Michael Genesereth - Introduction to Logic - https://www.coursera.org/learn/logic-introduction
* Robert Harper - Homotopy Type Theory - http://www.cs.cmu.edu/~rwh/courses/hott/
Books and Articles
* Benjamin C. Pierce - Types and Programming Languages - https://www.cis.upenn.edu/~bcpierce/tapl/
* x775 - Introduction to Datalog - https://x775.net/2019/03/18/Introduction-to-Datalog.html
* Bartosz Milewski - Category Theory For Programmers - https://bartoszmilewski.com/2014/10/28/category-theory-for-programmers-the-preface/
* Benjamin C. Pierce et al. - Software Foundations - https://softwarefoundations.cis.upenn.edu/
import x.json2
struct First {
mut:
a int
}
struct Second {
mut:
ok bool
@xmonader
xmonader / README.md
Created April 18, 2020 21:15 — forked from cellularmitosis/README.md
Tech Links
@xmonader
xmonader / copy-chroot.sh
Created August 6, 2018 06:57 — forked from muhamadazmy/copy-chroot.sh
Copy binaries to a chroot
#!/bin/bash
if [ $# != 2 ] ; then
echo "usage $0 PATH_TO_BINARY TARGET_FOLDER"
exit 1
fi
PATH_TO_BINARY="$1"
TARGET_FOLDER="$2"