Skip to content

Instantly share code, notes, and snippets.

View 2no's full-sized avatar
🤗

Kazunori Ninomiya 2no

🤗
View GitHub Profile
@2no
2no / .scss-lint.yml
Last active November 27, 2015 14:33
linters:
ColorKeyword:
enabled: false
ColorVariable:
enabled: false
Comment:
enabled: false
@2no
2no / list.scss
Created October 6, 2015 01:33
list と map の比較
// SPRITE
//-----------------------------------------------------------------------------
// 変数のグローバル汚染が複数あり
// list の場合、可読性が低い(コメントが無いと、どの値が何に該当するかわからない)
// 並び順を変えると他に影響を及ぼす
$btn-type1: 49px, 49px, -4px, -4px, "type1";
$btn-type2: 49px, 49px, -61px, -4px, "type2";
$btn-type3: 49px, 49px, -4px, -61px, "type3";
//$btn-type4: 49px, 49px, -4px, -61px, "type4";
@2no
2no / .csscomb.json
Last active August 29, 2015 14:27
プロパティの順序は Recess に準拠
{
"exclude": [
".git/**",
"node_modules/**",
"bower_components/**"
],
"remove-empty-rulesets": true,
"always-semicolon": true,
"color-case": "lower",
"block-indent": " ",
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@2no
2no / private.xml
Created March 16, 2015 02:13
Karabiner
<?xml version="1.0"?>
<root>
<item>
<name>ESC to IME off (to English) + Esc + Esc</name>
<appendix>Enable for all but HHK</appendix>
<identifier>private.vim.ime_off_ESC</identifier>
<only>TERMINAL, VI</only>
<inputsource_only>JAPANESE</inputsource_only>
<autogen>
__KeyToKey__ KeyCode::ESCAPE, ModifierFlag::NONE,
@2no
2no / gist:720ba7ab5cb6c36c40a4
Created November 21, 2014 09:39
WordPress 4.0.1 と 4.0.0 の差分
diff -qr wordpress-4.0.1 wordpress-4.0.0
Files wordpress-4.0.1/readme.html and wordpress-4.0.0/readme.html differ
Files wordpress-4.0.1/wp-admin/about.php and wordpress-4.0.0/wp-admin/about.php differ
Files wordpress-4.0.1/wp-admin/includes/class-wp-plugin-install-list-table.php and wordpress-4.0.0/wp-admin/includes/class-wp-plugin-install-list-table.php differ
Files wordpress-4.0.1/wp-admin/includes/image.php and wordpress-4.0.0/wp-admin/includes/image.php differ
Files wordpress-4.0.1/wp-admin/includes/plugin-install.php and wordpress-4.0.0/wp-admin/includes/plugin-install.php differ
Files wordpress-4.0.1/wp-admin/includes/post.php and wordpress-4.0.0/wp-admin/includes/post.php differ
Files wordpress-4.0.1/wp-admin/js/editor-expand.js and wordpress-4.0.0/wp-admin/js/editor-expand.js differ
Files wordpress-4.0.1/wp-admin/js/editor-expand.min.js and wordpress-4.0.0/wp-admin/js/editor-expand.min.js differ
Files wordpress-4.0.1/wp-admin/js/media.js and wordpress-4.0.0/wp-admin/js/media.js differ
@2no
2no / Vagrantfile
Created October 18, 2014 09:52
Vagrant + Docker + dockerfile/nodejs-bower-grunt でフロントの開発環境を整える。
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
ENV['VAGRANT_DEFAULT_PROVIDER'] = "docker"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.synced_folder ".", "/vagrant", disabled: true
set ignorecase
set smartcase
set hlsearch
inoremap <C-]> <Esc>
@2no
2no / AutoHotkey.ahk
Last active January 17, 2017 04:15
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetTitleMatchMode,2
#InstallKeybdHook
#UseHook
#Space::IME_SET(!IME_GET())
#Enter:: return ; Disable Windows Narrator
@2no
2no / packages.config
Last active February 13, 2017 04:16
$ cinst packages.config
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="1password" />
<package id="7zip" />
<package id="ag" />
<package id="adobe-creative-cloud" />
<package id="atom" />
<package id="autohotkey" />
<package id="chefdk" />
<package id="chocolateygui" />