Skip to content

Instantly share code, notes, and snippets.

View cyang-el's full-sized avatar
💭
I may be slow to respond.

C.H. Yang cyang-el

💭
I may be slow to respond.
  • Berlin
View GitHub Profile
@cyang-el
cyang-el / web-servers.md
Created November 16, 2020 16:14 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@cyang-el
cyang-el / LearnGoIn5mins.md
Created January 5, 2021 20:33 — forked from prologic/LearnGoIn5mins.md
Learn Go in ~5mins
# my poetry #serial_number_is_a_concept_irreleant_to_me_atm
#
# 01:02 am Sep 25th 2021
# he/him
# Person from Taipei, Taiwan @Berlin, Germany
#
# This is poetry, not prod code.
# BACK OFF!!! coding cops
#
# This whole thing can be beta-or-alpha reduced (or whatever it's called)
@cyang-el
cyang-el / cpp-dev-env-flake.nix
Created February 18, 2024 23:05 — forked from fufexan/cpp-dev-env-flake.nix
C/C++ dev environment in Nix, using Clang
{
description = "C/C++ environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils, ... }@inputs:
utils.lib.eachDefaultSystem (