This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$pdf_mode = 4; | |
set_tex_cmds('%O --shell-escape %S'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
name="$1" | |
if [ -z "$name" ]; then | |
echo "Usage: $0 <name>" | |
exit 1 | |
fi | |
mkdir "$name" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check if qpdf is installed | |
if ! command -v qpdf >/dev/null; then | |
echo "qpdf not found. Please install qpdf and try again." | |
exit 1 | |
fi | |
# Check if enough arguments are supplied | |
if [ "$#" -lt 3 ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check if qpdf is installed | |
if ! command -v qpdf >/dev/null; then | |
echo "qpdf not found. Please install qpdf and try again." | |
exit 1 | |
fi | |
# Check if enough arguments are supplied | |
if [ "$#" -lt 3 ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bs4 import BeautifulSoup | |
import re | |
import requests | |
import webbrowser | |
registrationNumbers = [ | |
"HHA000010715", | |
"HHA000010711", | |
"HHA000001827", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Fix<T> { | |
let x: (Fix<T>) -> T | |
} | |
func fix<T, U>(f: @escaping (@escaping (T) -> U) -> ((T) -> U)) -> (T) -> U { | |
{ _fix in | |
f { (_fix.x(_fix))($0) } | |
}( | |
Fix { _fix in | |
f { (_fix.x(_fix))($0) } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type 'a fix = Fix of ('a fix -> 'a) | |
let fix f = | |
(fun (Fix x as fix) -> f (fun z -> x fix z)) | |
(Fix (fun (Fix x as fix) -> f (fun z -> x fix z))) | |
let factorial = fix @@ fun f n -> if n <= 0 then 1 else n * f (n - 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
precedencegroup ListOperationPrecedence { | |
associativity: right | |
higherThan: MultiplicationPrecedence | |
} | |
infix operator ++: ListOperationPrecedence | |
infix operator |*: ListOperationPrecedence | |
indirect enum List<T> { | |
case `nil` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// String+disjointedHangul.swift | |
// | |
// Created by Jay Lee on 08/03/2019. | |
// Copyright © 2019 Jay Lee <jaeho.lee@snu.ac.kr> | |
// This work is free. You can redistribute it and/or modify it under the | |
// terms of the Do What The Fuck You Want To Public License, Version 2, | |
// as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ViewController.swift | |
// | |
// Created by Jay Lee on 08/23/2019. | |
// Copyright © 2019 Jay Lee <jaeho.lee@snu.ac.kr> | |
// This work is free. You can redistribute it and/or modify it under the | |
// terms of the Do What The Fuck You Want To Public License, Version 2, | |
// as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. | |
// |
NewerOlder