├── .gitignore ├── COPYRIGHT ├── ECMAScript6 ├── .babelrc └── import.js ├── LICENSE-APACHE ├── LICENSE-MIT ├── R └── hello.r ├── README.md ├── bat └── serve-directory.bat ├── bower ├── .bowerrc ├── .gitignore └── bower.json ├── c ├── 1b.c ├── 24bit-color.c ├── Makefile ├── anonymous-union.c ├── array.c ├── coins.c ├── comment.c ├── digraph.c ├── dup2.c ├── fork.c ├── fun_140001000.c ├── function.c ├── hello.c ├── ieee754-from-hex.c ├── ieee754-to-hex.c ├── infinite-2.c ├── infinite.c ├── logic.c ├── long-double.c ├── loop-optimization.c ├── macro.c ├── main.c ├── moduler.c ├── msign.c ├── nonblock-io.c ├── pisano-calculator.c ├── pointer.c ├── pointer2.c ├── popcnt.c ├── postfix.c ├── pp-assignment.c ├── preprocessor.c ├── pretty-pair.c ├── relocation │ ├── .gitignore │ ├── Makefile │ └── main.c ├── scanf-error-handling.c ├── scanf.c ├── shared-file.c ├── signal.c ├── skip-libc-init.c ├── sort.c ├── strlen.c ├── strtok_r.c ├── struct.c ├── tcp-client.c ├── threads.c ├── time-complexity.c ├── utime.c ├── variable.c ├── what-was-this.c ├── win32.c ├── xz-decode.c ├── xz-encode.c └── xz.c ├── cpp ├── .ycm_extra_conf.py ├── anonymous-namespace.cpp ├── array-template.cpp ├── array.cpp ├── array2.cpp ├── auto.cpp ├── calc.cpp ├── cin.cpp ├── cin2.cpp ├── const-method.cpp ├── constexpr.cpp ├── cout.cpp ├── default-arguments.cpp ├── do-nothing.cpp ├── enum-class.cpp ├── env.cpp ├── epoch.cpp ├── exception-with-stacktrace.cpp ├── exception.cpp ├── factorial.cpp ├── field.cpp ├── finally.cpp ├── for.cpp ├── function-pointer.cpp ├── gc.cpp ├── infinite.cpp ├── io.cpp ├── is-power-of-2.cpp ├── ldouble.cpp ├── link.cpp ├── list-initialization.cpp ├── log2.cpp ├── main.cpp ├── make-array.cpp ├── morse.cpp ├── no-libc.cpp ├── operator.cpp ├── or.cpp ├── overloading.cpp ├── percentage-rounds.cpp ├── polymorphic.cpp ├── raii.cpp ├── random.cpp ├── random_codes.cpp ├── random_hex.cpp ├── range.cpp ├── reference.cpp ├── remove.cpp ├── rtti.cpp ├── string.cpp ├── stringstream.cpp ├── switch.cpp ├── system.cpp ├── ternary.cpp ├── thread.cpp ├── tuple.cpp ├── tweet-1836043544966173183.cpp ├── u128.cpp ├── unused.cpp ├── utf-8.cpp ├── variadic-lambda.cpp ├── vendor │ ├── cx_md5.h │ └── cx_utils.h ├── wstream.cpp └── y-combinator.cpp ├── crystal ├── hello.cr └── http.cr ├── elixir ├── .gitignore ├── README.md ├── hello.exs └── hello_module.ex ├── erlang ├── .gitignore ├── README.md └── hello.erl ├── flow ├── .flowconfig └── unsound.js ├── gleam ├── .github │ └── workflows │ │ └── test.yml ├── .gitignore ├── README.md ├── gleam.toml ├── rebar.config ├── rebar.lock ├── src │ ├── snippets.app.src │ └── snippets.gleam └── test │ └── snippets_test.gleam ├── go ├── dynamic.go ├── enum │ ├── README.md │ ├── go.mod │ ├── go.work │ ├── lib │ │ ├── go.mod │ │ └── lib.go │ └── main.go ├── gugu.go ├── hello.go ├── json-any.go ├── json.go ├── loop.go ├── nested.go ├── receiver.go ├── rvo.go ├── sizeof.go ├── switch.go └── timer.go ├── gradle ├── .gitignore └── build.gradle ├── haskell ├── fibo.hs ├── fibo2.hs ├── fmap.hs ├── hello.hs ├── if.hs ├── input ├── io.hs ├── io2.hs ├── io3.hs ├── io4.hs ├── monoid.hs ├── pattern.hs └── sigma.hs ├── html ├── copy-huge-string.html.xz ├── htm-without-es6.html ├── is-dark-mode.html └── macos-dark-mode-bug.html ├── idris └── hello.idr ├── java ├── Finally.java └── Hello.java ├── js ├── async-iterator-from-events.js ├── chunk.js ├── class.js ├── ctrlc.js ├── fibo.js ├── finally.js ├── find-repository-with-legacy-github-services.js ├── fun_140001000.js ├── generator.js ├── github.js ├── hoisting.js ├── ipsc2015m.js ├── ipsc2015m_solution ├── micro-optimization.js ├── offset-of-timezone.js ├── property.js ├── regex.js ├── scope.js ├── stacktrace.js ├── static-member.js ├── subset.js ├── to-camel-case.js ├── todoist-to-mstodo.js ├── unescape.js └── yoon.mjs ├── julia └── hello.jl ├── kubernetes ├── debug-pod.yml ├── test-cert.yml ├── test-ecr.yml ├── test-ingress.yml ├── test-lb.yml ├── test-priv.yml └── test-pvc.yml ├── ls ├── Makefile ├── hello.ls ├── match.ls ├── postfix-if.ls └── switch.ls ├── lua ├── fibo.lua └── hello.lua ├── markdown ├── conditional-operator.md ├── floor.md └── logic.md ├── mruby ├── Makefile └── main.c ├── nim ├── array.nim └── hello.nim ├── objc ├── dict.m ├── hello.m ├── sieve.m └── url.m ├── ocaml ├── dedup.ml ├── gugu.ml ├── hello.ml ├── iife.ml ├── let-concretize.ml ├── let-polymorphism.ml ├── match-guard.ml ├── reference.ml └── tail.ml ├── pascal └── internal-compiler-error.pas ├── perl └── hello.pl ├── php ├── array.php ├── class.php ├── extract.php ├── hello0.php ├── hello1.php ├── hello2.php ├── isset.php ├── parse_str.php ├── require_once.php ├── trim.php ├── urldecode.php ├── var_dump.php ├── variable-variable.php └── zero-to-bool.php ├── python ├── 24bit-color.py ├── anti-dilution-provision.py ├── apng-to-various-formats.py ├── binary-search-tree.py ├── bisect-list.py ├── callstack.py ├── check-eof-lf.py ├── combinations.py ├── count-underlings.py ├── counting-sort.py ├── decorator.py ├── exception.py ├── finally.py ├── flatmap.py ├── fpe.py ├── gamess-input-gen.py ├── gauss-quadrature.py ├── gauss-seidel.py ├── generator.py ├── hanoi-show-callstack.py ├── hanoi-stack.py ├── hanoi.py ├── infinite-outputs.py ├── jacobi-2.py ├── jacobi.py ├── kmp.py ├── long-string.py ├── matmul-numpy.py ├── matmul.py ├── newton-method.py ├── nth-prime.py ├── ordinal.py ├── pip-4453.py ├── pretty-pair.py ├── quantization.py ├── ref.py ├── rkf.py ├── s-expr.py ├── s3-all-keys-by-size.py ├── s3-all-keys.py ├── s3-download-file.py ├── scope.py ├── stack.py ├── tcp.py ├── uniformness-of-random │ ├── .gitignore │ ├── .python-version │ ├── README.md │ ├── main.ipynb │ ├── pyproject.toml │ └── uv.lock ├── weechat-reorder.py └── wikiteam-dump-to-files.py ├── ruby ├── adt-moment.rb ├── aes-decrypt.rb ├── all-crontab.rb ├── argv-env.rb ├── block.rb ├── case.rb ├── check-ssh-log.rb ├── class.rb ├── clean-repo.rb ├── color.rb ├── conditional.rb ├── curses.rb ├── death-stranding.rb ├── divide-range.rb ├── exit.rb ├── exitcode.rb ├── fibo.rb ├── finally.rb ├── garbage-collect.rb ├── generate-nfd-directories.rb ├── generate-nfd-files.rb ├── gets.rb ├── git-svn.rb ├── glob-json-then-concat.rb ├── gugu.rb ├── hello.rb ├── highlight-nfd.rb ├── lambda.rb ├── list-inactive-aws-access-keys.rb ├── lotto.rb ├── lotto2.rb ├── metro.rb ├── parameter.rb ├── pbcopy.rb ├── prime.rb ├── push.rb ├── random.rb ├── random2.rb ├── sinatra.rb ├── sqrt.rb ├── stats.rb ├── xnuk-reverse.rb ├── xnuk.rb ├── yaml.rb └── yoshi.rb ├── rust ├── 01.rs ├── 02.rs ├── 03.rs ├── 04.rs ├── 05.rs ├── 06.rs ├── 07.rs ├── 08.rs ├── 17170.rs ├── args.rs ├── array.rs ├── as_ref.rs ├── cast.rs ├── char-at-reverse.rs ├── classic-elb-access-log-to-json.rs ├── cow.rs ├── default-type.rs ├── diverge.rs ├── dots.rs ├── double-ended-iter.rs ├── drop.rs ├── fizzbuzz.rs ├── guess.rs ├── hashmap.rs ├── helloworld.rs ├── ieee754.rs ├── iice.rs ├── impl-trait.rs ├── infinite.rs ├── issue-113875.rs ├── issue-49298.rs ├── last-char.rs ├── let-polymorphism.rs ├── lines.rs ├── macro.rs ├── map.rs ├── match.rs ├── method-name.rs ├── nested-loop.rs ├── never-autoimpl-counterexample.rs ├── never.rs ├── no-libc.rs ├── organic-never-nightly.rs ├── organic-never.rs ├── path.rs ├── random.rs ├── reference.rs ├── rfc1945-namespace.rs ├── rfc1945.rs ├── simd-bug.rs ├── simd-size-align.rs ├── simd.rs ├── size-of.rs ├── sliding-puzzle.rs ├── split.rs ├── string.rs ├── tcpserver.rs ├── typename.rs ├── underscore.rs ├── utf8.rs ├── utime.rs └── xor-of-b3sum-of-lines.rs ├── scala ├── Factorial.scala ├── Hello.scala ├── Hello2.scala ├── Iter.scala └── NthPrime.scala ├── sh ├── aws-mfa ├── check-eof-newline ├── check-sni ├── check-whitespaces ├── enable-sudo-touch-id ├── extension-finder ├── find-occurrence ├── gamess-result-parse ├── is-reboot-required ├── ish.profile ├── list-ec2 ├── loop ├── lsppa ├── poor-html-to-webvtt ├── powerstat ├── profile ├── random-alphanumeric ├── slack-webhook ├── tar-with-progress ├── temp-gitconfig ├── update_badips └── yoon ├── slm ├── .gitignore ├── Gulpfile.js ├── package.json └── src │ └── main.slm ├── source-map ├── index.html ├── script.coffee ├── script.js └── script.js.map ├── sql └── check-charset-collation.sql ├── swift └── hello.swift ├── tex └── hello.tex ├── typescript ├── .gitignore ├── abc123.ts ├── ackermann.ts ├── arrow.ts ├── default-param.ts ├── export-hello.ts ├── import.ts └── tsconfig.json ├── typst ├── build └── yoneda-notation-chaos.typ ├── vbscript └── startvm.vbs └── zig ├── hello.zig └── win32.zig /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/.gitignore -------------------------------------------------------------------------------- /COPYRIGHT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/COPYRIGHT -------------------------------------------------------------------------------- /ECMAScript6/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015"] 3 | } 4 | -------------------------------------------------------------------------------- /ECMAScript6/import.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/ECMAScript6/import.js -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /R/hello.r: -------------------------------------------------------------------------------- 1 | cat ('Hello world!') 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/README.md -------------------------------------------------------------------------------- /bat/serve-directory.bat: -------------------------------------------------------------------------------- 1 | chcp 65001 2 | D: 3 | cd \storage\수업\화학 4 | C:\Users\simna\Downloads\ran.exe -p 80 -l -------------------------------------------------------------------------------- /bower/.bowerrc: -------------------------------------------------------------------------------- 1 | { "directory": "client/lib" 2 | } 3 | -------------------------------------------------------------------------------- /bower/.gitignore: -------------------------------------------------------------------------------- 1 | /client/lib 2 | -------------------------------------------------------------------------------- /bower/bower.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/bower/bower.json -------------------------------------------------------------------------------- /c/1b.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/1b.c -------------------------------------------------------------------------------- /c/24bit-color.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/24bit-color.c -------------------------------------------------------------------------------- /c/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/Makefile -------------------------------------------------------------------------------- /c/anonymous-union.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/anonymous-union.c -------------------------------------------------------------------------------- /c/array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/array.c -------------------------------------------------------------------------------- /c/coins.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/coins.c -------------------------------------------------------------------------------- /c/comment.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/comment.c -------------------------------------------------------------------------------- /c/digraph.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/digraph.c -------------------------------------------------------------------------------- /c/dup2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/dup2.c -------------------------------------------------------------------------------- /c/fork.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/fork.c -------------------------------------------------------------------------------- /c/fun_140001000.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/fun_140001000.c -------------------------------------------------------------------------------- /c/function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/function.c -------------------------------------------------------------------------------- /c/hello.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(void) 4 | { 5 | puts("Hello, world!"); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /c/ieee754-from-hex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/ieee754-from-hex.c -------------------------------------------------------------------------------- /c/ieee754-to-hex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/ieee754-to-hex.c -------------------------------------------------------------------------------- /c/infinite-2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/infinite-2.c -------------------------------------------------------------------------------- /c/infinite.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/infinite.c -------------------------------------------------------------------------------- /c/logic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/logic.c -------------------------------------------------------------------------------- /c/long-double.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/long-double.c -------------------------------------------------------------------------------- /c/loop-optimization.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/loop-optimization.c -------------------------------------------------------------------------------- /c/macro.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/macro.c -------------------------------------------------------------------------------- /c/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/main.c -------------------------------------------------------------------------------- /c/moduler.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | printf("%d\n", (-100) % 7); 5 | } 6 | -------------------------------------------------------------------------------- /c/msign.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/msign.c -------------------------------------------------------------------------------- /c/nonblock-io.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/nonblock-io.c -------------------------------------------------------------------------------- /c/pisano-calculator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/pisano-calculator.c -------------------------------------------------------------------------------- /c/pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/pointer.c -------------------------------------------------------------------------------- /c/pointer2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/pointer2.c -------------------------------------------------------------------------------- /c/popcnt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/popcnt.c -------------------------------------------------------------------------------- /c/postfix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/postfix.c -------------------------------------------------------------------------------- /c/pp-assignment.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/pp-assignment.c -------------------------------------------------------------------------------- /c/preprocessor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/preprocessor.c -------------------------------------------------------------------------------- /c/pretty-pair.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/pretty-pair.c -------------------------------------------------------------------------------- /c/relocation/.gitignore: -------------------------------------------------------------------------------- 1 | result.* 2 | -------------------------------------------------------------------------------- /c/relocation/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/relocation/Makefile -------------------------------------------------------------------------------- /c/relocation/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/relocation/main.c -------------------------------------------------------------------------------- /c/scanf-error-handling.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/scanf-error-handling.c -------------------------------------------------------------------------------- /c/scanf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/scanf.c -------------------------------------------------------------------------------- /c/shared-file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/shared-file.c -------------------------------------------------------------------------------- /c/signal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/signal.c -------------------------------------------------------------------------------- /c/skip-libc-init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/skip-libc-init.c -------------------------------------------------------------------------------- /c/sort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/sort.c -------------------------------------------------------------------------------- /c/strlen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/strlen.c -------------------------------------------------------------------------------- /c/strtok_r.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/strtok_r.c -------------------------------------------------------------------------------- /c/struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/struct.c -------------------------------------------------------------------------------- /c/tcp-client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/tcp-client.c -------------------------------------------------------------------------------- /c/threads.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/threads.c -------------------------------------------------------------------------------- /c/time-complexity.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/time-complexity.c -------------------------------------------------------------------------------- /c/utime.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/utime.c -------------------------------------------------------------------------------- /c/variable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/variable.c -------------------------------------------------------------------------------- /c/what-was-this.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/what-was-this.c -------------------------------------------------------------------------------- /c/win32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/win32.c -------------------------------------------------------------------------------- /c/xz-decode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/xz-decode.c -------------------------------------------------------------------------------- /c/xz-encode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/xz-encode.c -------------------------------------------------------------------------------- /c/xz.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/c/xz.c -------------------------------------------------------------------------------- /cpp/.ycm_extra_conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/.ycm_extra_conf.py -------------------------------------------------------------------------------- /cpp/anonymous-namespace.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/anonymous-namespace.cpp -------------------------------------------------------------------------------- /cpp/array-template.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/array-template.cpp -------------------------------------------------------------------------------- /cpp/array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/array.cpp -------------------------------------------------------------------------------- /cpp/array2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/array2.cpp -------------------------------------------------------------------------------- /cpp/auto.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/auto.cpp -------------------------------------------------------------------------------- /cpp/calc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/calc.cpp -------------------------------------------------------------------------------- /cpp/cin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/cin.cpp -------------------------------------------------------------------------------- /cpp/cin2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/cin2.cpp -------------------------------------------------------------------------------- /cpp/const-method.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/const-method.cpp -------------------------------------------------------------------------------- /cpp/constexpr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/constexpr.cpp -------------------------------------------------------------------------------- /cpp/cout.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/cout.cpp -------------------------------------------------------------------------------- /cpp/default-arguments.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/default-arguments.cpp -------------------------------------------------------------------------------- /cpp/do-nothing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/do-nothing.cpp -------------------------------------------------------------------------------- /cpp/enum-class.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/enum-class.cpp -------------------------------------------------------------------------------- /cpp/env.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/env.cpp -------------------------------------------------------------------------------- /cpp/epoch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/epoch.cpp -------------------------------------------------------------------------------- /cpp/exception-with-stacktrace.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/exception-with-stacktrace.cpp -------------------------------------------------------------------------------- /cpp/exception.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/exception.cpp -------------------------------------------------------------------------------- /cpp/factorial.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/factorial.cpp -------------------------------------------------------------------------------- /cpp/field.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/field.cpp -------------------------------------------------------------------------------- /cpp/finally.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/finally.cpp -------------------------------------------------------------------------------- /cpp/for.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/for.cpp -------------------------------------------------------------------------------- /cpp/function-pointer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/function-pointer.cpp -------------------------------------------------------------------------------- /cpp/gc.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | std::declare_reachable(nullptr); 5 | } 6 | -------------------------------------------------------------------------------- /cpp/infinite.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/infinite.cpp -------------------------------------------------------------------------------- /cpp/io.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/io.cpp -------------------------------------------------------------------------------- /cpp/is-power-of-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/is-power-of-2.cpp -------------------------------------------------------------------------------- /cpp/ldouble.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/ldouble.cpp -------------------------------------------------------------------------------- /cpp/link.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/link.cpp -------------------------------------------------------------------------------- /cpp/list-initialization.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/list-initialization.cpp -------------------------------------------------------------------------------- /cpp/log2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/log2.cpp -------------------------------------------------------------------------------- /cpp/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/main.cpp -------------------------------------------------------------------------------- /cpp/make-array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/make-array.cpp -------------------------------------------------------------------------------- /cpp/morse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/morse.cpp -------------------------------------------------------------------------------- /cpp/no-libc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/no-libc.cpp -------------------------------------------------------------------------------- /cpp/operator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/operator.cpp -------------------------------------------------------------------------------- /cpp/or.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/or.cpp -------------------------------------------------------------------------------- /cpp/overloading.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/overloading.cpp -------------------------------------------------------------------------------- /cpp/percentage-rounds.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/percentage-rounds.cpp -------------------------------------------------------------------------------- /cpp/polymorphic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/polymorphic.cpp -------------------------------------------------------------------------------- /cpp/raii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/raii.cpp -------------------------------------------------------------------------------- /cpp/random.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/random.cpp -------------------------------------------------------------------------------- /cpp/random_codes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/random_codes.cpp -------------------------------------------------------------------------------- /cpp/random_hex.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/random_hex.cpp -------------------------------------------------------------------------------- /cpp/range.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/range.cpp -------------------------------------------------------------------------------- /cpp/reference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/reference.cpp -------------------------------------------------------------------------------- /cpp/remove.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/remove.cpp -------------------------------------------------------------------------------- /cpp/rtti.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/rtti.cpp -------------------------------------------------------------------------------- /cpp/string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/string.cpp -------------------------------------------------------------------------------- /cpp/stringstream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/stringstream.cpp -------------------------------------------------------------------------------- /cpp/switch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/switch.cpp -------------------------------------------------------------------------------- /cpp/system.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/system.cpp -------------------------------------------------------------------------------- /cpp/ternary.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/ternary.cpp -------------------------------------------------------------------------------- /cpp/thread.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/thread.cpp -------------------------------------------------------------------------------- /cpp/tuple.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/tuple.cpp -------------------------------------------------------------------------------- /cpp/tweet-1836043544966173183.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/tweet-1836043544966173183.cpp -------------------------------------------------------------------------------- /cpp/u128.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/u128.cpp -------------------------------------------------------------------------------- /cpp/unused.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/unused.cpp -------------------------------------------------------------------------------- /cpp/utf-8.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/utf-8.cpp -------------------------------------------------------------------------------- /cpp/variadic-lambda.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/variadic-lambda.cpp -------------------------------------------------------------------------------- /cpp/vendor/cx_md5.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/vendor/cx_md5.h -------------------------------------------------------------------------------- /cpp/vendor/cx_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/vendor/cx_utils.h -------------------------------------------------------------------------------- /cpp/wstream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/wstream.cpp -------------------------------------------------------------------------------- /cpp/y-combinator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/cpp/y-combinator.cpp -------------------------------------------------------------------------------- /crystal/hello.cr: -------------------------------------------------------------------------------- 1 | puts "Hello, world!" 2 | -------------------------------------------------------------------------------- /crystal/http.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/crystal/http.cr -------------------------------------------------------------------------------- /elixir/.gitignore: -------------------------------------------------------------------------------- 1 | *.beam 2 | /erl_crash.dump 3 | -------------------------------------------------------------------------------- /elixir/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/elixir/README.md -------------------------------------------------------------------------------- /elixir/hello.exs: -------------------------------------------------------------------------------- 1 | IO.puts "Hello World" 2 | -------------------------------------------------------------------------------- /elixir/hello_module.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/elixir/hello_module.ex -------------------------------------------------------------------------------- /erlang/.gitignore: -------------------------------------------------------------------------------- 1 | *.beam 2 | /erl_crash.dump 3 | -------------------------------------------------------------------------------- /erlang/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/erlang/README.md -------------------------------------------------------------------------------- /erlang/hello.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/erlang/hello.erl -------------------------------------------------------------------------------- /flow/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /flow/unsound.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/flow/unsound.js -------------------------------------------------------------------------------- /gleam/.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/gleam/.github/workflows/test.yml -------------------------------------------------------------------------------- /gleam/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/gleam/.gitignore -------------------------------------------------------------------------------- /gleam/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/gleam/README.md -------------------------------------------------------------------------------- /gleam/gleam.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/gleam/gleam.toml -------------------------------------------------------------------------------- /gleam/rebar.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/gleam/rebar.config -------------------------------------------------------------------------------- /gleam/rebar.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/gleam/rebar.lock -------------------------------------------------------------------------------- /gleam/src/snippets.app.src: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/gleam/src/snippets.app.src -------------------------------------------------------------------------------- /gleam/src/snippets.gleam: -------------------------------------------------------------------------------- 1 | pub fn hello_world() -> String { 2 | "Hello, from snippets!" 3 | } 4 | -------------------------------------------------------------------------------- /gleam/test/snippets_test.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/gleam/test/snippets_test.gleam -------------------------------------------------------------------------------- /go/dynamic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/go/dynamic.go -------------------------------------------------------------------------------- /go/enum/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/go/enum/README.md -------------------------------------------------------------------------------- /go/enum/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/go/enum/go.mod -------------------------------------------------------------------------------- /go/enum/go.work: -------------------------------------------------------------------------------- 1 | go 1.22.2 2 | 3 | use ( 4 | . 5 | ./lib 6 | ) 7 | -------------------------------------------------------------------------------- /go/enum/lib/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/go/enum/lib/go.mod -------------------------------------------------------------------------------- /go/enum/lib/lib.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/go/enum/lib/lib.go -------------------------------------------------------------------------------- /go/enum/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/go/enum/main.go -------------------------------------------------------------------------------- /go/gugu.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/go/gugu.go -------------------------------------------------------------------------------- /go/hello.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/go/hello.go -------------------------------------------------------------------------------- /go/json-any.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/go/json-any.go -------------------------------------------------------------------------------- /go/json.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/go/json.go -------------------------------------------------------------------------------- /go/loop.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/go/loop.go -------------------------------------------------------------------------------- /go/nested.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/go/nested.go -------------------------------------------------------------------------------- /go/receiver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/go/receiver.go -------------------------------------------------------------------------------- /go/rvo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/go/rvo.go -------------------------------------------------------------------------------- /go/sizeof.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/go/sizeof.go -------------------------------------------------------------------------------- /go/switch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/go/switch.go -------------------------------------------------------------------------------- /go/timer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/go/timer.go -------------------------------------------------------------------------------- /gradle/.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | -------------------------------------------------------------------------------- /gradle/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/gradle/build.gradle -------------------------------------------------------------------------------- /haskell/fibo.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/haskell/fibo.hs -------------------------------------------------------------------------------- /haskell/fibo2.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/haskell/fibo2.hs -------------------------------------------------------------------------------- /haskell/fmap.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/haskell/fmap.hs -------------------------------------------------------------------------------- /haskell/hello.hs: -------------------------------------------------------------------------------- 1 | main = putStrLn "Hello World" 2 | -------------------------------------------------------------------------------- /haskell/if.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/haskell/if.hs -------------------------------------------------------------------------------- /haskell/input: -------------------------------------------------------------------------------- 1 | 꾸쥬어마이걸 2 | ㅇㅅㅇ 3 | -------------------------------------------------------------------------------- /haskell/io.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/haskell/io.hs -------------------------------------------------------------------------------- /haskell/io2.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/haskell/io2.hs -------------------------------------------------------------------------------- /haskell/io3.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/haskell/io3.hs -------------------------------------------------------------------------------- /haskell/io4.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/haskell/io4.hs -------------------------------------------------------------------------------- /haskell/monoid.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/haskell/monoid.hs -------------------------------------------------------------------------------- /haskell/pattern.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/haskell/pattern.hs -------------------------------------------------------------------------------- /haskell/sigma.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/haskell/sigma.hs -------------------------------------------------------------------------------- /html/copy-huge-string.html.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/html/copy-huge-string.html.xz -------------------------------------------------------------------------------- /html/htm-without-es6.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/html/htm-without-es6.html -------------------------------------------------------------------------------- /html/is-dark-mode.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/html/is-dark-mode.html -------------------------------------------------------------------------------- /html/macos-dark-mode-bug.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /idris/hello.idr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/idris/hello.idr -------------------------------------------------------------------------------- /java/Finally.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/java/Finally.java -------------------------------------------------------------------------------- /java/Hello.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/java/Hello.java -------------------------------------------------------------------------------- /js/async-iterator-from-events.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/async-iterator-from-events.js -------------------------------------------------------------------------------- /js/chunk.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/chunk.js -------------------------------------------------------------------------------- /js/class.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/class.js -------------------------------------------------------------------------------- /js/ctrlc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/ctrlc.js -------------------------------------------------------------------------------- /js/fibo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/fibo.js -------------------------------------------------------------------------------- /js/finally.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/finally.js -------------------------------------------------------------------------------- /js/find-repository-with-legacy-github-services.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/find-repository-with-legacy-github-services.js -------------------------------------------------------------------------------- /js/fun_140001000.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/fun_140001000.js -------------------------------------------------------------------------------- /js/generator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/generator.js -------------------------------------------------------------------------------- /js/github.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/github.js -------------------------------------------------------------------------------- /js/hoisting.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/hoisting.js -------------------------------------------------------------------------------- /js/ipsc2015m.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/ipsc2015m.js -------------------------------------------------------------------------------- /js/ipsc2015m_solution: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/ipsc2015m_solution -------------------------------------------------------------------------------- /js/micro-optimization.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/micro-optimization.js -------------------------------------------------------------------------------- /js/offset-of-timezone.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/offset-of-timezone.js -------------------------------------------------------------------------------- /js/property.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/property.js -------------------------------------------------------------------------------- /js/regex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/regex.js -------------------------------------------------------------------------------- /js/scope.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/scope.js -------------------------------------------------------------------------------- /js/stacktrace.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/stacktrace.js -------------------------------------------------------------------------------- /js/static-member.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/static-member.js -------------------------------------------------------------------------------- /js/subset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/subset.js -------------------------------------------------------------------------------- /js/to-camel-case.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/to-camel-case.js -------------------------------------------------------------------------------- /js/todoist-to-mstodo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/todoist-to-mstodo.js -------------------------------------------------------------------------------- /js/unescape.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/unescape.js -------------------------------------------------------------------------------- /js/yoon.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/js/yoon.mjs -------------------------------------------------------------------------------- /julia/hello.jl: -------------------------------------------------------------------------------- 1 | println("Hello, world!") 2 | -------------------------------------------------------------------------------- /kubernetes/debug-pod.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/kubernetes/debug-pod.yml -------------------------------------------------------------------------------- /kubernetes/test-cert.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/kubernetes/test-cert.yml -------------------------------------------------------------------------------- /kubernetes/test-ecr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/kubernetes/test-ecr.yml -------------------------------------------------------------------------------- /kubernetes/test-ingress.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/kubernetes/test-ingress.yml -------------------------------------------------------------------------------- /kubernetes/test-lb.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/kubernetes/test-lb.yml -------------------------------------------------------------------------------- /kubernetes/test-priv.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/kubernetes/test-priv.yml -------------------------------------------------------------------------------- /kubernetes/test-pvc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/kubernetes/test-pvc.yml -------------------------------------------------------------------------------- /ls/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/ls/Makefile -------------------------------------------------------------------------------- /ls/hello.ls: -------------------------------------------------------------------------------- 1 | console.log('Hello, world'); 2 | -------------------------------------------------------------------------------- /ls/match.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/ls/match.ls -------------------------------------------------------------------------------- /ls/postfix-if.ls: -------------------------------------------------------------------------------- 1 | while false 2 | continue if true 3 | -------------------------------------------------------------------------------- /ls/switch.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/ls/switch.ls -------------------------------------------------------------------------------- /lua/fibo.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/lua/fibo.lua -------------------------------------------------------------------------------- /lua/hello.lua: -------------------------------------------------------------------------------- 1 | print("Hello World") 2 | -------------------------------------------------------------------------------- /markdown/conditional-operator.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/markdown/conditional-operator.md -------------------------------------------------------------------------------- /markdown/floor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/markdown/floor.md -------------------------------------------------------------------------------- /markdown/logic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/markdown/logic.md -------------------------------------------------------------------------------- /mruby/Makefile: -------------------------------------------------------------------------------- 1 | main: main.c 2 | gcc $< -lmruby 3 | -------------------------------------------------------------------------------- /mruby/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/mruby/main.c -------------------------------------------------------------------------------- /nim/array.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/nim/array.nim -------------------------------------------------------------------------------- /nim/hello.nim: -------------------------------------------------------------------------------- 1 | echo "Hello, world!" 2 | -------------------------------------------------------------------------------- /objc/dict.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/objc/dict.m -------------------------------------------------------------------------------- /objc/hello.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/objc/hello.m -------------------------------------------------------------------------------- /objc/sieve.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/objc/sieve.m -------------------------------------------------------------------------------- /objc/url.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/objc/url.m -------------------------------------------------------------------------------- /ocaml/dedup.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/ocaml/dedup.ml -------------------------------------------------------------------------------- /ocaml/gugu.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/ocaml/gugu.ml -------------------------------------------------------------------------------- /ocaml/hello.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/ocaml/hello.ml -------------------------------------------------------------------------------- /ocaml/iife.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/ocaml/iife.ml -------------------------------------------------------------------------------- /ocaml/let-concretize.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/ocaml/let-concretize.ml -------------------------------------------------------------------------------- /ocaml/let-polymorphism.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/ocaml/let-polymorphism.ml -------------------------------------------------------------------------------- /ocaml/match-guard.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/ocaml/match-guard.ml -------------------------------------------------------------------------------- /ocaml/reference.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/ocaml/reference.ml -------------------------------------------------------------------------------- /ocaml/tail.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/ocaml/tail.ml -------------------------------------------------------------------------------- /pascal/internal-compiler-error.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/pascal/internal-compiler-error.pas -------------------------------------------------------------------------------- /perl/hello.pl: -------------------------------------------------------------------------------- 1 | use strict; 2 | use warnings; 3 | 4 | print "Hello, world!\n"; 5 | -------------------------------------------------------------------------------- /php/array.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/php/array.php -------------------------------------------------------------------------------- /php/class.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/php/class.php -------------------------------------------------------------------------------- /php/extract.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/php/extract.php -------------------------------------------------------------------------------- /php/hello0.php: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | -------------------------------------------------------------------------------- /php/hello1.php: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /php/hello2.php: -------------------------------------------------------------------------------- 1 | a * b; 2 | 3 | console.log(func(3, 4)); 4 | -------------------------------------------------------------------------------- /typescript/default-param.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/typescript/default-param.ts -------------------------------------------------------------------------------- /typescript/export-hello.ts: -------------------------------------------------------------------------------- 1 | export function hello() { 2 | return 'Hello, world!'; 3 | } 4 | -------------------------------------------------------------------------------- /typescript/import.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/typescript/import.ts -------------------------------------------------------------------------------- /typescript/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/typescript/tsconfig.json -------------------------------------------------------------------------------- /typst/build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/typst/build -------------------------------------------------------------------------------- /typst/yoneda-notation-chaos.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/typst/yoneda-notation-chaos.typ -------------------------------------------------------------------------------- /vbscript/startvm.vbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/vbscript/startvm.vbs -------------------------------------------------------------------------------- /zig/hello.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/zig/hello.zig -------------------------------------------------------------------------------- /zig/win32.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simnalamburt/snippets/HEAD/zig/win32.zig --------------------------------------------------------------------------------