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
#coding: utf-8 | |
require "strscan" | |
class Notepad | |
def initialize() | |
@s_inc="メ" | |
@s_dec="モ" | |
@s_nxt="note" | |
@s_prv="pad" |
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
#!/usr/bin/env bash | |
echo 'Are you running in sudo?' | |
echo 'Yes : Press Enter.' | |
echo 'No : Ctrl-C and run "sudo ./bash43.sh"' | |
read waiting | |
wget http://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz | |
tar xf bash-4.3.tar.gz | |
cd bash-4.3.tar.gz |
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
//This code is semi-auto-generated with regular expressions from jQuery.easing | |
//Under the MIT License. | |
using System; | |
namespace EasingSharp | |
{ | |
public delegate double EasingFunction(double time, double timeDuration, double startValue, double valueDuration); | |
public static class Easing |
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; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace Kb10uy.Collections.Generic | |
{ | |
public class SortedLinkedSet<T, TKey> : IEnumerable<T>, ICollection<T> | |
where TKey : IComparable<TKey>, IEquatable<TKey> |
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
# Created by newuser for 5.0.6 | |
# 少し凝った zshrc | |
# License : MIT | |
# http://mollifier.mit-license.org/ | |
######################################## | |
# 環境変数 | |
#export LANG=ja_JP.UTF-8 | |
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
public static OptionSelectionInformation LinearLaserOptionInformation = new OptionSelectionInformation() | |
{ | |
Name = "直線レーザー", | |
Description = "普通のレーザーです", | |
Operation = LinearLaserOption, | |
ModeStrings = new[] { "Kbtter5", "魔理沙" }, | |
UserValueCombination = OptionSelectionValue.Direction | OptionSelectionValue.Mode, | |
DefaultValue = new OptionInitializationInformation() | |
{ | |
Direction = OptionDirection.Up, |
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.Text; | |
public class DisDaydream { | |
public static void Main(string[] args) { | |
if (args.Length==0) { | |
Console.WriteLine("Usage : DisDaydream <input file> [<output file>]"); | |
} | |
var inputf=args[0]; |
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
# ~/.tmuxinator/default.yml | |
name: default | |
root: ~/ | |
# Optional tmux socket | |
# socket_name: foo | |
# Runs before everything. Use it to start daemons etc. | |
# pre: sudo /etc/rc.d/mysqld start |
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
# prefixキーをC-aに変更する | |
set -g prefix C-a | |
# C-bのキーバインドを解除する | |
unbind C-b | |
# キーストロークのディレイを減らす | |
set -sg escape-time 1 | |
# ウィンドウのインデックスを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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
public class Program { | |
public static void Main(string[] args) { | |
Func<string> お話 = () => "ごちうさ6羽"; | |
お話().をするお話()(); | |
お話().をするお話().をするお話().をするお話().をするお話()()()()(); |