Skip to content

Instantly share code, notes, and snippets.

🙈
Typing...

Buti nobuti

🙈
Typing...
Block or report user

Report or block nobuti

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nobuti
nobuti / gist:9131387
Created Feb 21, 2014
Bidi detection on inputs texts
View gist:9131387
// From http://closure-library.googlecode.com/svn-history/r27/trunk/closure/goog/docs/closure_goog_i18n_bidi.js.source.html
// with modifications
bidi_helpers = (function(){
var module = {}
/**
* Directionality enum.
* @enum {number}
*/
@nobuti
nobuti / .eslintrc
Created Nov 24, 2019 — forked from elijahmanor/.eslintrc
Add Prettier & ESLint to VS Code with a Create React App
View .eslintrc
{
"extends": ["react-app", "plugin:prettier/recommended"]
}
View malaga.md

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 / gist:3816985
Created Oct 2, 2012
MySQL tables for continent names, country names and their ISO codes
View gist:3816985
CREATE TABLE IF NOT EXISTS `continents` (
`code` CHAR(2) NOT NULL COMMENT 'Continent code',
`name` VARCHAR(255),
PRIMARY KEY (`code`)
) ENGINE=InnoDB;
INSERT INTO `continents` VALUES
('AF', 'Africa'),
('AS', 'Asia'),
('EU', 'Europe'),
@nobuti
nobuti / gulpfile.js
Created Feb 4, 2017 — forked from dverbovyi/gulpfile.js
ES6 project with Gulp, Sass, Babel & Browserify
View gulpfile.js
/**
* 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 / gist:4662944
Created Jan 29, 2013
Rakefile for small sinatra app, with a task to deploy to Webfaction.
View gist:4662944
require 'rubygems'
require 'bundler'
Bundler.require
require 'rspec/core/rake_task'
ENV['RACK_ENV'] ||= 'development'
task :default => :help
@nobuti
nobuti / frontend.md
Last active Jul 17, 2018
Frontend offer
View frontend.md

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 / index.html
Created Oct 19, 2017
Almost pure React
View index.html
<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 / gist:3756881
Created Sep 20, 2012
Easy jquery/zepto images preload
View gist:3756881
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!");
}
You can’t perform that action at this time.