• Autofill de tes informations d'après ton numéro de plaque d'immatriculation. • Autofill du code BIC d'après ton IBAN • Autofill de l'adresse de ton ancienne assurance auto d'après son nom (pour résilier pour toi) • Auto-résiliation du contrat précédent • Signature en ligne du contrat d'assurance auto ET du mandat de prélèvement • Auto-création d'un compte sans prise de tête • Auto association de ton devis demandé à pétarouchnok avec ton compte client existant et/ou nouvellement créé (lié via email) comme chez Amaguiz • Upload drag & drop pour déposer les scans de tes justificatifs d'assurance passée & de carte grise • Ticket CB par mail en PDF de ton paiement d'assurance temporaire
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
table_name, | |
pg_size_pretty(table_size) AS table_size, | |
pg_size_pretty(indexes_size) AS indexes_size, | |
pg_size_pretty(total_size) AS total_size | |
FROM ( | |
SELECT | |
table_name, | |
pg_table_size(table_name) AS table_size, | |
pg_indexes_size(table_name) AS indexes_size, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"license": "Copyright 2010-2014 Disconnect, Inc. / This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. / This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. / You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.", | |
"categories": { | |
"Advertising": [ | |
{ | |
"2leep.com": { | |
"http://2leep.com/": [ | |
"2leep.com" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# frozen_string_literal: true | |
require 'optparse' | |
require 'ostruct' | |
DEFAULT_X264_PARAMS = { | |
'b-adapt' => 2, | |
'ref' => 16, | |
'direct' => 'auto', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/.rbenv && git checkout master && git fetch --all --prune && git pull && git gc --aggressive && cd plugins/ruby-build/ && git pull && git gc --aggressive && cd && TMPDIR="$HOME/tmp" rbenv install 2.3.1 && rbenv global 2.3.1 && gem install bundler eye |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run in smalls batches, for memory usage and to re-start on failure / SSH connexion lost | |
600.times { |i| | |
n = i * 100 | |
puts "Processing #{n} ..." | |
Imaj.where(id: (n + 1)..(n + 100)).each { |e| | |
e.update!(picture: e.picture[:original]) if e.picture_attacher.stored? | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css"> | |
.header { | |
background: #8a8a8a; | |
} | |
.header .columns { | |
padding-bottom: 0; | |
} | |
.header p { |
- Ajout dans "mon compte" du devis même si réalisé sur comparateur de prix
- Auto-création du compte même si devis réalisé sur comparateur de prix
- Auto-résiliation du contrat précédent avec remplissage automatique de l'adresse de l'ancien assureur d'après son nom
- Remplissage automatique du code BIC d'après ton IBAN
- Remplissage automatique des informations voiture d'après numéro d'immatriculation.
- Signature en ligne du contrat d'assurance auto ET du mandat de prélèvement
- Ticket CB par mail en PDF de ton paiement d'assurance temporaire
- Upload drag & drop pour déposer les scans de tes justificatifs d'assurance passée & de carte grise
- Documents PDF à nom de fichier explicites, et directement attachés aux emails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby_version: ruby-2.3.3p222 | |
bundler_version: 1.13.6 | |
# hooks: | |
# worker_setup: bundle exec rake db:setup # Runs once for each worker to do, e.g., database setup | |
# post_setup: bundle exec rake assets:precompile # Runs once before tests and after worker_setup | |
# post_build: bundle exec rake heroku:deploy # Runs once after entire build completes | |
postgresql: | |
version: '9.4' |