Skip to content

Instantly share code, notes, and snippets.

@irishstu
irishstu / gist:2718782
Created May 17, 2012 13:06
Boxorder mixin
@mixin boxit ($dir) {
display:box;
display:-moz-box;
display:-webkit-box;
box-orient:$dir;
-moz-box-orient:$dir;
-webkit-box-orient:$dir;
}
@mixin order ($num) {
@BlackKetchupTea512
BlackKetchupTea512 / sublimetext_default_settings.md
Created September 4, 2012 12:11
Sublime Text 2 のDefault設定ファイルについて

追記

この記事は古いです...。はてなブログの方に完全版を置いてあります。→ http://blue-ham-cake1024.hatenablog.com/entry/2012/09/07/Sublime_Text_2_のDefault設定ファイルを眺める


はてなブログは調子が悪いようなので。

この記事ではDefault設定ファイルにどのような記述がされているか、その記述にどんな意味があるかを一つ一つ見ていきます。実際に設定をカスタマイズしてみたい方は、メニューのPreferencesタブの"Settings - User"からUser設定ファイルを開いてそこでいろいろ試してみましょう。

@gaspanik
gaspanik / st2pkgs-for-webdev.markdown
Last active January 18, 2021 09:05
ST2: Sublime Text 2 Packages for Web Developers.

Recommended Sublime Text 2 Packages for Web Developers.

Update

  • 「Browser Support」を追加しました。

2013 Spring & Summer

こもりが使っているモノやそうでないものも含め、なんとなくWebデザイナーやWebデベロッパーな人たちに便利そうなのを集めてみました。

@hideki-a
hideki-a / Gruntfile.coffee
Last active December 14, 2015 15:09
Original gruntfile for generator-website.
'use strict'
PROJECT_DIR = ''
LIVERELOAD_PORT = 35729
lrSnippet = require('connect-livereload')({ port: LIVERELOAD_PORT })
proxySnippet = require('grunt-connect-proxy/lib/utils').proxyRequest
mountFolder = (connect, dir) ->
return connect.static(require('path').resolve(dir))
module.exports = (grunt) ->
grunt.initConfig
@gaspanik
gaspanik / TXT: kkmsz-ibdsgn-vol1.markdown
Created April 18, 2013 07:33
how to install node.js

Designing in the browser Vol. 1

こけむさずで開催した「インブラウザ勉強会」の補足。

Installing Node.js

Node.jsのインストールは自分の好きな方法でどうぞ。簡単なのはもちろん1です。

  1. Node.jsのインストールは公式サイトの「Download」からバイナリをインストールする
  2. Homebrewで「brew install node」を実行する
@gaspanik
gaspanik / screenshots.js
Last active December 17, 2015 12:19 — forked from nhoizey/screenshots.js
Take screenshots at different viewport sizes using CasperJS
/*
* Takes provided URL passed as argument and make screenshots of this page with several viewport sizes.
* These viewport sizes are arbitrary, taken from iPhone & iPad specs, modify the array as needed
*
* Original:
* nhoizey / screenshots.js https://gist.github.com/nhoizey/4060568
*
* Usage:
* $ casperjs screenshots.js http://example.com
*/
@gaspanik
gaspanik / main.js
Created May 25, 2013 08:47
jQuery(CDN/Fallback) & Bootstrap load by Requirejs
requirejs.config({
baseUrl: '/js',
paths: {
jquery: ['//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min','jquery.min'],
bootstrap: 'bootstrap.min'
},
shim: {
'bootstrap':{deps: ['jquery']}
}
});
@masamunet
masamunet / Gruntfile.coffee
Last active December 20, 2015 13:29
ぼくがかんがえたさいきょうのGruntfileを晒してみる ref: http://qiita.com/masamunet/items/34022da57e2143d9084a
#除外ファイル
exclude = [
'!**/.DS_Store'
'!**/Thumbs.db'
'!**/*.coffee'
'!**/*.map'
'!**/*.scss'
'!**/*.less'
'!**/*.s.css'
'!**/*.l.css'
@hail2u
hail2u / file3.txt
Created August 4, 2013 11:56
Handlebars.jsでSSIライクなインクルードを行うヘルパー関数 ref: http://qiita.com/hail2u/items/ea68e89355d25d357ee3
$ node include-helper.js test,tmpl
<p>apple is sweet and red.</p>
<p>orange is sweet and orange.</p>
<p>grape is sweet and purple.</p>