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
using System.IO.Compression; | |
using System.Text; | |
using System.Security.Cryptography; | |
using Microsoft.Xna.Framework.Graphics; | |
class Program { | |
static void Main( string[] _ ) => new Program().MainProc(); | |
private void MainProc() { |
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
// ==UserScript== | |
// @name Text2Link | |
// @namespace http://www.sanno-net.com/text2link | |
// @version 1.0 | |
// @description try to take over the world! | |
// @author You | |
// @match https://teratail.com/* | |
// @grant none | |
// ==/UserScript== |
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
function onOpen() { | |
SpreadsheetApp.getUi() | |
.createMenu("マクロ") | |
.addItem("Export PDF", "exportPDF") | |
.addToUi(); | |
} | |
function encodeDate(yy, mm, dd, hh, ii, ss) { | |
var days = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; | |
if (yy % 4 == 0 && (yy % 100 != 0 || yy % 400 == 0)) days[1] = 29; |
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
using System; | |
using System.IO; | |
using System.IO.Compression; | |
using System.Text; | |
class Program { | |
static void Main( string[] args ) { | |
var modPath = @"%USERPROFILE%\Documents\My Games\Terraria\ModLoader\Mods\CalamityMod.tmod"; | |
var outputDir = @"C:\Temp"; |
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
<Window x:Class="WpfApp1.MainWindow" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" | |
xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" | |
xmlns:local="clr-namespace:WpfApp1" | |
mc:Ignorable="d" | |
Title="MainWindow" |
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
//Paiza Lerning 長テーブルのうなぎ屋 (paizaランク B 相当) | |
//https://paiza.jp/learning/long-table | |
using System; | |
using System.Collections.Generic; | |
public class Program { | |
public static void Main() { | |
var s = Console.ReadLine().Split( ' ' ); |
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
//Paiza Lerning 単語のカウント (paizaランク C 相当) | |
//https://paiza.jp/learning/word-count | |
using System; | |
using System.Collections.Generic; | |
public class Hello{ | |
public static void Main(){ | |
//標準入力から1行読み込む | |
string line = Console.ReadLine(); |
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
//Paiza Lerning 足し算 (paizaランク D 相当) | |
//https://paiza.jp/learning/addition | |
using System; | |
public class Hello{ | |
public static void Main(){ | |
//標準入力から1行読み込み | |
string line = Console.ReadLine(); | |
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
//島探し (paizaランク S 相当) | |
//https://paiza.jp/learning/search-island | |
using System; | |
using System.Collections.Generic; | |
public class Program { | |
public static void Main() { | |
var s = Console.ReadLine().Split( ' ' ); |
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
using System; | |
using System.Collections.Generic; | |
public class Hello { | |
public static void Main() { | |
var line = Console.ReadLine().Split( ' ' ); | |
var boxCount = int.Parse( line[0] ); | |
var radius = decimal.Parse( line[1] ); | |
var boxNos = new List<int>(); |