Skip to content

Instantly share code, notes, and snippets.

@ahomu
ahomu / style_live_compile.html
Created January 5, 2013 05:17
JS BinのHTMLにこれを貼り付ければ、CSSのLive Editorになるよくん。Stylus/LESSのいずれか。簡易デモ用。 ※Stylusのクライアントサイド実行は、Try Stylusを含め@extend(s?)に対応していないので注意
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
<script src="http://aho.mu/demo/jsbin_live/highlight.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
var style = document.querySelector('style'),
output = document.getElementById('output'),
@blackfalcon
blackfalcon / sassJunkDrawer.md
Last active March 23, 2022 20:09
Clean out your Sass junk-drawer

by Dale Sande

CSS has had a long and sordid past. A developer never sets out with the goal of making a complete and total mess of things. Their intention is not to build something that is practically illegible, impractical to maintain and is limited in scale. But somehow, this is where many inevitably end up. Luckily, all is not lost. With some simple strategies, organizational methods and out-of-the box tools, we can really help get that junk-drawer inline.

For many of us getting started with Sass, at one time or another have created a junk-drawer of files. For most, this was a rookie mistake, but for others, this is a continuing issue with our architecture and file management techniques. Sass doesn't come with any real rules for file management so developers are pretty much left to their own devices.

Large CSS files and increased complexity

CSS started out with very simple intentions, but as [tableless web design][1.1] began to really take a foothold, o

@fujimura
fujimura / testing-wai-app-with-hspec-ja.md
Created December 13, 2012 15:45
HspecでWAIのアプリケーションをテストしましょう (Haskell Advent Calendar 2012 12/13)

HspecでWAIのアプリケーションをテストしましょう

この記事はHaskell Advent Calendar 2012の12月13日分です。

イントロ

最近、 scottyを使ってWebアプリケーションを書いています。テストコードはHspecで書いています。ということでHspecでscottyのアプリケーションをテストする方法をざっくり説明してみようと思います。

@rummelonp
rummelonp / percol_zsh.md
Created December 7, 2012 15:57
percol 入れて zsh と組み合わせたら超便利

percol 入れて zsh と組み合わせたら超便利

だったので紹介

percol とは

percol は入力の1行を1候補として,部分一致かつ AND 検索で絞り込みし,選択した候補を出力するコマンドです.端的に言えば Emacs の anything.el のコマンド版です.
@azu
azu / bootstrap.js
Created November 23, 2012 13:43
require.js support sourcemap
requirejs.config({
// source map
generateSourceMaps : true,
preserveLicenseComments : false,
optimize : "uglify2",
baseUrl: 'js',
paths: {
zepto: "lib/zepto",
underscore: "lib/lodash",
backbone: "lib/backbone"
@teppeis
teppeis / tenkaichi-git.md
Last active April 29, 2023 14:58
天下一gitconfig大会

天下一gitconfig大会(サイボウズ社内git勉強会@2012/11/20)の@teppeisの資料です。

ぎっとぎとにしてやんよ

DojoCat

  • gistでmarkdown書いたらbookmarkletでプレゼンになるよ。
@hayajo
hayajo / changelog_en.md
Last active April 1, 2025 14:37
ChangeLog を支える英語

ChangeLog を支える英語

ChangeLog を書く際によく使われる英語をまとめました。

ほとんど引用です。

基本形

@studiomohawk
studiomohawk / .csslintrc
Created October 18, 2012 07:44
.csslintrc
--ignore=adjoining-classes,compatible-vendor-prefixes,display-property-grouping,box-model,outline-none
@gaspanik
gaspanik / rubyonrails.md
Created September 30, 2012 14:50
Install: Install RoR on 10.8.x