Skip to content

Instantly share code, notes, and snippets.

View tenmihi's full-sized avatar

Kenichi Murao tenmihi

  • Fukuoka
  • 23:44 - 9h ahead
View GitHub Profile
use strict;
use warnings;
use File::Glob qw/bsd_glob/;
use File::Basename qw/dirname/;
use File::Path;
use File::Copy qw/move/;
my $input_dir_path = $ARGV[0];
my $output_dir_path = $ARGV[1];
use strict;
use warnings;
use File::Glob qw/bsd_glob/;
use File::Basename qw/dirname/;
use File::Path;
my $input_dir_path = $ARGV[0];
my $output_dir_path = $ARGV[1];
@tenmihi
tenmihi / game review template
Last active February 23, 2021 05:04
hatena blog向けのレビュー記事テンプレートです
XXXのレビューです
ネタバレ含むので注意⚠️
<!-- more -->
# プレイ時期
# プレイ時間
@tenmihi
tenmihi / template.yaml
Created December 4, 2018 17:06
cloudformation template for simple slack bot (pingpong)
---
AWSTemplateFormatVersion: 2010-09-09
Description: "Slack bot"
Parameters:
SlackBotUserOAuthAccessToken:
Type: String
Description: "Slack Bot User OAuth Access Token"
Resources:
# Lambda
LambdaExecutionRole:
require 'discordrb'
# Discord botのTOKEN,CLIENT_IDを指定する
bot = Discordrb::Bot.new token: TOKEN, client_id: CLIENT_ID
bot.message(with_text: 'bot embed') do |event|
event.channel.send_embed do |embed|
embed.title = 'fugafuga'
embed.url = 'hoge.com'
embed.author = Discordrb::Webhooks::EmbedAuthor.new(name: 'hoge-san')
using UnityEngine;
using UnityEngine.EventSystems;
[RequireComponent(typeof(CanvasGroup))]
public class Draggable : MonoBehaviour, IDragHandler, IBeginDragHandler, IEndDragHandler
{
/// <summary>
/// ドラッグが始まった時のイベント
/// </summary>
/// <param name="eventData"></param>