Skip to content

Instantly share code, notes, and snippets.

@tweeeety
tweeeety / 20181120_event.md
Last active November 16, 2018 04:00
20181120_event.md

諸情報

  • event name
    • Design Doc Learning gathering (tentative)
  • 日時
    • 2018/11/20 Tue 16:00-17:00
  • 場所
    • 18F cafespace

事前準備

  • 会場の設営依頼(★tweeeety
@tweeeety
tweeeety / free_img_himawari.jpg
Last active August 31, 2015 03:50
sample to put the image on the gist
free_img_himawari.jpg
@tweeeety
tweeeety / script_to_start_the_nginx
Created July 5, 2015 17:12
script to start the nginx
#!/bin/sh
#
# nginx - this script starts and stops the nginx daemon
#
# chkconfig: - 85 15
# description: Nginx is an HTTP(S) server, HTTP(S) reverse \
# proxy and IMAP/POP3 proxy server
# processname: nginx
# config: /etc/nginx/nginx.conf
# config: /etc/sysconfig/nginx
@tweeeety
tweeeety / change-_etc_yum.repos.d_mysql-community.repo
Created June 10, 2015 14:21
change /etc/yum.repos.d/mysql-community.repo
# Enable to use MySQL 5.5
[mysql55-community]
name=MySQL 5.5 Community Server
baseurl=http://repo.mysql.com/yum/mysql-5.5-community/el/6/$basearch/
# 0->1に変更
#enabled=0
enabled=1
gpgcheck=1
gpgkey=file:/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
@tweeeety
tweeeety / Object.observe_sample_05.js
Last active August 29, 2015 14:17
Object.observe sample 05
var model = {
title: 'this is model.title'
};
function observer(changes){
changes.forEach(function(change, i){
console.log("[change " + i + "]");
console.log(change.name); // 変更があったpropertyの名前
console.log(change.type); // 変更の種類
});
}
@tweeeety
tweeeety / Object.observe_sample_04.js
Last active August 29, 2015 14:17
Object.observe sample 04
var model = {
title: 'this is Object.observe'
};
function observer(changes){
changes.forEach(function(change, i){
console.log("[change " + i + "]");
console.log(change.name); // 変更があったpropertyの名前
console.log(change.type); // 変更の種類
});
}
@tweeeety
tweeeety / Object.observe_sample_03.js
Last active August 29, 2015 14:17
Object.observe sample 03
// ネイティブjavascriptオブジェクト
var model = {
title: 'this is Object.observe'
};
// 監視用コールバックを定義
function observer(changes){
// changesのlengthを見てみる
console.log('changes length: ' + changes.length);
@tweeeety
tweeeety / Object.observe_sample_02.js
Last active August 29, 2015 14:17
Object.observe sample 02
// ネイティブjavascriptオブジェクト
var model = {
title: 'this is Object.observe'
};
// 監視用コールバックを定義
function observer(changes){
// changesのlengthを見てみる
console.log('changes length: ' + changes.length);
@tweeeety
tweeeety / Object.observe_sample_01.js
Last active August 29, 2015 14:17
Object.observe sample 01
// ネイティブjavascriptオブジェクト
var model = {
title: 'this is Object.observe'
};
// 監視用コールバックを定義
function observer(changes){
changes.forEach(function(change, i){
console.log(change.name); // 変更があったpropertyの名前
console.log(change.type); // 変更の種類
@tweeeety
tweeeety / package.json
Created March 15, 2015 17:53
package.json for jade sample with grunt
{
"name": "jade-sample-with-grunt",
"version": "0.0.1",
"title": "jade sample with grunt",
"description": "this is jade sample with grunt",
"keywords": [
"jade",
"grunt",
"jst",
"template"