This file contains 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
#graph-div { | |
font-family: 'trebuchet ms', verdana, arial, sans-serif; | |
font-size: 16px; | |
fill: #333; | |
} | |
#graph-div .error-icon { | |
fill: #552222; | |
} | |
#graph-div .error-text { | |
fill: #552222; |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<Macro xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<Name>魂2弹反</Name> | |
<Guid>5c389610-c089-4dc2-89db-c429bc285cbf</Guid> | |
<MacroEvents> | |
<MacroEvent> | |
<Type>1</Type> | |
<KeyEvent> | |
<Makecode>42</Makecode> | |
</KeyEvent> |
This file contains 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
name: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest |
This file contains 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
name: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest |
This file contains 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
import sys | |
import smtplib | |
SMTP_SERVER = 'smtp.mailgun.org' | |
SMTP_PORT = 587 | |
SMTP_USERNAME = '[email protected]' | |
SMTP_PASSWORD = '' | |
FROM_ADDR = '[email protected]' | |
TO_ADDRS = ['[email protected]'] |
This file contains 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
name: CI with CD | |
on: | |
push: | |
branches: | |
- main | |
release: | |
types: | |
- published | |
jobs: | |
ci: |
This file contains 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 | |
set -euo pipefail | |
# Ref: https://honnef.co/posts/2015/06/statically_compiled_go_programs__always__even_with_cgo__using_musl/ | |
CC=musl-gcc go build --ldflags '-linkmode external -extldflags "-static"' "$@" cmd/bibak/main.go |
This file contains 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
#include <sstream> | |
#include <string> | |
#include <cstdio> | |
int main() { | |
std::stringstream a; | |
a << "0"; // const char * | |
printf("%s\n", a.str().c_str()); // 0, expected | |
std::stringstream b; |
This file contains 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
/** | |
* Modern CSS reset at https://gist.github.com/myl7/7af84d97e246b733c82dd414f49dfd29 | |
* From Josh's Custom CSS Reset at https://www.joshwcomeau.com/css/custom-css-reset/ | |
* Public domain | |
*/ | |
*, *::before, *::after { | |
box-sizing: border-box; | |
} |
This file contains 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
[http "https://github.com"] | |
proxy = http://127.0.0.1:10800 | |
[https "https://github.com"] | |
proxy = http://127.0.0.1:10800 |
NewerOlder