Try to run bin file with and without extension:
.\node_modules\.bin\electron.cmd
.\node_modules\.bin\electronIf it's work with extension but not without, check PATHEXT environment variable.
| { | |
| // Rough modified version of Celeste to darken it up | |
| "name": "Celeste Dark", | |
| "author": "Sublime HQ Pty Ltd", | |
| "variables": | |
| { | |
| // These colors are part of the hashed range | |
| // and should only be used in non-source | |
| "purple": "hsla(260, 50%, 70%, 1)", | |
| "blue": "hsla(200, 70%, 55%, 1)", |
Try to run bin file with and without extension:
.\node_modules\.bin\electron.cmd
.\node_modules\.bin\electronIf it's work with extension but not without, check PATHEXT environment variable.
| Configure RE | |
| Instruct user to power on device and scan QR code | |
| cancel -> Exit | |
| Scan QR | |
| valid QR code -> Check CAP | |
| wrong QR code -> Inform user about wrong QR code | |
| Inform user about wrong QR code | |
| OK -> Instruct user to power on device and scan QR code | |
| Active | |
| Check CAP |
| Configure CAP | |
| Instruct user to power on device and scan QR code | |
| cancel -> Exit | |
| Init | |
| valid QR code -> Instruct user to connect wifi | |
| wrong QR code -> Inform user about wrong QR code | |
| Inform user about wrong QR code | |
| OK -> Instruct user to power on device and scan QR code | |
| Instruct user to connect wifi | |
| Trying to connect |
I hereby claim:
To claim this, I am signing this object:
| let booking = new Machine({ | |
| context: { | |
| paymentState: 'new' | |
| }, | |
| initial: 'new', | |
| states: { | |
| new: { | |
| on: { | |
| PAYMENT_NEW: 'paying', | |
| PAYMENT_CHARING: 'paying', |
| công thức: chia ngày thành 3 khung thời gian: 7am -> 17pm, 17pm -> 24pm, 0am -> 7am | |
| tính tổng {số giờ} * {hệ số} của mỗi khung thời gian | |
| 7am -> 17pm | |
| {số giờ} = nếu bắt đầu trước 17pm : 17 - giờ bắt đầu (input) | |
| ngược lại không tính (zero) | |
| = if(AH40<17,17-AH40,0) |
| function abortableAsync(generator) { | |
| return ({ | |
| [generator.name](...args) { | |
| let halt = false; | |
| try { | |
| return () => { halt = true; }; | |
| } finally { | |
| (async() => { | |
| let g = generator.call(this, ...args); | |
| let value, done, err; |
| # install rust | |
| curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | |
| export PATH="$HOME/.cargo/bin:$PATH" | |
| # clone crossfont and alacritty | |
| git clone --depth 1 https://github.com/alacritty/crossfont.git | |
| git clone --depth 1 https://github.com/alacritty/alacritty.git | |
| # patching | |
| sed -i '' -E 's/(set_allows_font_smoothing|set_should_smooth_fonts)\(true\)/\1(!use_thin_strokes)/' crossfont/src/darwin/mod.rs |