๐
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
| { pkgs ? import <nixpkgs> {} }: | |
| with pkgs; | |
| let | |
| alpine-3-8 = pkgs.dockerTools.pullImage { | |
| imageName = "alpine"; | |
| imageDigest = "sha256:0p313r6ra7k5bznqcp2nl7rbcjjz1cw1daywmjq1cmwn948hbiys"; | |
| sha256 = "0namvnkvdwsjfijyrzf64prsrzd9b35nhv4yi97mqy9dmlbys2iy"; | |
| os = "linux"; | |
| arch = "x86_64"; |
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
| { lib, buildRustCrate, buildRustCrateHelpers }: | |
| with buildRustCrateHelpers; | |
| let inherit (lib.lists) fold; | |
| inherit (lib.attrsets) recursiveUpdate; | |
| in | |
| rec { | |
| # adler32-1.0.3 | |
| crates.adler32."1.0.3" = deps: { features?(features_."adler32"."1.0.3" deps {}) }: buildRustCrate { |
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
| { pkgs ? import <nixpkgs> {} }: with pkgs; | |
| let | |
| #danmuji = rustPlatform.buildRustPackage rec { | |
| #name = "danmuji-${version}"; | |
| #version = "0.1.0"; | |
| #src = ${ | |
| #}; | |
| danmuji = /nix/store/b23ll1r78y6s89k0b4rc625f68x0k9mg-rust_danmuji-0.1.0; | |
| in |
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
| --force=true | |
| --host_identifier=windoze | |
| --verbose=true | |
| --debug | |
| --tls_dump=true | |
| --tls_hostname=master | |
| --tls_server_certs=./cacert | |
| --enroll_secret_path=./secret |
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
| [{"id":1375,"name":"์๋ฌด๋ฆฌ ...-ใด/๋๋ค์ง๋ง ","typical_example":"ใ์๋ฌด๋ฆฌ ๋์ ์ด๋ค์ง๋ง ใ","translation":"Adverb ์๋ฌด๋ฆฌ flags an upcoming concessive form, which here is contracted from -(์ผ)ใด/๋๋ค[๊ณ ํ]์ง๋ง no matter how much one might VERB ...; VERB as one might, (nonetheless) ... ; no matter how (much one might, much NOUN is) ... Cf. the adverbs ์๋งํด๋ and ์๋ฌด๋๋ (from ์๋ฌด๋ฆฌ ํด๋) do what you might, say what you wish; nonetheless, all the same, no matter what one does or says. ","category_eng":"()","category_kor":"๊ด์ฉ๊ตฌ"},{"id":340,"name":"-ใด๋ค๋2 NOUN","typical_example":"ใ๋๋ ์ด ๋ฌ๋ผ๊ฐ๋ค๋ ์์ด ใ","translation":"[The person] who says/claims that ... abbreviated from an indirect quotation in โใด ๋ค[๊ณ ํ]๋, modifying the following person, etc.","category_eng":"(Modifier/์ค๊ผด Contraction)","category_kor":"Modifier/์ค๊ผด Contraction"},{"id":1725,"name":"์ด์(์)","typical_example":"ใ์ด์์ ์ด๋ ๊ฒ ๋์์ผ๋ ใ","translation":"Already, now that, as long as, since. Usually followed by -๋/-ใด ๊น์, but sometimes by -(์ผ)๋.","category_eng":"(Polite Style)","category_kor":"Polite Style"},{" |
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
| require 'csv' | |
| file = ARGV[0] | |
| table = CSV.parse(File.read(file), headers: true) | |
| out_table = [] | |
| @used_skus = table | |
| .by_col[7] | |
| .map{ |v| v[2..-1] } |
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
| <Project Sdk="Microsoft.NET.Sdk"> | |
| <PropertyGroup> | |
| <OutputType>Exe</OutputType> | |
| <TargetFramework>netcoreapp3.1</TargetFramework> | |
| <MonoGamePlatform>DesktopGL</MonoGamePlatform> | |
| </PropertyGroup> | |
| <ItemGroup> | |
| <PackageReference Include="MonoGame.Content.Builder" Version="3.7.0.9" /> | |
| <PackageReference Include="MonoGame.Framework.DesktopGL.Core" Version="3.8.0.1" /> |
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
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCste7MJ1V5Pttt77ztuybnvh3vohAPjlsqI/w1Uat3jjMdR1RHYgNcoRhUF9ajETi6o0zcVhwHldquCNLeBlSGVrL9eRjG0kmhXV47EjqIibP5AerL1vhQ+qhQkC29yYmUL9eqqsxeVxf+EEoclDB5XT200+4AJJ6vqXcsB6WGltGYXpoZ3wlqSJg4oZJuDR4APqzYxK6MKbQTltsD9BgxpkC7CNIK9Gi364rYNUCr6pOlOinVUpEMh1vQ6WWGfBzTPV28DdIb1Xj4uoytWleXc4VbJ8lsPrPFiObYRaSrZ73dEZRk8xMKUNq4w0Hyt1QqoRTs6zMahmT6UMxP4oW6PyxoSkfAJoy6lis1EKn5dEQ3WNXAlBW3pf3+fAtldtcgM74k2nn6sHUCQa+PpPJLaS6KzjEewWkt3FyxBjk0V+dYllp5+TtDQ+xipgFH2cKPbFLIvD7spapzbDvtJqurx16syChmuVMpQgcW/F9/w1RVqH+r+0uIBZPvaf+YGcg6KSiGqR5kWg5HLRjRwq1jikohO+xGR0l4/nShjbSOtbbggL/7eU1f4K/zPvoWbr9cX6zfCyk8SfI7QegRKz4IJgrcgfbxWhDPmoQGr0naOcm8nWl4CrNGkd6o2PPK//WD1Yl8psK7sVYqegg1vlL2b8A+Zspem+kuOaDZlbdSkQ== zah@andrewzah.com |
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
| use std::{fmt, error::Error, result}; | |
| pub type AppResult<T> = result::Result<T, AppError>; | |
| #[derive(Debug)] | |
| pub enum AppError { | |
| Generic(String), | |
| Http(http::Error), | |
| Hyper(hyper::error::Error), |
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
| #!/usr/bin/env bash | |
| # author: Andrew Zah <zah@andrewzah.com> | |
| # version: v1.0 | |
| FETCH_DATA=./data | |
| FETCH_OUTPUT=./output | |
| FETCH_LOGS=./data/logs | |
| general_args=" \ |