Skip to content

Instantly share code, notes, and snippets.

Avatar
🙈
Typing...

Buti nobuti

🙈
Typing...
View GitHub Profile
@nobuti
nobuti / sw.md
Last active Jun 20, 2020
Service worker force update
View sw.md
forceSWupdate () {
  if ('serviceWorker' in navigator) {
    navigator.serviceWorker.getRegistrations().then(function (registrations) {
      for (let registration of registrations) {
        registration.update()
      }
    })
  }
}
@nobuti
nobuti / RAILS_5_CHEATSHEET.md
Created Apr 13, 2020 — forked from harrietty/RAILS_5_CHEATSHEET.md
Ruby on Rails 5 Cheatsheet
View RAILS_5_CHEATSHEET.md

Ruby on Rails Cheatsheet (5.1)

Architecture

RVM

$ rvm list - show currently installed Rubies

@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 / 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 / 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'),
View gist:bf50529195c26e06ee4e19a4cdd2aa48
[category = '8'] {
line-color: #7F3C8D;
}
[category = '9'] {
line-color: #11A579;
}
[category = '18'] {
line-color: #3969AC;
}
[category = '2'] {
@nobuti
nobuti / server
Created Sep 29, 2015 — forked from bnicholas/server
Browser-sync + Rails 4.2 (without tearing out the asset pipeline) So far so good
View server
#!/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
You can’t perform that action at this time.