Skip to content

Instantly share code, notes, and snippets.

Takeshi KIRIYA takeshik

Block or report user

Report or block takeshik

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 .gitconfig.vsdiffmerge
[diff]
tool = vsdiffmerge
[merge]
tool = vsdiffmerge
[difftool "vsdiffmerge"]
cmd = \"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\vsdiffmerge.exe\" \"$LOCAL\" \"$REMOTE\" //t
keepbackup = false
View keybase.md

Keybase proof

I hereby claim:

  • I am takeshik on github.
  • I am takeshik (https://keybase.io/takeshik) on keybase.
  • I have a public key whose fingerprint is 9231 EC22 ED08 0B15 F0B5 231A 4170 FA42 22C3 D324

To claim this, I am signing this object:

View human-readable-msdn.css
div#body {
max-width: none !important;
}
table.members tr:hover {
background-color: #ffffcc;
}
th.iconColumn {
width: 75px;
@takeshik
takeshik / rx.snippet
Created Apr 3, 2015
%USERPROFILE%\Documents\LINQPad Snippets に置いて rx [Tab]
View rx.snippet
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>rx - assemblies and namespaces</Title>
<Description>rx - assemblies and namespaces</Description>
<Shortcut>rx</Shortcut>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
@takeshik
takeshik / DynamicJson.patch
Created Nov 26, 2014
Fix deserialized property name if the key contains (perhaps) non-ASCII, or XML-element-invalid chars
View DynamicJson.patch
--- DynamicJson.cs
+++ DynamicJson.fixed.cs
@@ -322,15 +322,17 @@
// Deserialize or foreach(IEnumerable)
public override bool TryConvert(ConvertBinder binder, out object result)
{
if (binder.Type == typeof(IEnumerable) || binder.Type == typeof(object[]))
{
var ie = (IsArray)
? xml.Elements().Select(x => ToValue(x))
View StarryEyes-improve_connection.patch
From b6f08957c1605b441385e6b671f9fdd7b6df9cf4 Mon Sep 17 00:00:00 2001
From: Takeshi KIRIYA <takeshik@xspect.org>
Date: Mon, 14 Jul 2014 09:24:07 +0900
Subject: [PATCH] improve connection
---
StarryEyes.Casket/Cruds/ListUserCrud.cs | 6 +-
StarryEyes.Casket/Cruds/ManagementCrud.cs | 6 +-
StarryEyes.Casket/Cruds/Scaffolding/CrudBase.cs | 74 ++-----------------------
StarryEyes.Casket/Cruds/UserCrud.cs | 2 +-
@takeshik
takeshik / f79ed30-HEAD.patch
Last active Aug 29, 2015
[PATCH] よくわからないが、こうすると落ちなくなる (酷)
View f79ed30-HEAD.patch
StarryEyes/Hotfixes/ViewModelHelperRx.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/StarryEyes/Hotfixes/ViewModelHelperRx.cs b/StarryEyes/Hotfixes/ViewModelHelperRx.cs
index 811f4ed..2efd9c6 100644
--- a/StarryEyes/Hotfixes/ViewModelHelperRx.cs
+++ b/StarryEyes/Hotfixes/ViewModelHelperRx.cs
@@ -77,7 +77,7 @@ namespace StarryEyes
switch (e.Action)
{
View msgpack-test.cs
void Main()
{
var ser = new PolymorphismicSerializer<I>();
var xs = new []
{
new Z() { A = 0x7f, B = 0x7e, C = 0x7d, },
new Y() { A = 0x7c, B = 0x7b, },
new X() { A = 0x7a, },
new Y() { A = 0x7b, B = 0x7c, },
new Z() { A = 0x7d, B = 0x7e, C = 0x7f, },
View args.cs
/*
#1 #2 #3 avg(1,2,3) 生成込み?
struct-refarg 3845 3837 3840 3840.666667
struct 3975 3951 3947 3957.666667 *
out 3946 3945 3909 3933.333333
obj 4521 4754 4586 4620.333333 *
obj-arg 4431 4756 4658 4615
ary 4700 4847 4882 4809.666667 *
tuple 4672 5133 4921 4908.666667 *
stackalloc 4658 4671 4645 4658 *
View log.cs
public class Log
{
public delegate string HeaderFunc(
[CallerFilePath] string file = "",
[CallerLineNumber] int line = 0,
[CallerMemberName] string member = ""
);
internal class Disposable : IDisposable
{
You can’t perform that action at this time.