Skip to content

Instantly share code, notes, and snippets.

View akalin's full-sized avatar
🖤
Holding my last breath / Safe inside myself / Are all my thoughts of you?

Fred Akalin akalin

🖤
Holding my last breath / Safe inside myself / Are all my thoughts of you?
View GitHub Profile
@akalin
akalin / main.go
Created June 2, 2019 05:22
Simple Tic-Tac-Toe console game
package main
import (
"bufio"
"fmt"
"os"
"strings"
)
type player int
@akalin
akalin / test-0.9.0-with-text.html
Last active March 21, 2018 07:02
line-breaking bug
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>0.9.0</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/contrib/auto-render.min.js"></script>
@akalin
akalin / auctex-customizations.el
Last active August 2, 2019 05:15
Making AUCTeX's abbreviations insert Unicode characters
;; The main thing to modify is LaTeX-set-unicode-p below, which
;; controls which abbreviations are converted to Unicode, and
;; LaTeX-math-list, to add additional symbols that can be turned
;; into Unicode.
;; LaTeX-math-list is a variable that you can set to add more
;; symbols to AUCTeX's abbreviations. The default list is at
;; LaTeX-math-default. If you add to this, you probably also
;; want to change LaTeX-set-unicode-p.
(custom-set-variables
@akalin
akalin / ReedSolomonTest.java
Created June 19, 2017 18:34
Test demonstrating singularity with 257 shards
/**
* Try encoding and decoding with too many shards.
*/
@Test
public void testTooManyEncodeDecode() {
final Random random = new Random(0);
final int dataCount = 240;
// Have just enough parity shards to go over the maximum of
// 256.
final int parityCount = 17;

Direct links to Lecture Notes in Mathematics (Part 4)

The Kazhdan-Lusztig Cells in Certain Affine Weyl Groups - Jian-Yi Shi (1986) ([1], [2], [3], [4], [5], [6],

Direct links to Lecture Notes in Mathematics (Part 3)

Padé Approximation and its Applications Amsterdam 1980 - M. G. de Bruin, H. van Rossum (1981) ([1], [2], [3], [4], [5], [6],

Direct links to Lecture Notes in Mathematics (Part 2)

Functional Analysis and Related Topics, 1991 - Hikosaburo Komatsu (1993) ([1], [2], [3], [4], [5], [6],

@akalin
akalin / springer-lnm-1.md
Last active October 19, 2020 05:15
Direct links to Lecture Notes in Mathematics full books

Direct links to Lecture Notes in Mathematics (Part 1)

*-Autonomous Categories - Michael Barr (1979) ([1], [2], [3], [4], [5], [6])

1-Dimensional Cohen-Macaulay Rings - Eben Matlis (1973) ([1], [2

@akalin
akalin / keybase.md
Created August 31, 2014 08:52
keybase.md

Keybase proof

I hereby claim:

  • I am akalin on github.
  • I am akalin (https://keybase.io/akalin) on keybase.
  • I have a public key whose fingerprint is 07BF 173C 4AA2 064B 8882 8A64 BF80 5B60 5165 5371

To claim this, I am signing this object: