Skip to content

Instantly share code, notes, and snippets.

View eccstartup's full-sized avatar
🈲
I may be slow to respond.

Yi Lu eccstartup

🈲
I may be slow to respond.
View GitHub Profile
@eccstartup
eccstartup / llama_sizes.txt
Created March 21, 2023 02:38 — forked from shawwn/llama_sizes.txt
The size of each file distributed with LLaMA, for reference. See https://github.com/shawwn/llama-dl
./tokenizer_checklist.chk 50
./tokenizer.model 499723
./7B/checklist.chk 100
./7B/consolidated.00.pth 13476939516
./7B/params.json 101
./13B/checklist.chk 154
./13B/consolidated.00.pth 13016334699
./13B/consolidated.01.pth 13016334699
./13B/params.json 101
./30B/checklist.chk 262
@eccstartup
eccstartup / ffmpeg.md
Created April 25, 2021 07:58 — forked from steven2358/ffmpeg.md
FFmpeg cheat sheet

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],

@eccstartup
eccstartup / springer-lnm-1.md
Created December 30, 2015 15:41 — forked from akalin/springer-lnm-1.md
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

@eccstartup
eccstartup / springer-free-maths-books.md
Created December 30, 2015 14:28 — forked from bishboria/springer-free-maths-books.md
Springer made a bunch of books available for free, these were the direct links
  1. Plain Strings (207): foo
  2. Anchors (208): k$
  3. Ranges (202): ^[a-f]*$
  4. Backrefs (201): (...).*\1
  5. Abba (169): ^(.(?!(ll|ss|mm|rr|tt|ff|cc|bb)))*$|^n|ef
  6. A man, a plan (177): ^(.)[^p].*\1$
  7. Prime (286): ^(?!(..+)\1+$)
  8. Four (199): (.)(.\1){3}
  9. Order (198): ^[^o].....?$
  10. Triples (507): (^39|^44)|(^([0369]|([147][0369]*[258])|(([258]|[147][0369]*[147])([0369]*|[258][0369]*[147])([147]|[258][0369]*[258])))*$)

How to set up stress-free SSL on an OS X development machine

One of the best ways to reduce complexity (read: stress) in web development is to minimize the differences between your development and production environments. After being frustrated by attempts to unify the approach to SSL on my local machine and in production, I searched for a workflow that would make the protocol invisible to me between all environments.

Most workflows make the following compromises:

  • Use HTTPS in production but HTTP locally. This is annoying because it makes the environments inconsistent, and the protocol choices leak up into the stack. For example, your web application needs to understand the underlying protocol when using the secure flag for cookies. If you don't get this right, your HTTP development server won't be able to read the cookies it writes, or worse, your HTTPS production server could pass sensitive cookies over an insecure connection.

  • Use production SSL certificates locally. This is annoying

#Haskell基础

  • 语法、语义
  • 常用函数实现
  • 函数参考
  • 语法拾遗
  • Codeforces
  • 99 Problem
  • Euler
  • Queue