Skip to content

Instantly share code, notes, and snippets.

View nobuti's full-sized avatar
Stop me

Buti nobuti

Stop me
View GitHub Profile
/* 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;
.arc path {
stroke: #F8F8F8;
stroke-width: 4px;
}
# 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
# For SCSS-Lint v0.31.0
linters:
BangFormat:
enabled: true
space_before_bang: true
space_after_bang: false
BorderZero:
@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
[category = '8'] {
line-color: #7F3C8D;
}
[category = '9'] {
line-color: #11A579;
}
[category = '18'] {
line-color: #3969AC;
}
[category = '2'] {
@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 / index.html
Created October 19, 2017 10:08
Almost pure React
<html>
<body>
<div id="react-root"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/16.0.0/umd/react.production.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.0.0/umd/react-dom.production.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.26.0/babel.min.js"></script>
<script id="react-app" type="text/template">
const App = ({name}) => {
@nobuti
nobuti / frontend.md
Last active July 17, 2018 05:01
Frontend offer

DESCRIPTION

Visitame is looking for an enthusiastic frontend engineer to join to the team. In this role you will have significant responsibility in our project development team. Visitame looks for developers who take ownership of their code.

ABOUT US

We are Visitame, a Proptech startup which combines the best of Home IoT (Hardware and Software) to create an optimized and radically improved Real Estate selling process. We have already successfully launched an Alpha version to the market and we're ready now to scale it technically and commercially. We're a well-funded startup, with top corporate Real Estate clients and backed by 7r Ventures.

ABOUT YOU

You love code. You love to build great products with JavaScript, HTML, and CSS. You know JavaScript is imperfect, but you embrace its functional side and genuinely enjoy coding with it. You might like to talk about obscure computer science topics, but really, you just want to write simple code and ship new products and features to customers.

**You