Skip to content

Instantly share code, notes, and snippets.

View naru0504's full-sized avatar
:atom:
Used to use Atom

Naruhito Kubota naru0504

:atom:
Used to use Atom
View GitHub Profile
@hail2u
hail2u / csslint-rules.md
Last active April 29, 2023 14:59
CSSLintのRulesの超訳

訳注

これは超訳です。

CSSLintは「なんでこんなルールなんだ…」とイラっとすることが多いですけど、それぞれにそれなりに理由があります。まぁ勿論無視するべきなルールとかもあります。例えば見出し要素の再定義禁止とかはHTML5に対するCSSなら無理な話です。そんなわけでどんな理由なのかを簡単に訳しました。無視するかどうかは自分で決めましょう!

この訳はCSSLintと同じライセンスで提供されます。

Possible Errors

@tily
tily / scaling_isomorphic_javascript_code.ja.markdown
Last active May 1, 2023 09:03
サバクラ両方で動く JavaScript の大規模開発を行うために

サバクラ両方で動く JavaScript の大規模開発を行うために

原文:Scaling Isomorphic Javascript Code (This is just for study, please contact me at tily05 atmark gmail.com if any problem.)

考えてみれば Model-View-Controller とか MVC ってよく聞くよね。実際どんなものか知ってる? 抽象的に言うなら「オブジェクト情報の保持されるグラフィック・システム (つまり、ラスターではないグラフィック。ゲームとか) 上に構築された、表示系を中心としたアプリケーションにおいて、主要な機能どうしの関わりをうまく分離すること」とでも言おうか。もう少し深く考えを押し進めてみれば、これは当然、他のさまざまなアプリケーションにもあてはまる言葉 (bucket term ?) だ。

過去に多くの開発コミュニティが MVC による解決案を提供し、それによってよくあるユースケースにうまく対処し、地位を築くことができた。例をあげるなら、Ruby や Python コミュニティは Rails や Django を作り、MVC アーキテクチャを実現した。

@Gab-km
Gab-km / github-flow.ja.md
Last active April 25, 2024 04:01 — forked from juno/github-flow.ja.md
GitHub Flow (Japanese translation)
@briandoll
briandoll / A_toast_to_you.md
Last active March 19, 2022 01:17
Toasts! - scripts to convert images attached to GitHub issues into an animated gif for serious celebratory purposes

To toast:

  • Make sure you have ImageMagick installed (brew install imagemagick)
  • Change line 7 of toast.rb to the repository name you're working with
  • toast!
$ bundle install
$ ./get_token [user] [pass]
$ export GHUSER=[myuser]
@mollifier
mollifier / .zshrc
Last active August 16, 2020 09:51
シンプルな zshrc
# シンプルな zshrc
# License : MIT
# http://mollifier.mit-license.org/
# 環境変数
export LANG=ja_JP.UTF-8
# 補完機能を有効にする
autoload -Uz compinit
compinit
@mollifier
mollifier / zshrc_useful.sh
Last active April 9, 2024 06:29
少し凝った zshrc
# 少し凝った zshrc
# License : MIT
# http://mollifier.mit-license.org/
########################################
# 環境変数
export LANG=ja_JP.UTF-8
# 色を使用出来るようにする
@japboy
japboy / jade-ftw.md
Last active October 23, 2023 11:18
Jade について。

Jade FTW

こんにちは。今回は現実逃避を兼ねて Jade の素晴らしさをお伝えしたいと思います。

Jade とは何か

[Jade][0] は JST (JavaScript Templates) の一つであり、HTML を書くための[軽量マークアップ言語][1] である [Haml][2] に影響を受けた JavaScript テンプレートエンジンでもあります。

@kazu69
kazu69 / Gruntfile.coffee
Created October 21, 2013 01:14
grunt-contrib-watchで監視対象のファイルの中で変更されたファイルを取得するサンプル。 Sample to get the files that have been changed in the file to be monitored in the grunt-contrib-watch.
module.exports = (grunt) ->
changedFiles = Object.create null
# Project configuration.
grunt.initConfig
# Metadata.
pkg: grunt.file.readJSON 'package.json'
watch:
coffee:
@tekkoc
tekkoc / gist:8416160
Created January 14, 2014 10:14
Gruntで始める簡単便利JS開発

Gruntで始める簡単便利JS開発

対象者

  • Gruntを使っていない or 聞いたことがない人
  • IDEやエディタ経由でCoffeeScriptやSassなどのコンパイルをしている人
  • ブラウザの更新ボタンを押しながら開発している人
  • minifyとかを手動でやっている人

ちなみにVimの話じゃないです。

@frederikchristensen
frederikchristensen / gulpfile.coffee
Last active August 29, 2015 14:00
My current Gulp build. Check out the quick recipe for using CoffeeScript for your gulpfile here: https://github.com/gulpjs/gulp/blob/master/docs/recipes/using-coffee-script-for-gulpfile.md
# Load plugins
gulp = require("gulp")
stylus = require("gulp-stylus")
minifycss = require("gulp-minify-css")
coffee = require("gulp-coffee")
uglify = require("gulp-uglify")
imagemin = require("gulp-imagemin")
rename = require("gulp-rename")
clean = require("gulp-clean")
concat = require("gulp-concat")