Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mekkoo
mekkoo / SenseOfColor.php
Last active November 16, 2015 05:09
色抽出 - 平均色
<?php
class SenseOfColor
{
private $filepath;
public function __construct($filepath)
{
$this->filepath = $filepath;
}
@mekkoo
mekkoo / FOSUserBundle.ja.yml
Last active August 29, 2015 14:16
”sitetitle"というのが今回追加したいフィールドです。
# Group
group:
edit:
submit: グループの更新
show:
name: グループ名
new:
submit: グループの作成
flash:
updated: グループが更新されました
* 第3回 eスポーツ学生選手権 公式サイト http://www.espajp.com/incolle2012/
* 第2回 学生FPS交流会 〜新兵応援フェア〜 公式サイト http://www.espajp.com/recruit2012/
* 大学生FPS交流会2011 〜AVAんギャルド忘年会〜 公式サイト http://www.espajp.com/avantgarde2011/
* 第2回 eスポーツ学生選手権 公式サイト http://www.espajp.com/incolle2011/
* 齋藤雄志教授 / 佐藤創教授 退職記念講演会 http://www.ne.senshu-u.ac.jp/~cd/ss/
* 専修大学ネットワーク情報学部 プロジェクト発表会2012 http://www.ne.senshu-u.ac.jp/project2012/
@mekkoo
mekkoo / Gruntfile.js
Created April 2, 2014 02:59
Gruntfile.js - less file wildcard
// Generated on 2014-03-22 using generator-bootstrap-less 3.2.0
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
{
"page_info" : {
"id": 100,
"name": "Page Name"
},
"keys": [
{
"id": 0,
"key_name": "Key Name",
"key_desc": "Key Desc",
{
"page_info" : {
"id": 100,
"name": "○○の比較表"
},
"keys": [
{
"id": 344,
"key_name": "キャリア",
"key_desc": "キャリアとは〜",
@mekkoo
mekkoo / gist:6577909
Last active December 23, 2015 04:09
render.js
"use strict";
$(function(){
// var items = [];
var pages,pages_items = {};
$.ajax({
url: '../pages.json',
dataType: 'json',
@mekkoo
mekkoo / gist:6577579
Last active December 23, 2015 03:59
JsViews Observable
pages = {
"page_info" : {
"id": 100,
"name": "○○の比較表"
},
"keys": [
{
"id": 344,
"key_name": "キャリア",
"key_desc": "キャリアとは〜",
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("http://www.google.co.jp/reader/view/"),
url-prefix("http://www.google.com/reader/view/"),
url-prefix("https://www.google.co.jp/reader/view/"),
url-prefix("https://www.google.com/reader/view/") {
div.item-body{
font-size:14px;
}
.entry .entry-body, .entry .entry-title, .entry .entry-likers{