Skip to content

Instantly share code, notes, and snippets.

View nobuti's full-sized avatar
Stop me

Buti nobuti

Stop me
View GitHub Profile
@nobuti
nobuti / composing-software.md
Created February 1, 2021 08:50 — forked from Geoff-Ford/composing-software.md
Eric Elliott's Composing Software Series

Eric Elliott's "Composing Software" Series

A collection of links to the excellent "Composing Software" series of medium stories by Eric Elliott.

Edit: I see that each post in the series now has index, previous and next links. However, they don't follow a linear flow through all the articles with some pointing back to previous posts effectively locking you in a loop.

@nobuti
nobuti / RAILS_5_CHEATSHEET.md
Created April 13, 2020 03:59 — forked from harrietty/RAILS_5_CHEATSHEET.md
Ruby on Rails 5 Cheatsheet

Ruby on Rails Cheatsheet (5.1)

Architecture

RVM

$ rvm list - show currently installed Rubies

@nobuti
nobuti / .eslintrc
Created November 24, 2019 10:08 — forked from elijahmanor/.eslintrc
Add Prettier & ESLint to VS Code with a Create React App
{
"extends": ["react-app", "plugin:prettier/recommended"]
}
@nobuti
nobuti / gulpfile.js
Created February 4, 2017 06:53 — forked from dverbovyi/gulpfile.js
ES6 project with Gulp, Sass, Babel & Browserify
/**
* Created by Dmytro on 3/27/2016.
*/
var browserify = require('browserify'),
gulp = require('gulp'),
sourcemaps = require('gulp-sourcemaps'),
sass = require('gulp-sass'),
autoprefixer = require('gulp-autoprefixer'),
source = require('vinyl-source-stream'),
buffer = require('vinyl-buffer'),
@nobuti
nobuti / server
Created September 29, 2015 09:33
Browser-sync + Rails 4.2 (without tearing out the asset pipeline) So far so good
#!/usr/bin/env bash
set -e
rails s webrick & sleep 3
browser-sync start --files "app/views/**/*.erb, app/assets/stylesheets/**/*.scss, app/assets/javascripts/**/*.js" --proxy "localhost:3000" --reload-delay 1000 --no-open
# For SCSS-Lint v0.31.0
linters:
BangFormat:
enabled: true
space_before_bang: true
space_after_bang: false
BorderZero:
# A simple Makefile alternative to using Grunt for your static asset compilation
#
## Usage
#
# $ npm install
#
# And then you can run various commands:
#
# $ make # compile files that need compiling
# $ make clean all # remove target files and recompile from scratch
.arc path {
stroke: #F8F8F8;
stroke-width: 4px;
}
/* normal flexbox */
.flexbox .flex-container {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: flex;
}
.flexbox .flex-container.vertical {
display: -webkit-flex;
display: -moz-flex;
@nobuti
nobuti / .excludes
Created January 15, 2013 17:36 — forked from dwayne/.excludes
# Exclude files that don't need to be on the server
# Used by rsync when deploying code to the server
.excludes
.git
.gitignore
log/
tmp/