This file contains hidden or 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
| /* https://spectreattack.com/spectre.pdf */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdint.h> | |
| #ifdef _MSC_VER | |
| #include <intrin.h> /* for rdtscp and clflush */ | |
| #pragma optimize("gt",on) | |
| #else | |
| #include <x86intrin.h> /* for rdtscp and clflush */ | |
| #endif |
This file contains hidden or 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
| task classpath << { println sourceSets.main.runtimeClasspath.asPath } |
This file contains hidden or 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
| function* CharStream(text) { | |
| const lines = text.split('\n') | |
| for (const row in lines) { | |
| const chars = lines[row].split('') | |
| for (const col in chars) { | |
| yield {token: chars[col], row, col} | |
| } | |
| } |
This file contains hidden or 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
| // จะทำอะไร? | |
| // 1. ชื่อ "การกระทำ" (Action Name) | |
| ADD_TODO = 'ADD_TODO' | |
| // 2. ข้อมูลทั้งหมดของแอพ (State) | |
| state = {todos: ['เลือกตั้ง']} | |
| // 3. การกระทำ (Action) | |
| action = {type: ADD_TODO, payload: 'เตะประยุทธ์'} |
This file contains hidden or 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
| atom-text-editor { | |
| text-rendering: optimizeLegibility; | |
| } | |
| atom-pane .mpe-preview webview { | |
| // transform: scale(1.4) translate(100px, 100px); | |
| } | |
| .editor, | |
| .pane, |
This file contains hidden or 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
| version: '3.6' | |
| services: | |
| postgresql: | |
| image: postgres:latest | |
| volumes: | |
| - ./storage/postgresql:/var/lib/postgresql/data | |
| ports: | |
| - 5432:5432 |
This file contains hidden or 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
| # --- Workspaces Management Commands --- | |
| # ws: Manage Workspaces | |
| ws() { | |
| make -C "$HOME/Workspaces/$1" $2 | |
| } | |
| # wg: Go to Workspace | |
| wg() { | |
| cd "$HOME/Workspaces/$1" || return |
This file contains hidden or 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
| # --- Workspace Management Commands --- | |
| # ws: Manage Workspaces | |
| ws() { | |
| make -C "$HOME/Workspaces/$1" $2 | |
| } | |
| # wg: Go to Workspace | |
| wg() { | |
| cd "$HOME/Workspaces/$1" || return |
This file contains hidden or 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
| main: start sh | |
| down: stop | |
| start: | |
| docker-compose up -d | |
| sh: | |
| docker exec -it rin bash | |
| stop: |
This file contains hidden or 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
| Ensime@0.41.0 | |
| Hydrogen@2.4.1 | |
| MagicPython@1.0.12 | |
| Zen@0.18.0 | |
| activate-power-mode@2.7.0 | |
| advanced-open-file@0.16.8 | |
| aligner@1.2.4 | |
| aligner-css@1.2.1 | |
| aligner-javascript@1.3.0 | |
| aligner-php@1.2.0 |