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 / .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/
[category = '8'] {
line-color: #7F3C8D;
}
[category = '9'] {
line-color: #11A579;
}
[category = '18'] {
line-color: #3969AC;
}
[category = '2'] {
@nobuti
nobuti / gist:3756881
Created September 20, 2012 16:19
Easy jquery/zepto images preload
var images = ["path/to/image", "path/to/image", ... , "path/to/image"],
preloaded = images.length;
_.each(images, function(img) {
var image = $('<img />').attr('src', img);
image.on('load', function(){
preloaded--;
if (preloaded === 0){
console.log("All preloaded!");
}
@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

@nobuti
nobuti / gist:4662944
Created January 29, 2013 09:21
Rakefile for small sinatra app, with a task to deploy to Webfaction.
require 'rubygems'
require 'bundler'
Bundler.require
require 'rspec/core/rake_task'
ENV['RACK_ENV'] ||= 'development'
task :default => :help
@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 / malaga.md
Last active November 19, 2019 10:38
Málaga

Lo primero, llevadme, como y ocupo poco (aunque no lo aparente).

Fuera de broma, os puedo recomendar sitios donde comer y tapear, pero la noche no la controlo mucho, pero en el centro no faltan bares y pseudo discotecas. But:

@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"]
}