Skip to content

Instantly share code, notes, and snippets.

View tnantoka's full-sized avatar
🏠
Working from home

Tatsuya Tobioka tnantoka

🏠
Working from home
View GitHub Profile
@tnantoka
tnantoka / 2x3_3x2.ipynb
Created March 30, 2020 12:57
2x3と3x2の行列の内積
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"name": "Dropbox-iOS-SDK",
"version": "1.3.14",
"summary": "The Dropbox SDK for iOS.",
"homepage": "https://www.dropbox.com/developers/core/sdks/osx",
"authors": "Dropbox",
"source": {
"http": "https://www.dropbox.com/static/developers/dropbox-ios-sdk-1.3.14.zip"
},
"platforms": {
@tnantoka
tnantoka / toodo.md
Last active January 14, 2016 04:32
TooDo
  • Gist側の更新をリストに反映
  • GitHubでrevokeされると、ユーザー設定でGistが有効化できなくなる
  • 検索
  • キーボードショートカット
  • Reactコンポーネントのテスト
  • 編集中のタスクをわかりやすく(未確定がわかりづらい)
  • beforeunload
  • 挿入直後に編集すると入力内容が消えることがある(Gist同期?)
  • iOSで編集できない、viewportも設定されてない
  • 全てをチェック、その逆
ja:
admin:
loading: "読み込み中..."
home:
name: "ホーム"
pagination:
previous: "« 前"
next: "次 »"
truncate: "…"
misc:
Pod::Spec.new do |s|
s.name = "DLCImagePickerController"
s.version = "0.0.1"
s.summary = "ImagePickerController with live filters, radial blur and more. Brought to you by the fine ladies and gents at Backspaces."
s.description = <<-DESC
DLCImagePickerController is a fast, beautiful and fun way to filter and capture your photos with OpenGL and your iPhone.
The majority of the praise should be directed towards BradLarson for his GPUImage library.
DESC
s.homepage = "www.backspac.es"
s.license = 'BSD'
// Just 2 line like following
#define kPublisherId @"Your Publisher Id"
#define kTestIPadId @"Your iPad Identifier"
@tnantoka
tnantoka / bottom.js
Created October 15, 2011 13:31
Call fn when scroll on the bottom of page
function onBottom(fn) {
window.addEventListener('scroll', function() {
var scrollTop = document.body.scrollTop || document.documentElement.scrollTop;
var scrollHeight = /*document.body.scrollHeight ||*/ document.documentElement.scrollHeight;
var clientHeight = /*document.body.clientHeight ||*/ document.documentElement.clientHeight;
var remain = scrollHeight - (clientHeight + scrollTop);
if (remain == 0) {
fn();
@tnantoka
tnantoka / for.js
Created October 11, 2011 08:09
Simple command line wrapper for forever.js
#!/usr/bin/env node
/* Simple wrapper for forever.js */
var exec = require('child_process').exec;
var SCRIPT_NAME = 'app.js';
//var FOREVER = './node_modules/forever/bin/forever'; // installed locally
var FOREVER = 'forever'; // installed globally