Skip to content

Instantly share code, notes, and snippets.

View andy0130tw's full-sized avatar
๐ŸŒ
why no ๐Ÿ†

Andy Pan andy0130tw

๐ŸŒ
why no ๐Ÿ†
View GitHub Profile
@uogbuji
uogbuji / pixelbook-dev-setup.md
Last active January 4, 2025 22:10 — forked from cassiozen/pixelbook-dev-setup.md
Notes on setting up Pixelbook for development

Pixelbook or Pixel Slate Setup

Partly updated June 2023

General caution: Chrome OS is a secure OS by design, but this has at least one key consequence. If you change your Google account password, you will still be required to enter the old password the next time you access each Chrome OS device. Devices are encrypted with that password, so the OS needs to decrypt using the old password then re-encrypt using the new one. If you forget your old password you will lose access to your Chrome OS device data. As always, make sure you keep backups up to date.

Fast User Switching

If you have multiple Chrome OS accounts (Say, work and play), you can quickly sitch between them without logging out:

่ญฏ๏ผš Reccaใ€้ปƒ้›…ไฟก

CREDIT

GitLab ็š„ๅ…ญๅ€‹ๅƒนๅ€ผๆ˜ฏๅˆไฝœ๏ผˆCollaboration๏ผ‰๏ผŒ็ตๆžœ๏ผˆResults๏ผ‰๏ผŒๆ•ˆ็އ๏ผˆEfficiency๏ผ‰๏ผŒๅคšๅ…ƒ๏ผˆDiversity๏ผ‰๏ผŒ่ฟญไปฃ๏ผˆIteration๏ผ‰ๅ’Œ้€ๆ˜Ž๏ผˆTransparency๏ผ‰ใ€‚้€™ๅ…ญๅ€‹ๅญ—ๆ‹ผๆˆ CREDIT ไฝœ็‚บๆˆ‘ๅ€‘้€็ตฆๅ„ไฝ็š„็ฆฎ็‰ฉใ€‚้€™ไบ›ๅƒนๅ€ผ่ง€ๆ˜ฏ็›ธไบ’้—œ่ฏ็š„๏ผŒๅฝผๆญคไน‹้–“ไบ’็›ธๅˆไฝœไปฅไฟ่ญทๆˆ‘ๅ€‘ๅ…ฌๅธ็š„ๆ–‡ๅŒ–ใ€‚ไธ‹้ข้€ไธ€่งฃ้‡‹้€™ไบ›ๅƒนๅ€ผ่ง€็š„ๆ“ไฝœๆ–นๅผ๏ผš

ๅˆไฝœ

ๅณไฝฟๅฐ็›ฎๆจ™ๆฒ’ๆœ‰็ซ‹ๅณๆ€ง็š„ๅนซๅŠฉ๏ผŒๅนซๅŠฉๅˆฅไบบๆ‡‰่ฉฒๆ˜ฏ้ฆ–่ฆ้ …็›ฎใ€‚็›ธๅŒ็š„๏ผŒไฝ ๅฏไปฅไพ้ ๅˆฅไบบ็š„ๅ”ๅŠฉ่ˆ‡ๆ„่ฆ‹ - ไบ‹ๅฏฆไธŠไฝ ไนŸๆ‡‰่ฉฒ่ฆ้€™ๆจฃใ€‚ ๆฏๅ€‹ไบบ๏ผŒๅŒ…ๅซไธๅœจ gitlab ๅ…ฌๅธๅทฅไฝœ็š„ไบบ๏ผŒ้ƒฝๅฏไปฅๅฐไปปไฝ•ๅฐˆๆกˆๆๆ„่ฆ‹ใ€‚ๅฐๅฐˆๆกˆ่ฒ ่ฒฌ็š„ไบบๆฑบๅฎšๅฐˆๆกˆ่ฆๆ€Ž้บผๅš๏ผŒไฝ†ๆ˜ฏไป–ๆ‡‰่ฉฒ่ฆ่ช็œŸ็œ‹ๅพ…ๅ…ถไป–ไบบ็š„ๆ„่ฆ‹๏ผŒไธฆ่งฃ้‡‹็‚บไป€้บผไน‹ๅ‰ๆœ‰ๆˆ–่€…ๆฒ’ๆœ‰้€™้บผๅšใ€‚

#include <stdio.h>
#include <string.h>
#ifdef ofst
for i in range(12):
MID, ofst, _ = 12, lambda o, i: int(o[i], 16), """
#else
#define ofst(o, i) 0
int main () { int t; char *s, *_; for (int i = 0; i < 12; i++) {
s = " """;
t = (int)(9+(i%3+(int)(i/3))*2-(i>8)*(2*(i-8)+2)) + ofst("466975754C32", i);
-- programming
data Nat : Set where
zero : Nat
suc : Nat โ†’ Nat
_+_ : Nat โ†’ Nat โ†’ Nat
zero + n = n
suc m + n = suc (m + n)
@HenryYang
HenryYang / tokenPaymentBanks.md
Last active January 2, 2023 17:45 — forked from shyuan/tokenPaymentBanks.md
ๅœจๅฐ็ฃ็š„ๅœ‹้š› Pay ไฟก็”จๅก่ˆ‡้‡‘่žๅกๆ”ฏๆด้Š€่กŒๅฐ็…ง่กจ

ๅฐๆ‡‰่กจ

้Š€่กŒ/ๆ”ฏไป˜็ณป็ตฑ Apple Pay Google Pay Samsung Pay Garmin Pay Fitbit Pay ๆ”ฏๆดๅฎถๆ•ธ
ๅœ‹ๆณฐไธ–่ฏ้Š€่กŒ โœ… โœ… โœ… โœ… โœ… 5
ๅœ‹ๆณฐไธ–่ฏ้Š€่กŒ - ้‡‘่žๅก โœ… โœ… โœ… โœ… โœ… 5
ไธญๅœ‹ไฟก่จ—้Š€่กŒ โœ… โœ… โœ… โœ… โœ… 5
ไธญๅœ‹ไฟก่จ—้Š€่กŒ - ้‡‘่žๅก โœ… โœ… โœ… 3
ๅฐๆ–ฐๅœ‹้š›ๅ•†ๆฅญ้Š€่กŒ โœ… โœ… โœ… โœ… โœ… 5
ๅฐๆ–ฐๅœ‹้š›ๅ•†ๆฅญ้Š€่กŒ - ้‡‘่žๅก โœ… โœ… โœ… โœ… โœ… 5
่ฏ้‚ฆ้Š€่กŒ โœ… โœ… โœ… โœ… โœ… 5
@serg0x
serg0x / material-design-shadows.css
Last active September 13, 2025 09:34
Google material design elevation system shadows as css. Based on https://material.io/design/environment/elevation.html#default-elevations Exported with Sketchapp from the Google material design theme editor plugin "Baseline" theme.
/* Shadow 0dp */
box-shadow: none;
/* Shadow 1dp */
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.14), 0 2px 1px -1px rgba(0,0,0,0.12), 0 1px 3px 0 rgba(0,0,0,0.20);
/* Shadow 2dp */
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.20);
/* Shadow 3dp */
@tomnomnom
tomnomnom / alert.js
Last active July 22, 2025 01:16
Ways to alert(document.domain)
// How many ways can you alert(document.domain)?
// Comment with more ways and I'll add them :)
// I already know about the JSFuck way, but it's too long to add (:
// Direct invocation
alert(document.domain);
(alert)(document.domain);
al\u0065rt(document.domain);
al\u{65}rt(document.domain);
window['alert'](document.domain);
@rfikki
rfikki / rinkeby-peers-latest.txt
Last active December 9, 2020 04:21
Updated DEC/08/2020 - IMPORTANT RUN THE LATEST RELEASE OF THE CLIENT - https://geth.ethereum.org/downloads/
admin.addPeer("enode://343149e4feefa15d882d9fe4ac7d88f885bd05ebb735e547f12e12080a9fa07c8014ca6fd7f373123488102fe5e34111f8509cf0b7de3f5b44339c9f25e87cb8@52.3.158.184:30303");
admin.addPeer("enode://3338fd63203ca8f079c79c3fc5bcdaa9ee8ad8f64a48ddfb0022b77f623768eb08e82576fc1c8356a0f588ad9162989704d16e9fc0e6f0bd9feb8f7e80ed1b5f@5.189.149.113:35555");
@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active October 17, 2025 13:03
Hyperlinks in Terminal Emulators
@sliminality
sliminality / Default (OSX).sublime-keymap
Last active March 1, 2025 23:59
Racket and Sublime Text 3
{
// Evaluate file in the open SublimeREPL.
// Depends on you creating the Packages/User/EvalInREPL.sublime-macro file.
{ "keys": ["super+r"], "command": "run_macro_file", "args": { "file": "Packages/User/EvalInREPL.sublime-macro" },
"context": [
{ "key": "selector", "operator": "equal", "operand": "source.elm" }
]
},
// Reindent selection on tab