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 | |
paths-ignore: | |
- "**.md" | |
- ".gitignore" | |
pull_request: |
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
// ref: https://docs.rs/num_cpus/latest/num_cpus/fn.get.html | |
fn main() { | |
let logical_cpus = num_cpus::get(); | |
let physical_cpus = num_cpus::get_physical(); | |
println!("Logical CPUs: {}", logical_cpus); | |
println!("Physical CPUs: {}", physical_cpus); | |
/* | |
if logical_cpus > physical_cpus { |
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
## User Settings | |
.DS_Store | |
## Rider | |
.idea | |
## for build | |
# Roulette/Roulette_iOS*/** | |
# !Roulette/Roulette_iOS*/.gitkeep |
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
# ref: https://ikep.hatenablog.com/entry/2018/11/09/005207 | |
## Unity ## | |
*.cs diff=csharp text | |
*.cginc text | |
*.shader text | |
*.mat merge=unityyamlmerge eol=lf | |
*.anim merge=unityyamlmerge eol=lf | |
*.unity merge=unityyamlmerge eol=lf | |
*.physicsMaterial2D merge=unityyamlmerge eol=lf |
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
package main | |
func main() { | |
q2_3() | |
} | |
func q2_3() { | |
http.HandleFunc("/", q2_3_handler) | |
http.ListenAndServe(":8080", nil) | |
} |
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 perl | |
$pdf_mode = 3; | |
$latex = 'uplatex --kanji=utf8 -synctex=1 -file-line-error -halt-on-error %O %S'; | |
$bibtex = 'upbibtex'; | |
$dvipdf = 'dvipdfmx %O -o %D %S'; | |
$makeindex = 'mendex %O -o %D %S'; |
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
Resources: | |
# IAM Policy | |
PolicyLambdaBasicExecution: | |
Type: AWS::IAM::ManagedPolicy | |
Properties: | |
ManagedPolicyName: !Sub "${Prefix}-policy-lambda-basic-execution" | |
PolicyDocument: | |
Version: "2012-10-17" | |
Statement: | |
- Effect: Allow |
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
# Starship default config, extracted from the source | |
# Configure the format of the prompt | |
format = """\ | |
$username\ | |
$hostname\ | |
$shlvl\ | |
$singularity\ | |
$kubernetes\ | |
$directory\ |
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
# Starship default config, extracted from the source | |
# Configure the format of the prompt | |
format = """\ | |
$username\ | |
$hostname\ | |
$shlvl\ | |
$singularity\ | |
$kubernetes\ | |
$directory\ |
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
######################################## | |
# prompt global settings | |
######################################## | |
# document link: https://starship.rs/ja-JP/config/#%E3%83%95%E3%82%9A%E3%83%AD%E3%83%B3%E3%83%95%E3%82%9A%E3%83%88 | |
# format = "$all" | |
format = """ | |
$username\ | |
$hostname\ | |
$shlvl\ |
NewerOlder