View .spacemacs
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
;; Base distribution to use. This is a layer contained in the directory
View MySelect.vue
View gist:d6461e6afb9571fb0ad5d579a75ba26a
markers.push({lat:46.818321, lng:0.543569, details:{ name: 'FLEUR DE LUNE', address: '7 RUE ALEXANDRE RIVIERE 86100 CHATELLERAULT FRANCE', email: '' } });
markers.push({lat:47.742886, lng:3.362484, details:{ name: 'BOUTIQUE GREC MARINE', address: '32 RUE VOLTAIRE 56100 LORIENT FRANCE', email: '' } });
markers.push({lat:47.658236, lng:-2.760847, details:{ name: 'ENTRE TEMPS', address: 'GALERIE MARCHANDE FOURCHENE 56000 VANNES FRANCE', email: '' } });
markers.push({lat:47.282801, lng:0.650524, details:{ name: 'Acces\'Mode MONTSTYLE', address: '75 RUE DUVAL DE L\'INDRE C.C. LA RAUDERIE 37260 MONTS FRANCE', email: '' } });
markers.push({lat:46.582786, lng:0.343453, details:{ name: 'BOUTIQUE ET MOI', address: '7 BIS RUE DU MARCHE NOTRE DAME 86000 POITIERS FRANCE', email: '' } });
markers.push({lat:47.901818, lng:1.904499, details:{ name: 'MANGUE PASSION', address: '27 RUE CHARLES SANGLIER 45000 ORLÉANS FRANCE', email:
View testmail.error
1) Error:
NoMethodError: undefined method `fetch' for nil:NilClass
/home/greg/.rbenv/versions/2.3.3/gemsets/trip-blscraper/gems/hanami-mailer-0.4.0/lib/hanami/mailer/dsl.rb:86:in `templates'
/home/greg/.rbenv/versions/2.3.3/gemsets/trip-blscraper/gems/hanami-mailer-0.4.0/lib/hanami/mailer.rb:324:in `__part?'
/home/greg/.rbenv/versions/2.3.3/gemsets/trip-blscraper/gems/hanami-mailer-0.4.0/lib/hanami/mailer.rb:312:in `__part'
/home/greg/.rbenv/versions/2.3.3/gemsets/trip-blscraper/gems/hanami-mailer-0.4.0/lib/hanami/mailer.rb:289:in `block in build'
/home/greg/.rbenv/versions/2.3.3/gemsets/trip-blscraper/gems/hanami-mailer-0.4.0/lib/hanami/mailer.rb:281:in `tap'
/home/greg/.rbenv/versions/2.3.3/gemsets/trip-blscraper/gems/hanami-mailer-0.4.0/lib/hanami/mailer.rb:281:in `build'
/home/greg/.rbenv/versions/2.3.3/gemsets/trip-blscraper/gems/hanami-mailer-0.4.0/lib/hanami/mailer.rb:201:in `initialize'
View app.rb
require_relative 'base'
require_relative 'event'
require_relative 'cmd'
require_relative 'crud'
require_relative 'model'
require_relative 'read'
require 'pp'
class Application < BaseObject
View design notes
nice fonts:
"brandon-grotesque", Helvetica, Arial, sans-serif;

Information of rails development and deployment setup

A list of rails development and deployment setup


  • Learn the IFTTT dash development env
  • Setup the services like db, nginx and others using docker with vagrant or docker-machine then develop rails/nodejs localy to gain development effeciency to avoid docker build every time

List of resourses

View systemjs.js
const gulp = require('gulp');
const replace = require('gulp-replace');
const Builder = require('jspm').Builder;
const conf = require('../conf/gulp.conf');
gulp.task('systemjs', systemjs);
gulp.task('systemjs:html', updateIndexHtml);
function systemjs(done) {
View nginx prestashop
server {
listen 80;
server_name MY.WEBSITE.TLD;
root /Users/ME/Sites/FOLDER;
client_header_buffer_size 16k;
large_client_header_buffers 16 16k;
# qsa
rewrite ^/api/?(.*)$ /webservice/dispatcher.php?url=$1 last;