Skip to content

Instantly share code, notes, and snippets.

View asukakenji's full-sized avatar

Siu Ching Pong -Asuka Kenji- asukakenji

View GitHub Profile
@asukakenji
asukakenji / Data Structures & Algorithm Analysis in Java (1st Edition).md
Created September 13, 2020 08:27
Data Structures & Algorithm Analysis in Java

Data Structures & Algorithm Analysis in Java (1st Edition)

Information

  • Author: Mark Allen Weiss
  • Publisher: Addison-Wesley, 1999
  • ISBN-10: 0-201-35754-2 (0201357542)
  • ISBN-13: 978-0-201-35754-7 (9780201357547)

Links

@asukakenji
asukakenji / Handbook of Data Structures and Applications (1st Edition).md
Created September 13, 2020 08:24
Handbook of Data Structures and Applications

Handbook of Data Structures and Applications (1st Edition)

Information

  • Editors: Dinesh P. Mehta, Sartaj Sahni
  • Publisher: Chapman and Hall/CRC, Taylor & Francis, 2004
  • ISBN-10: 1-58488-435-5 (1584884355)
  • ISBN-13: 978-1-58488-435-4 (9781584884354)

Links

@asukakenji
asukakenji / Data Structures and Algorithms Reading List.md
Created September 13, 2020 07:44
Data Structures and Algorithms Reading List
@asukakenji
asukakenji / deriving_trigonometry_formulae.ipynb
Last active October 1, 2019 16:36
Deriving Trigonometry Formulae
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@asukakenji
asukakenji / solving_sin_z_equals_2.ipynb
Last active September 29, 2019 03:01
Solving sin(𝑧)=2 (Trigonometric Equations with Complex Numbers)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@asukakenji
asukakenji / main.swift
Created November 29, 2018 11:31
Minimal Swift 4.2 GUI Application without Xcode
import AppKit
let app = NSApplication.shared
app.setActivationPolicy(.regular)
let window = NSWindow(
contentRect: NSMakeRect(0, 0, 640, 480),
styleMask: [.titled, .closable],
backing: .buffered,
defer: true
@asukakenji
asukakenji / docker-pull-golang.sh
Last active November 23, 2018 08:27
Pulling (downloading) all official releases (versions) of Go (Golang) images from Docker Hub
#!/bin/bash
# The first release available is golang:1.2.0
major=1
minor=2
patch=0
while true
do
while true
@asukakenji
asukakenji / go-stdlib-interface-selected.md
Last active November 6, 2024 20:00
Go (Golang) Standard Library Interfaces (Selected)

Go (Golang) Standard Library Interfaces (Selected)

This is not an exhaustive list of all interfaces in Go's standard library. I only list those I think are important. Interfaces defined in frequently used packages (like io, fmt) are included. Interfaces that have significant importance are also included.

All of the following information is based on go version go1.8.3 darwin/amd64.

@asukakenji
asukakenji / 0-go-os-arch.md
Last active November 6, 2024 03:19
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.17.1 darwin/amd64.

GOOS Values

GOOS Out of the Box
aix
android
@asukakenji
asukakenji / try_shiny_2.go
Last active February 17, 2020 01:19
Shortest GUI program written in Golang. It displays a window and exits when the "close" button of the window is clicked.
// Shortest GUI program written in Golang.
// It displays a window and exits when the "close" button of the window is clicked.
package main
import (
"golang.org/x/exp/shiny/driver"
"golang.org/x/exp/shiny/screen"
// Despite that the package names have a "mobile" prefix,
// these packages works on desktop.