Skip to content

Instantly share code, notes, and snippets.

Avatar

Masaaki Komori gaspanik

View GitHub Profile
@gaspanik
gaspanik / gulpfile.js
Created Feb 7, 2014
bootstrap3-sass-gulp.
View gulpfile.js
// npm install gulp gulp-ruby-sass gulp-minify-css gulp-rename --save-dev
var gulp = require('gulp')
, sass = require('gulp-ruby-sass')
, minifycss = require('gulp-minify-css')
, rename = require('gulp-rename');
gulp.task('styles', function() {
return gulp.src('stylesheets/*.scss')
.pipe(sass({ style: 'expanded' }))
@gaspanik
gaspanik / installed_packages.markdown
Created Feb 11, 2014
Sublime Text 2 にインストールしているパッケージ(enable / disable 含)
View installed_packages.markdown

Installed packages.

Sublime Text 2 にインストールしているパッケージ(enable/disable 含)。

  • AdvancedNewFile
  • AndyJS2
  • AndyPHP
  • AngularJS
  • ApacheConf.tmLanguage
  • Auto Semi-Colon
View sassytools.markdown
@gaspanik
gaspanik / 00_elastic_beanstalk_proxy.conf
Created Feb 19, 2014
AWS_elastic_beanstalk_nginx_gzip_append.conf
View 00_elastic_beanstalk_proxy.conf
# /etc/nginx/conf.d/00_elastic_beanstalk_proxy.conf
gzip on;
gzip_vary on;
gzip_min_length 1000;
gzip_proxied any;
gzip_types text/plain text/html text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
@gaspanik
gaspanik / recents.json
Created Feb 21, 2014
recents.app setting
View recents.json
{
"displayItems": 30,
"projectTypes": [
{
"projectType": "grunt",
"nameRegex": "['\"]name['\"]\\s*:\\s*['\"](.*?)['\"]\\s*,\\s*$",
"settingsFile": "package.json",
"image": "grunt.png",
"keyFile": "package.json",
"projectRootRelativeToKeyFile": null,
@gaspanik
gaspanik / nginx-cache-control.conf
Created Mar 7, 2014
digitalocean_multiple_ghost_nginx_cachecontrol.conf
View nginx-cache-control.conf
server {
listen 80;
# set your hostname
server_name your_hostname;
client_max_body_size 10M;
location ~ ^/assets/(img|js|css|fonts)/ {
# set your path
View bst-tabbable.sublime-snippet
<snippet>
<content><![CDATA[ul.nav.nav-tabs.nav-justified
li.active: a(href="#tab-a", data-toggle="tab") Tab A
li: a(href="#tab-b", data-toggle="tab") Tab B
li: a(href="#tab-c", data-toggle="tab") Tab C
li: a(href="#tab-d", data-toggle="tab") Tab D
div.tab-content
div.tab-pane.active#tab-a
h4 Heading A
p Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
View bs3-tabbable.sublime-snippet
<snippet>
<content><![CDATA[<ul class="nav nav-tabs nav-justified">
<li class="active"><a href="#tab-a" data-toggle="tab">Tab A</a></li>
<li><a href="#tab-b" data-toggle="tab">Tab B</a></li>
<li><a href="#tab-c" data-toggle="tab">Tab C</a></li>
<li><a href="#tab-d" data-toggle="tab">Tab D</a></li>
</ul>
<div class="tab-content">
<div id="tab-a" class="tab-pane active">
<h4>Heading A</h4>
@gaspanik
gaspanik / recents.json
Created Mar 27, 2014
Minimum Recents Settings.
View recents.json
{
"displayItems": 50,
"projectTypes": [
{
"projectType": "grunt",
"nameRegex": "['\"]name['\"]\\s*:\\s*['\"](.*?)['\"]\\s*,\\s*$",
"settingsFile": "package.json",
"image": "grunt.png",
"keyFile": "package.json",
"projectRootRelativeToKeyFile": null,
@gaspanik
gaspanik / package.json
Created Mar 27, 2014
package.json sample
View package.json
{
"name": "project-name",
"version": "0.0.1",
"description": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit.",
"main": "index.html"
}
You can’t perform that action at this time.