Skip to content

Instantly share code, notes, and snippets.

View nakakaz11's full-sized avatar

NaKaz nakakaz11

View GitHub Profile
@nakakaz11
nakakaz11 / TYOdoc.markdown
Last active February 5, 2020 05:54
tyo.samuraiworks.org

🔔Memo コンテスト期間中 頂くデータにより 随時アップデート Testしています

  • 仮想時刻にて時刻表示(現在時刻以外)検討

  • 2002 データ 分析/テスト/

    1. Bus Test
      ○ 東京都交通局
      小田急バス
      ○ 関東バス
      京王電鉄バス
@nakakaz11
nakakaz11 / Installation_main.js
Last active December 10, 2015 07:43
Voronoi graphical Installation
// Generated by CoffeeScript 1.7.1
var end,
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
end = null;
require.config({
baseUrl: "./",
paths: {
@nakakaz11
nakakaz11 / index.html
Last active March 31, 2018 05:06
my..weight (d3.js ES6 to ES5) #3
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="copyright" content="COPYRIGHT© 2013 SW Samuraiworks.org ALL RIGHTS RESERVED.">
<meta name="Keywords" content="SW,Samuraiworks d3,d3.js,coffee,coffeescript,physics,D3,D3JS,nakakaz11,svg,canvas,dom,voronoi,affine">
<meta name="Description" content="">
<title>oreD3 2016 ES6 weight</title>
<style type="text/css" media="screen">
#wrapper0 {
@nakakaz11
nakakaz11 / index.html
Last active March 31, 2018 05:06
my..weight (d3.js coffee to ES6) #2
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="copyright" content="COPYRIGHT© 2013 SW Samuraiworks.org ALL RIGHTS RESERVED.">
<meta name="Keywords" content="SW,Samuraiworks d3,d3.js,coffee,coffeescript,physics,D3,D3JS,nakakaz11,svg,canvas,dom,voronoi,affine">
<meta name="Description" content="">
<title>oreD3 2016 ES6 weight</title>
<style type="text/css" media="screen">
#wrapper0 {
@nakakaz11
nakakaz11 / functions.php
Created June 20, 2014 03:21
Wordpress functions.php内で使っている変数をJSで使いたいとき ref: http://qiita.com/nakakaz11/items/b67de932a6979f60425f
function functionsInfoToJs() {
get_currentuserinfo();
global $user_level;
echo '<script type="text/javascript">var _g_user_level = "' . $user_level . '";</script>'; // JS内はよしなに
}
// 管理画面内に出力
//add_action( 'admin_print_scripts', 'functionsInfoToJs' );
// 全体の画面内に出力
add_action( 'wp_print_scripts', 'functionsInfoToJs' );
@nakakaz11
nakakaz11 / css_resources.md
Created March 20, 2014 08:49 — forked from jookyboi/css_resources.md
CSS libraries and guides to bring some order to the chaos.

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides

@nakakaz11
nakakaz11 / javascript_resources.md
Created March 20, 2014 08:49 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
  • lawnchair - Key/value store adapter for indexdb, localStorage
@nakakaz11
nakakaz11 / 0_reuse_code.js
Created March 20, 2014 08:49
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@nakakaz11
nakakaz11 / _.md
Created May 8, 2013 05:06
every day i'm lerping t6 transition
@nakakaz11
nakakaz11 / _.md
Created May 8, 2013 04:57
force layout