Skip to content

Instantly share code, notes, and snippets.

View siketyan's full-sized avatar
🍖
Hungry

Naoki Ikeguchi siketyan

🍖
Hungry
View GitHub Profile
@siketyan
siketyan / rdp-iikanji.json
Created April 14, 2021 05:02
US 配列の macOS から Windows へ RDP をいい感じにしたかった
{
"title": "RDP をいい感じにするルール",
"rules": [
{
"description": "Cmd 単押しで Alt,長押しで Ctrl",
"manipulators": [
{
"type": "basic",
"description": "LCmd 単押しで LAlt,長押しで LCtrl を送信",
"from": {
@siketyan
siketyan / kadai2.c
Last active October 26, 2020 03:44
/*
* MIT License
*
* Copyright (c) 2020 Naoki Ikeguchi
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
@siketyan
siketyan / KimetsuNoWave.cs
Created October 10, 2020 13:29
Generates waveforms with the pattern of Kimetsu no Yaiba (Actually Ichimatsu Pattern).
using System;
using System.IO;
using System.Text;
namespace KimetsuNoWave
{
public static class Program
{
public static void Main(string[] args)
{
@siketyan
siketyan / syllabus.yaml
Created September 16, 2020 14:59
Kosen Web Syllabus scraped as YAML
This file has been truncated, but you can view the full file.
---
- id: "01"
name: 函館工業高等専門学校
departments:
- id: "12"
name: 生産システム工学科
subjects:
- id: "0001"
name: スポーツ科学Ⅰ
genre: 一般
@siketyan
siketyan / phpstorm.bash
Last active August 27, 2020 07:47
Open PhpStorm or other JetBrains IDEs on Windows with the directory on either WSL or Windows.
#!/bin/bash
# Configuration
DRIVE="U:"
SCRIPT="/mnt/c/Users/Siketyan/.bin/phpstorm.cmd"
to_absolute_path() {
readlink -f "$1"
}
@siketyan
siketyan / nit.svg
Last active January 7, 2022 13:02
高専機構のロゴ
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@siketyan
siketyan / i-line-game-solver.py
Created April 5, 2020 13:22
い行ゲームのソルバ(任意の行に対応)
import itertools
import os
import sys
import dotenv
import jaconv
import MeCab
characters = list(
map(lambda x: list(x), [
'あいうえお',
@siketyan
siketyan / chst.php
Created November 29, 2019 13:46
Classroom seats shuffler on PHP 7.4
<?php
// Separator
$s = ' ';
// Excluding numbers
$e = [15];
// Seat mask
$m = [
FROM openjdk:8-jre-alpine
MAINTAINER Naoki Ikeguchi <[email protected]>
ENV MINECRAFT_VERSION=1.13.2
RUN apk --update add curl git && \
rm -rf /var/cache/apk/*
RUN mkdir -p /src && \
mkdir -p /build && \

Keybase proof

I hereby claim:

  • I am siketyan on github.
  • I am siketyan (https://keybase.io/siketyan) on keybase.
  • I have a public key ASAF5wj0TiV9jND57lUEbqMzhZ5L_l-FiNFW4yrltKHjKwo

To claim this, I am signing this object: