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
#!/bin/sh | |
printf " | |
[38;2;245;240;237m⣿[38;2;245;240;237m⣿[38;2;245;240;237m⣿[38;2;245;240;237m⣿[38;2;245;240;237m⣿[38;2;246;241;238m⣿[38;2;246;241;238m⣿[38;2;246;241;238m⣿[38;2;246;241;238m⣿[38;2;247;242;239m⣿[38;2;247;242;239m⣿[38;2;247;242;239m⣿[38;2;247;242;239m⣿[38;2;247;242;239m⣿[38;2;247;242;239m⣿[38;2;247;242;239m⣿[38;2;247;242;239m⣿[38;2;248;243;240m⣿[38;2;248;243;240m⣿[38;2;250;245;242m⣿[38;2;250;245;242m⣿[38;2;250;245;242m⣿[38;2;250;245;242m⣿[38;2;250;245;242m⣿[38;2;250;245;242m⣿[38;2;250;245;242m⣿[38;2;250;245;242m⣿[38;2;250;245;242m⣿[38;2;250;245;242m⣿[38;2;250;245;242m⣿[38;2;250;245;242m⣿[38;2;250;245;242m⣿[38;2;250;245;242m⣿[38;2;249;242;239m⣿[38;2;252;245;239m⣿[38;2;254;248;244m⣿[38;2;251;244;243m⣿[38;2;248;239;239m⣿[38;2;253;246;247m⡿[38;2;249;240;241m⠿[38;2;247;239;239m⣿[38;2;252;245;245m⠿[38;2;252;243;244m⢿[38;2;248;243;240m⣿[38;2;249;244;239m⣿[38;2;246;242;236m⣿[38;2;249;244;235m⣿[38;2;250;246;236m⣿[38;2;250;245;241m⣿[38;2;250;245;242m⣿[38 |
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
const std = @import("std"); | |
pub const Scanner = struct { | |
const Self = @This(); | |
const stdin = std.io.getStdIn(); | |
var buffered_reader = std.io.bufferedReader(stdin.reader()); | |
var reader = buffered_reader.reader(); | |
buffer: [65536]u8 = undefined, |
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
const std = @import("std"); | |
const Allocator = std.mem.Allocator; | |
const DisjointSet = struct { | |
const Self = @This(); | |
roots: []usize, | |
sizes: []usize, | |
groups: usize, | |
allocator: Allocator, |
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
$SIV3D_VERSION = "0.6.13" | |
$resources = (Get-ChildItem -Recurse Resource.rc) | |
foreach ($resource in $resources) { | |
$directory = $resource.DirectoryName | |
Write-Host "Resource.rc Found! (${resource})" -ForegroundColor Green | |
$content = (Get-Content $resource.FullName -Raw) -replace "/\*[\s\S]*?\*/|//.*", "" | |
$m = [regex]::Matches($content, "(?<=(^|\s)Resource\()[^\(\)]+(?=\))", "Multiline") |
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
#include <Wire.h> | |
#include "Adafruit_MPR121.h" | |
Adafruit_MPR121 cap = Adafruit_MPR121(); | |
uint16_t currtouched = 0; | |
uint16_t state[12] = {}; | |
uint16_t rstate[12] = {}; | |
bool tstate[12] = {}; | |
const char Data[3] = { 1, 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
byte step=2; //ピン番号は適当に実配線と合わせる | |
byte dir=5; //ピン番号は適当に実配線と合わせる | |
#define D 587 | |
#define E 659 | |
#define F 739 | |
#define G 783 | |
#define A 880 | |
#define B 987 | |
#define a 225 | |
#define b 450 |
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
.SILENT: | |
.PHONY: 名句 | |
名句: | |
echo "古池や\n蛙飛びこむ\n水の音" |
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
# pragma once | |
# include <Siv3D.hpp> | |
namespace Tween | |
{ | |
struct transition_t | |
{ | |
double to; | |
Duration begin, end; | |
std::function<double(double)> easingFunction = EaseInLinear; |
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
{ | |
"$schema" : "https://aka.ms/winget-packages.schema.2.0.json", | |
"CreationDate" : "2022-12-29T20:25:53+09:00", | |
"Sources" : | |
[ | |
{ | |
"Packages" : | |
[ | |
{ | |
"PackageIdentifier" : "7zip.7zip" |
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
# include <cstdint> | |
# include <iostream> | |
# include <vector> | |
# include <cassert> | |
# include <set> | |
namespace Ryoga_exe | |
{ | |
using int32 = std::int32_t; | |
using int64 = std::int64_t; |
NewerOlder