Skip to content

Instantly share code, notes, and snippets.

@yak1ex
yak1ex / AboutDlg.cpp
Last active August 20, 2018 15:24
MX FLOW
#include <windows.h>
#include <Strsafe.h>
#include <vector>
#include <boost/align/aligned_allocator.hpp>
typedef boost::alignment::aligned_allocator<void, 4> aligned_allocator;
class buffer
{
public:
@yak1ex
yak1ex / README.md
Created August 7, 2017 06:23
nwjs on Win32

nw

/**
 * Patch to circumvent win32 fs locking behavior
 */
if(require('os').platform() === 'win32')
{
  const realFs = require('fs')
 const gracefulFs = require('graceful-fs')
@yak1ex
yak1ex / badges.md
Last active June 28, 2017 06:12
badges

textutils Build Status JavaScript Style Guide Coverage Status

Test-Kealitee-Extra CPAN version CPAN license

@yak1ex
yak1ex / YakSetup.psm1
Last active August 3, 2017 11:33
Bootstrap environment
# YakSetup.psm1
function Get-ArchivePath {
<#
.Synopsis
Get archive paths from URL content by using regexp.
.Description
Get archive paths from URL content by using regexp.
This function accepts multiple regexs and assumes each $matches[1] has archive path.
@yak1ex
yak1ex / chocolatey.md
Last active June 28, 2017 03:56
chocolatey memo

profile

Before install, \Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 should have more than 4 bytes

feature

install location settings

@yak1ex
yak1ex / .gitignore
Last active June 7, 2017 07:02
node-bootstrap
*.BAK
===> lib/clang/libllvmminimal (obj,all,install)
/usr/obj/usr/src/tmp/usr/src/lib/clang/libllvmminimal created for /usr/src/lib/clang/libllvmminimal
/usr/obj/usr/src/tmp/usr/src/lib/clang/libllvmminimal/Support created for /usr/src/lib/clang/libllvmminimal
/usr/obj/usr/src/tmp/usr/src/lib/clang/libllvmminimal/TableGen created for /usr/src/lib/clang/libllvmminimal
clang++ -O2 -pipe -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=\"i386-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"i386-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/tmp\" -ffunction-sections -fdata-sections -MD -MF.depend.Support_APInt.o -MTSupport/APInt.o -Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c /usr/src/contrib/llvm/lib/Support/APInt.cpp -o Support/APInt.o
In file included from /usr/src/contrib/llvm/lib/Supp
@yak1ex
yak1ex / a.clang.s
Created April 22, 2017 21:12
x86_64 clang suspection
.text
.def __cxx_global_var_init;
.scl 3;
.type 32;
.endef
.p2align 4, 0x90
__cxx_global_var_init: # @__cxx_global_var_init
.Ltmp0:
.seh_proc __cxx_global_var_init
# BB#0:
@yak1ex
yak1ex / crr.html
Last active August 29, 2015 14:02
prototype for computer recreation revisited
<html>
<head>
<style type="text/css">
#canvas-container
{
position: relative;
top: 0;
left: 0;
}
@yak1ex
yak1ex / memo.md
Last active August 29, 2015 14:01
劇場版魔法少女まどか☆マギカ展 もう一度あなたに会いたい… 大阪 5/17,18 12:40~ 声優トークショーメモ

注意事項

  • チケットの封筒の内側にメモった内容をもとにしたものです(その場で思い立ったので)。結構頑張ってメモったつもりでしたが特に話の繋ぎの部分はメモがなくて曖昧だったりします。他、発言者の混同、ニュアンスの違い等多々あるはずのでその点はご注意ください。
  • 「」内も台詞ままではありません。
  • メモ部分はできるだけ私の感想・コメントを排して記述したつもりですが、上記の通り結構なフィルタがかかっている可能性があります。
  • なお、どの声優さんも作品の感想・解釈については「個人的意見」という点は強調していらっしゃいましたのでその点はご承知おきください。

5/17(土) 12:40~