Skip to content

Instantly share code, notes, and snippets.

View oliver-ni's full-sized avatar
👋

Oliver Ni oliver-ni

👋
View GitHub Profile
@oliver-ni
oliver-ni / README.md
Created August 7, 2023 01:07
Typst function for drawing trees

Make trees in Typst

image image

@oliver-ni
oliver-ni / scheme-fmt.py
Last active April 13, 2023 02:34
Formats Scheme source code
import argparse
import sys
from dataclasses import dataclass
from typing import Callable, List, TypeVar, Union
T = TypeVar("T")
class SExpr(List[T]):
BEGIN = "("

Keybase proof

I hereby claim:

  • I am oliver-ni on github.
  • I am oliverni (https://keybase.io/oliverni) on keybase.
  • I have a public key ASCJE9m0Lq22T098CDPLmc36NfVVmQM7hTM9cAy7ANHpHwo

To claim this, I am signing this object:

@oliver-ni
oliver-ni / test
Created September 10, 2021 03:35
test
test
@oliver-ni
oliver-ni / vtcsformatter.xml
Last active October 5, 2021 19:47 — forked from nmathira/vtcsformatter.xml
Code Formatter for WebCAT
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<profiles version="19">
<profile kind="CodeFormatterProfile" name="vt-cs-style" version="19">
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert" />
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment" value="common_lines" />
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_logical_operator" value="insert" />
@oliver-ni
oliver-ni / bad_words.txt
Created January 10, 2021 21:33
Bad words
anal
anus
arse
ass
b1tch
ballsack
bastard
bitch
biatch
blowjob
This file has been truncated, but you can view the full file.
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
(1/49) Installing ca-certificates (20171114-r0)
(2/49) Installing libssh2 (1.8.0-r2)
(3/49) Installing libcurl (7.61.0-r0)
(4/49) Installing curl (7.61.0-r0)
(5/49) Installing expat (2.2.5-r0)
(6/49) Installing pcre2 (10.30-r0)
(7/49) Installing git (2.15.2-r0)
(8/49) Installing libffi (3.2.1-r4)