Skip to content

Instantly share code, notes, and snippets.

View nulltask's full-sized avatar

Seiya KONNO nulltask

View GitHub Profile
@kakutani
kakutani / Annotation.md
Last active September 26, 2019 13:35 — forked from ursm/Gemfile
Raw Gemfile on Idobata (master - 5adeddb)

Idobata Gemfile プレゼント

tl;dr IdotabaのGemfileは"全プレ"になりました。ご笑納ください。→ Gemfile

プレゼントについてのお詫び

rebuild.fmのep36でお知らせさせていただきました、Idobataの最新版Gemfileプレゼントをお届けいたします。 過日はIdobata会議01への多数のご参加ありがとうございました。おかげさまで盛況なミートアップとなりました。 (当日会場を提供いただいたEngine Yardさまのブログにて、Idobata会議01当日の様子がまとめられています。ありがとうございます!)

@japboy
japboy / Gruntfile.coffee
Created May 16, 2014 15:57
Grunt task to generate sprite sheets using Spritesheet.js for PIXI.js
module.exports = (grunt) ->
grunt.initConfig
sprite:
common:
files:
'assets/img': 'assets/img/common/*.*'
options:
name: 'common'
var $ = require('NodObjC');
$.import('Cocoa');
var installNSBundleHook = function() {
var cls = $.NSBundle;
if (cls) {
var bundleIdentifier = cls.getInstanceMethod('bundleIdentifier');
bundleIdentifier.setImplementation(function(val) {
@blalor
blalor / gist:c325d500818361e28daf
Created May 2, 2014 04:37
redhat init script for consul
#!/bin/bash
#
# consul Manage the consul agent
#
# chkconfig: 2345 95 95
# description: Consul is a tool for service discovery and configuration
# processname: consul
# config: /etc/consul.conf
# pidfile: /var/run/consul.pid
@yosuke-furukawa
yosuke-furukawa / gist:9847572
Last active September 8, 2016 14:55
PromiseについてのSubstackとizaacsの議論が面白い
@koba04
koba04 / api.md
Last active July 19, 2021 10:49
Vue.js note(v0.10.3). not translate. This is draft of https://github.com/koba04/vuejs-book .

API

Class: Vue

  • Vueはvue.jsのコアとなるコンストラクタ
  • インスタンスが作られたときにデータバインディングが開始される
  • オプションを取ることも出来て、DOMやデータやメソッドについて定義出来る
@rummelonp
rummelonp / mozjpeg_install.sh
Created March 7, 2014 15:53
mozjpeg を自前でコンパイルした上で homebrew 管理下に置く
brew install autoconf
brew install automake
brew install libtool
brew install nasm
brew install apple-gcc42
cd /usr/local/src/
git clone git@github.com:mozilla/mozjpeg.git
cd mozjpeg/
git checkout v1.0
@ARolek
ARolek / ImageMagick-Amazon-Linux.md
Last active February 10, 2023 00:07
Install ImageMagick from source on Amazon Linux

I needed a newer version of ImageMagick than is available on the yum packages on Amazon Linux. I tried using the remi repo but it failed with dependency errors. Here is what I did to install ImageMagick with support for PNG, JPG, and TIFF.

download the most recent package

wget http://www.imagemagick.org/download/ImageMagick.tar.gz

uncomress the package

class SimpleSearchForm
include ActiveAttr::Model
class_attribute :_search_model
class_attribute :_like_attributes
class_attribute :_equal_attributes
class_attribute :_join_tables
self._like_attributes = []
self._equal_attributes = []