Skip to content

Instantly share code, notes, and snippets.

Ikiru Yoshizaki guitarrapc

Block or report user

Report or block guitarrapc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View linqpad.json
{
"version": "6.3",
"homepage": "https://www.linqpad.net",
"description": "The .NET programmer’s playground.",
"license": {
"identifier": "Freeware",
"url": "https://www.linqpad.net/eula.txt"
},
"url": "http://download.linqpad.net/public/LINQPad6.zip",
"hash": "78ae277876f48e594fe4a3ecc8145a29d7ff8439fe43dcf2af537871961aee72",
View macos_psversiontable.ps1
Name Value
---- -----
PSVersion 6.2.3
PSEdition Core
GitCommitId 6.2.3
OS Darwin 18.7.0 Darwin Kernel Version 18.7.0: Tue…
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
View agones-deploy.yaml
apiVersion: "agones.dev/v1"
kind: GameServer
metadata:
name: udp-server
generateName: "simple-udp-"
spec:
ports:
- name: default
portPolicy: Dynamic
containerPort: 7654
@guitarrapc
guitarrapc / ToUpperSnake.cs
Last active Sep 18, 2019
UpperCamel (Pascal) / smallCamel / smallcase to UPPER_SNAKE case.
View ToUpperSnake.cs
void Main()
{
ToUpperSnake("HogeMoge").Dump();
ToUpperSnake("fugafuga").Dump();
ToUpperSnake("hogeMoge").Dump();
ToUpperSnake("PIYOPIYO").Dump();
ToUpperSnake("PIYO_PIYO").Dump();
ToUpperSnake("PIYO_PIYxO").Dump();
ToUpperSnake("piyo_piyo").Dump();
ToUpperSnake("piyo_piYo").Dump();
@guitarrapc
guitarrapc / ArraySizeChange.cs
Created Sep 11, 2019
array size change in C#
View ArraySizeChange.cs
void Main()
{
// resize
var a = new[] { 1, 2, 3 };
Array.Resize(ref a, a.Length + 1); // 突然のref
a[a.Length - 1] = 4;
a.Dump();
// copy
var b = new[] { 1, 2, 3 };
View base64
aG9nZW1vZ2VmdWdhZnVnYQ==
View Program.cs
using System;
using System.IO;
using TeamsidToBitwardenConverter;
using TeamsidToBitwardenConverter.Lib;
using TeamsidToBitwardenConverter.Model.Bitwarden;
using TeamsidToBitwardenConverter.Model.TeamsId;
namespace TeamsId2BitwardeConsole
{
class Program
@guitarrapc
guitarrapc / MySQLToCsharp.csproj
Last active Aug 29, 2019
circleci config to release to GitHub with .NET Core 3.0 Single Executable-file
View MySQLToCsharp.csproj
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
<LangVersion>latest</LangVersion>
<Version>0.1.0</Version>
<AssemblyVersion>$(Version)</AssemblyVersion>
</PropertyGroup>
You can’t perform that action at this time.