Skip to content

Instantly share code, notes, and snippets.

View jyc's full-sized avatar

jyc

View GitHub Profile
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDYZz3nNCfFAmiEJRiCSQzZlpWSR29MHNSRoQKYpdvxKbs/v6vLaknZX0DCsKHXT5ALwpkdQZIbkVoLWYzGrzylJOlL59mpe6iSNBdqwhtfcXFcM7AQmwUUHqDG1JIomG/RFMNzQFGxKiJ4EHPPFBJiWx9Mml3Jb2VaLl6JpBdAP0B2ljjYoklSlMQ/xCxVOlcqnS8+j+brSsqY3yiMIeeTpbbZPcS9U65onUyuDfSSfPAf79tFE6Lfeqsvss+DiY6cZmJQ+TQpbwprBD6OhgajDhETR0weOkVv8KnjDXXPA77PJ8t89pf6VCpnv5LZMhS3X+gt9F4gcXyiDGbc6DYOZqyT9txGOu+HfiEF6ibZt8gYOMySYTbIwvXE9WCjBeFYSSv+ZKbjkxgLB+yWVxIcFzps9jCkKX7KzszNJfK1mRTMqKIrUL/VIWPw17cEHUaSyzyB/6mCtNPd8s1wUohu/119SgWAofDm70izwh6a23GeOrpAb5/lg0vVDgeLChcBEBm7rZ7WGO954NmoyblPOHsYzIhRhys2l6CRTMBTxHDRRHrataYvIvsvE7++1xbH3S9gxHRJz12X11n+MgCWSKGnlh0ID/HL6peKtuWMx5JNSIj4hmLV8Z1O16KFzlcSmTaZL5nGQhQztDn6eKXSYq+R2412u1oXLCm84tI/xQ== jyc@jc-trfx-arch
event4 KEYBOARD_KEY +440.33s *** (-1) released
event4 KEYBOARD_KEY +440.38s *** (-1) released
event4 KEYBOARD_KEY +440.40s *** (-1) pressed
event4 KEYBOARD_KEY +440.46s *** (-1) released
-event12 POINTER_MOTION +449.03s 302.64/842.13
event12 POINTER_MOTION +449.04s 22.20/118.38
event12 POINTER_MOTION +449.05s 1.22/ 18.26
event12 POINTER_MOTION +449.06s 1.22/ 15.82
event4 KEYBOARD_KEY +1131.27s *** (-1) pressed
__ __ __ __ __ __ __ __ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ __ __ __ __ __ (_ for night, + for day)
UTC+3 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Moscow
* * * * * * (*'s for some possible time range)
UTC+9 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 0 1 2 3 4 5 6 Japan
* * * * * *
UTC-8 13 14 15 16 17 18 19 20 21 22 23 0 1 2 3 4 5 6 7 8 9 10 11 12 13 San Francisco (non-daylight)
* * * * * *
UTC-5 16 17 18 19 20 21 22 23 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 New York (non-daylight)
* * * * * *
#!/bin/zsh
set -euo pipefail
typeset -a SNIPPETS
SNIPPETS=(
note 🗒
pin 📌
stopwatch ⏱
fire 🔥
sushi 🍣
#!/bin/zsh
set -euo pipefail
typeset -a SNIPPETS
SNIPPETS=(
note 🗒
pin 📌
stopwatch ⏱
)
[jyc@jc-x1-arch servo]$ ./mach run -d
creating window
Stack trace for thread "main"
stack backtrace:
0: 0x55918e8071d4 - backtrace::backtrace::libunwind::trace
at /home/jyc/projects/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.2/src/backtrace/libunwind.rs:53
- backtrace::backtrace::trace<closure>
at /home/jyc/projects/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.2/src/backtrace/mod.rs:42
1: 0x55918e7fe64f - backtrace::capture::{{impl}}::new
at /home/jyc/projects/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.2/src/capture.rs:64
diff --git a/servo/components/style/stylist.rs b/servo/components/style/stylist.rs
--- a/servo/components/style/stylist.rs
+++ b/servo/components/style/stylist.rs
@@ -159,16 +159,20 @@ pub struct Stylist {
/// The total number of selectors.
num_selectors: usize,
/// The total number of declarations.
num_declarations: usize,
diff --git a/servo/components/style/stylist.rs b/servo/components/style/stylist.rs
--- a/servo/components/style/stylist.rs
+++ b/servo/components/style/stylist.rs
@@ -159,16 +159,20 @@ pub struct Stylist {
/// The total number of selectors.
num_selectors: usize,
/// The total number of declarations.
num_declarations: usize,

Keybase proof

I hereby claim:

  • I am jyc on github.
  • I am jyc (https://keybase.io/jyc) on keybase.
  • I have a public key whose fingerprint is D7CA 3311 655E 695A 2606 E982 7BA9 C8D3 276A 94FF

To claim this, I am signing this object:

type 'a jsont =
| String : string jsont
| List_of : 'a jsont -> 'a list jsont
let rec convert (type el) (t : el jsont) x : el option =
match t with
| String ->
begin match x with
| `String (s : string) -> Some s