Skip to content

Instantly share code, notes, and snippets.

:atom:
Used to use Atom

Naruhito Kubota naru0504

:atom:
Used to use Atom
Block or report user

Report or block naru0504

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@naru0504
naru0504 / trello-css-guide-ja.md
Last active Apr 12, 2016
Trelloのスタイルガイドを日本語翻訳してみました
View trello-css-guide-ja.md

【超訳】 Trello CSS Guide

TrelloのCSSスタイルガイドを気に入っていて、チームに浸透させたいという思いも込で、翻訳しました。 いたらぬところは随時修正していこうと思っています。 翻訳の過程で困ったものは、下にまとめてかんたんな説明を載せておきました。


「いや俺もう自分たちのCSSが完璧に把握してるからね!スタイルのルールには何ひとつ問題ないね。もう!importantを使わなくていいし、インラインで書くこともないよ。もし誰かがちょっとCSSを書いたとしても、完璧にそれがどうなって、どう影響を与えるか理解できるね。修正なんてカンタンさ!自分たちのCSSをぶち壊すのは大変だった。今はどこにあたらしくファイル追加するべきかわかってるよ。使われていないCSSは書かれていないし、極めてすくない量で済ませてるよ。HTMLなどのテンプレートを消すときも、それがCSSのどこに一致するか完全にわかってるから、すぐに削除できるよ。何もムダは残さないのさ。」

View handson.php
<?php
echo "2015/5<br />";
echo "sun  mon  tue  wed  thu  fri  sat<br />";
echo "                      1<br />";
echo "  2   3   4   5   6   7  8<br />";
echo "  9  10  11   12   13   14 15<br />";
echo "  16  17  18  19  20  21  22<br />";
echo " 22 23 24 25 26 27 28<br />";
echo " 29 30 31";
?>
@naru0504
naru0504 / gruntfile.js
Last active Aug 29, 2015
gruntfile.js for grunt-simple-frontend
View gruntfile.js
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jade: {
app: {
options: {
pretty: true
},
@naru0504
naru0504 / rails_resources.md
Last active Aug 29, 2015 — forked from jookyboi/rails_resources.md
Rails-related Gems and guides to accelerate your web project.
View rails_resources.md

Gems

  • Bundler - Bundler maintains a consistent environment for ruby applications. It tracks an application's code and the rubygems it needs to run, so that an application will always have the exact gems (and versions) that it needs to run.
  • rabl - General ruby templating with json, bson, xml, plist and msgpack support
  • Thin - Very fast and lightweight Ruby web server
  • Unicorn - Unicorn is an HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels.
  • SimpleCov - SimpleCov is a code coverage analysis tool for Ruby 1.9.
  • Zeus - Zeus preloads your Rails app so that your normal development tasks such as console, server, generate, and specs/tests take less than one second.
  • [factory_girl](h
@naru0504
naru0504 / css_resources.md
Last active Aug 29, 2015 — forked from jookyboi/css_resources.md
CSS libraries and guides to bring some order to the chaos.
View css_resources.md

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides

@naru0504
naru0504 / javascript_resources.md
Last active Aug 29, 2015 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.
View javascript_resources.md

Libraries

  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
  • lawnchair - Key/value store adapter for indexdb, localStorage
@naru0504
naru0504 / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
You can’t perform that action at this time.