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
/* | |
d = 期首仕掛品量; d = 期首仕掛品加工進捗度; | |
d = 当期投入量; | |
d = 当期完成品量; | |
d = 期末仕掛品量; d = 期末仕掛品加工進捗度; | |
d = 期首仕掛品材料費; d = 期首仕掛品加工費; | |
d = 当期投入材料費; d = 当期投入加工費; | |
*/ |
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 <Siv3D.hpp> // OpenSiv3D v0.4.3 | |
void Main() { | |
// フレームレート | |
constexpr std::array<int32, 6> framerates = {15, 30, 60, 120, 165, 240}; | |
size_t index = 4; | |
Graphics::SetTargetFrameRateHz(framerates[index]); | |
Window::Resize(600, 600); | |
Scene::SetBackground(Palette::Black); |
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 pythagoras; | |
import java.util.HashSet; | |
import java.util.Objects; | |
import java.util.Set; | |
public class Pythagoras { | |
static private class Triples { | |
private int a; | |
private int 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
Param($pdfsrc) | |
$pdfout = (Get-Item $pdfsrc).DirectoryName + "\" + (Get-Item $pdfsrc).BaseName + "_resizedA6.pdf" | |
echo "$pdfsrc" | |
echo "$pdfout" | |
gswin64c.exe -sDEVICE=pdfwrite -sPAPERSIZE=a6 -dFIXEDMEDIA -dPDFFitPage -o $pdfout $pdfsrc |
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
$OutputEncoding='utf-8' | |
Add-type -AssemblyName System.Windows.Forms | |
Add-Type -AssemblyName Microsoft.VisualBasic | |
# original Send-Keys by @nimzo6689 | |
# https://qiita.com/nimzo6689/items/488467dbe0c4e5645745 | |
<# |