Skip to content

Instantly share code, notes, and snippets.

| | client backend
u4urnn0ls335s3 | puma: cluster worker 2: 4 [app] - 18.212.29.14:40402 | 2023-01-23 16:40:49.487402+00 | SELECT "users".* FROM "users" WHERE "users"."uuid" = '75421385-e16b-4103-bb47-b7df6a3408e2' LIMIT 1
@did
did / layout.html.erb
Created October 13, 2022 22:39
Maglev layout
<!DOCTYPE html>
<html data-maglev-basic-theme data-maglev-first-section="<%= maglev_page.sections.first&.fetch('type') %>">
<head>
<title><%= maglev_page.seo_title.presence || maglev_site.name %></title>
<meta content="width=device-width, initial-scale=1" name="viewport">
<meta name="description" content="<%= maglev_page.meta_description %>" />
<meta property="og:title" content="<%= maglev_page.og_title %>" />
<meta property="og:description" content="<%= maglev_page.og_description %>" />
<meta property="og:image" content="<%= maglev_page.og_image_url %>" />
---
# Name of the section displayed in the editor UI
# (only if keep_name is set to true)
name: "Texte + image"
# By default, the first text type setting will be used as
# the name of the section in the editor UI.
# To keep the name of the section instead, uncomment the following line.
# keep_name: true
This file has been truncated, but you can view the full file.
{
"kind": "NodeList",
"apiVersion": "v1",
"metadata": {
"selfLink": "/api/v1/nodes",
"resourceVersion": "19563"
},
"items": [
{
"metadata": {
This file has been truncated, but you can view the full file.
{
"kind": "NodeList",
"apiVersion": "v1",
"metadata": {
"selfLink": "/api/v1/nodes",
"resourceVersion": "19563"
},
"items": [
{
"metadata": {
{"main"=>[{"id"=>1, "type"=>"carousel", "content"=>{"slides"=>[{"id"=>"slides-item-1", "link"=>3, "price"=>"$42.00", "title"=>"Juliette", "subTitle"=>"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ac consequat augue. Duis ac iaculis dolor, id pulvinar diam.", "link_type"=>"taxon", "background"=>"https://res.cloudinary.com/nocoffee/image/upload/v1482144490/development/m2edqtjziainrfkgmcui.jpg", "link_taxon_name"=>"Categories -> Bags", "link_taxon_image"=>"/assets/default_taxon.png", "link_product_name"=>"Ruby on Rails Mug", "link_product_slug"=>"ruby-on-rails-mug", "link_product_image"=>"/spree/products/27/mini/ror_mug.jpeg", "link_taxon_permalink"=>"categories/bags"}, {"id"=>"slides-item-4", "link"=>"http://www.google.fr", "price"=>"$42.00", "title"=>"Sacha", "subTitle"=>"Lorem ipsum", "link_type"=>"external", "background"=>"https://res.cloudinary.com/nocoffee/image/upload/v1482144608/development/m5zy4c0qwrihfjapzes9.jpg"}, {"id"=>"slides-item-2", "link"=>15, "price"=>"$42.00", "title"=>"Ales
{
"label": "Page d'accueil",
"handle": "home",
"sections": [
{
"id": "main",
"name": "Main",
"position": 1,
"blocks": [
{
site "http://community.opscode.com/api/v1"
cookbook 'apt'
cookbook 'build-essential'
cookbook 'mongodb3', '~> 3.0.0'
cookbook 'ruby_build'
cookbook 'nodejs'
cookbook 'rbenv', git: 'https://github.com/aminin/chef-rbenv'
cookbook 'vim'
cookbook 'redis-cookbook', '~> 0.2.1'
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
@did
did / devise.rb
Created February 23, 2015 15:13
devise file generated by locomotive
# Use this hook to configure devise mailer, warden hooks and so forth. The first
# four configuration values can also be set straight in your models.
Devise.setup do |config|
# ==> Mailer Configuration
# Configure the e-mail address which will be shown in Devise::Mailer,
# note that it will be overwritten if you use your own mailer class with default "from" parameter.
config.mailer_sender = "please-change-me@config-initializers-devise.com"