Skip to content

Instantly share code, notes, and snippets.

Masaaki Komori gaspanik

View GitHub Profile
View .editorconfig
# https://github.com/django/django/blob/master/.editorconfig
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
View Installed-plugins.md

Installed plugins for Sublime Text 3

2017.05.20 update.

  • A File Icon
  • AdvancedNewFile
  • All Autocomplete
  • ApacheConf.tmLanguage
  • AutoFileName
  • Babel
View .jsbeautifyrc
{
"html": {
"allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg"],
"brace_style": "collapse",
"indent_char": " ",
"indent_handlebars": true,
"indent_inner_html": false,
"indent_scripts": "keep",
"indent_size": 2,
"max_preserve_newlines": 10,
@gaspanik
gaspanik / config
Last active Jan 27, 2016
ssh_config
View config
Host example.net
HostName example.net
PreferredAuthentications password
User username
Host Name
HostName example.com
IdentityFile ~/.ssh/ssh_key_name
IdentitiesOnly yes
User username
View digital_ocean_with_ssh_agent_mup.json
{
// Server authentication info
"servers": [
{
"host": "hostname",
"username": "root"
// "password": "password"
// or pem file (ssh based authentication)
//"pem": "~/.ssh/id_rsa"
}
@gaspanik
gaspanik / .tern-project
Last active Aug 29, 2015
.tern-project
View .tern-project
{
"libs": [ "browser", "jquery" ],
"loadEagerly": [ "*.js", "*/*.js", "*/*/*.js", "*/*/*/*.js" ],
"dontLoad": [ "node_modules" ],
"plugins": {
"complete_strings": {},
"node": {},
"node-express": {}
}
}
View .csslintrc
{
"adjoining-classes": false,
"box-sizing": false,
"box-model": false,
"compatible-vendor-prefixes": false,
"floats": false,
"font-sizes": false,
"gradients": false,
"important": false,
"known-properties": false,
@gaspanik
gaspanik / package.json
Created Feb 5, 2015
frontend-md package.json
View package.json
{
"frontend": {
"name": "YOUR PROJECT NAME",
"stylesheets": "RELATIVE/PATH/TO/STYLESHEETS/FOLDER",
"javascripts": "RELATIVE/PATH/TO/JAVASCRIPTS/FOLDER"
}
}
@gaspanik
gaspanik / npmup.fish
Last active Aug 29, 2015
npm outdated fishshell function
View npmup.fish
function npmup --description 'npm check outdated'
command npm outdated --depth=0 $argv
end
@gaspanik
gaspanik / lds.fish
Created Dec 9, 2014
livedown start fish function
View lds.fish
function lds --description 'Livedown start'
command livedown start $argv --open
end
You can’t perform that action at this time.