Skip to content

Instantly share code, notes, and snippets.

@TatsuoWatanabe
TatsuoWatanabe / grandfathers-clock.js
Last active February 12, 2017 13:12
A song of "Grandfather's Clock" as a javascript source code.
/***************************************************************************
Copyright (c) 2017 tatsuo watanabe<tatsuo1234567@gmail.com>
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
furnished to do so, subject to the following conditions:
SVG data of ukulele code tablatures.
See also printers page demo on blocks.
http://bl.ocks.org/TatsuoWatanabe/raw/c5c054fe37a236151a194cae2f555584
If you want more ukulele code, download inkscape.
https://inkscape.org/
Then you can edit svg file, and you can create more ukulele codes very easily.
@TatsuoWatanabe
TatsuoWatanabe / ExcelGrep.cls
Last active November 14, 2022 08:06
VBA Tool for grep data in Excel.
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
END
Attribute VB_Name = "ExcelGrep"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Option Explicit
interface IExportableModel {
config: {
columns: any;
adapter: {
type: any;
collection_name: any
}
};
exportsDefinition: {
@TatsuoWatanabe
TatsuoWatanabe / alloy.jmk
Last active September 7, 2015 18:57
Titanium + Alloy + TypeScript1.0RC のコンパイル ref: http://qiita.com/TatsuoWatanabe/items/14e6b8062d64d895e465
task("pre:compile", function(event,logger) {
var wrench = require("wrench"),
fs = require("fs"),
path = require("path");
var code = [
fs.readFileSync("/usr/local/lib/node_modules/alloy/bin/tsc.js"), // <- path to tsc.js in your environment
"module.exports = TypeScript;"
].join("");
fs.writeFileSync(process.env.TMPDIR + "tsc.js", code);