Skip to content

Instantly share code, notes, and snippets.


dai dai

View GitHub Profile
dai / hola.js
Last active Aug 29, 2015
2014-03-19 2nd
View hola.js
console.log('saa, hajimeyou!');
View mf-two-ja-demo.js
// embed test for #mainframe2 (Japan)
<script src=''></script>
View README.txt
You can represent time statements in most western languages where
a prefix and/or suffix is used.
The default case is to use suffix only (as in English), which you
do by providing the `suffixAgo` and `suffixFromNow` settings in
the strings hash (earlier versions of timeago used the deprecated
`ago` and `fromNow` options). If present, they are used.
2 minutes [suffixAgo]
2 minutes [suffixFromNow]
View 0411.lng
;NetXfer2.87対応日本語言語:20090912 by barlog”大輔”
;ご連絡は まで。
; '\n' はリターンコードを表しているため、必ず保留するように,'\t'はタブを表しているため、保留するように
; '&' 後ろの英文字はショットカットキーとして使用することできます
; '%' と後ろの英文字は代入用文字です、必ず保留するように
View fib-closure.go
package main
// fib returns a function that returns
// successive Fibonacci numbers.
// quoted by
func fib() func() int {
a, b := 0,1
return func() int {
a, b = b, a+b
return b
dai / ropt.ion
Created Apr 16, 2012
View ropt.ion
#Hi i nade it.
##i made New word of
View urld-all.css
.portrait {
float: left;
width: 120px;
margin-right: 35px;
margin-bottom: 50px;
.portrait .name {
font-size: 14px;
var shareButton = Ti.UI.createButton({title:'share'});
shareButton.addEventListener('click',function(e) {
var shareText = 'share the text';
// ボタン押したら、ACTION_SEND対応のアプリへ暗黙インテント発行
var intent = Ti.Android.createIntent({
action: Ti.Android.ACTION_SEND
// EXTRA_TEXTとして、shareTextの内容を渡す
dai / string.xml
Created Jul 16, 2012
japanese string.xml for android apps.
View string.xml
<?xml version="1.0" encoding="utf-8"?>
Copyright 2012 GitHub Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
dai / flash_entitlements.xml
Created Aug 9, 2012
Flash Player 11.4 Beta 2 - Notes for iOS Push Notifications.
View flash_entitlements.xml