Figma是一款优秀的设计工具,不仅可以便捷地实现协作开发,同时还提供了丰富的扩展能力,使得我们可以通过编写插件实现自定义的功能。
Figma官方是有提供开发者文档的,资料也比较齐全。推荐同时读一下 https://www.figma.com/plugin-docs/intro/。
Figma是一款优秀的设计工具,不仅可以便捷地实现协作开发,同时还提供了丰富的扩展能力,使得我们可以通过编写插件实现自定义的功能。
Figma官方是有提供开发者文档的,资料也比较齐全。推荐同时读一下 https://www.figma.com/plugin-docs/intro/。
A Pen by Suraj kumar Sa on CodePen.
SIPS (Scriptable Image Processing System) is a command-line utility available on macOS that enables users to perform various image manipulation tasks directly from the command line. It supports a wide range of image file formats, including JPEG, PNG, TIFF, GIF, and more
sips -z width height input_image --out output_imagesips -z 800 0 original.jpg --out scaled.jpgsips -g dpiHeight -g dpiWidth image.jpgA comprehensive technical reference for understanding and reverse engineering Windows Sandbox, HCS APIs, and Hyper-V hypervisor internals.
┌─────────────────────────────────────────────────────────────────┐
│ USER MODE │
├─────────────────────────────────────────────────────────────────┤
| #define UNICODE | |
| #include <stdio.h> | |
| #include <stddef.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <stdint.h> | |
| #define WIN32_LEAN_AND_MEAN | |
| #include <windows.h> |
| Complete stuff: | |
| https://xmonader.github.io/letsbuildacompiler-pretty/ | |
| Lexers + DFAs: | |
| https://gist.github.com/pervognsen/218ea17743e1442e59bb60d29b1aa725 | |
| Parsing: | |
| https://eli.thegreenplace.net/2012/08/02/parsing-expressions-by-precedence-climbing | |
| Backend: |
Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
For the every-day programmer who needs to get shit done instead of fighting type errors.
If your application deals with times in any meaningful way, you should probably want to actually store time_points and durations and what-not; chrono has a pretty rich vocabulary for talking about time-related concepts using the type system. However, sometimes you just need to do something simple, like timing how long something takes, which is where chrono becomes overly complex, hence this cheat sheet.
All examples will assume #include <chrono>.
| // Mostly portable example of creating an object file to embed a binary. | |
| // Requires stb_ds.h (https://github.com/nothings/stb/blob/master/stb_ds.h) | |
| // Arguments: | |
| // | |
| // coff_embed [name] [input] | |
| // | |
| // name must be a valid C-identifier if you wanna actually import into C, the | |
| // idea is that the 'input' file is going to be embedded into an object file | |
| // under the symbol name 'name', the content's length is a size_t with the name | |
| // _length appended to the name. |
| //////////////////////////////// | |
| // NBHM - Non-blocking hashmap | |
| //////////////////////////////// | |
| // You wanna intern lots of things on lots of cores? this is for you. It's | |
| // inspired by Cliff's non-blocking hashmap. | |
| // | |
| // To use it, you'll need to define NBHM_FN and then include the header: | |
| // | |
| // #define NBHM_FN(n) XXX_hm_ ## n | |
| // #include <nbhm.h> |