Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am gwenaelp on github.
  • I am gwenaelp (https://keybase.io/gwenaelp) on keybase.
  • I have a public key ASBtiZdYEed3gS2Bt3N45AKzFLtPvH3zt5GcTkSj-7qrXQo

To claim this, I am signing this object:

const express = require('express');
const schemas = [{
name: 'user',
apiType: 'CRUD',
apiEndPoint: 'user',
apiGetKey: 'name',
fields: [/* ... */],
}];
import Vue from "vue";
import VueFormGenerator from "vue-form-generator";
Vue.use(VueFormGenerator);
import VueFormGenerator from "vue-form-generator";
export default {
fields: [{
type: "input",
inputType: "password",
label: "Password",
model: "password",
min: 6,
required: true,
export default {
fields: [{
type: 'radios',
label: 'What do you want to do?',
model: 'choice',
values: [
'Check a boolean value',
'Type a string',
],
}, {
export default {
fields: [{
type: "input",
inputType: "text",
label: "Name",
model: "name",
placeholder: "Your name",
featured: true,
required: true,
}, {
<template>
<div>
<h1>Form</h1>
<vue-form-generator
:schema="schema"
:model="model"
/>
<h1>Result</h1>
{{model}}>
</div>
set -g prefix C-a
new-session
#set-window-option -g xterm-keys on
set -g status-right '#(sensors -A acpitz-virtual-0 | grep temp | cut -d+ -f2 | cut -d. -f1)C %m/%d %H:%M'
#laptop: bat% (battime) temp speed month/day hour:minute
set -g status-right '#(acpi | cut -d" " -f4,5 | sed "s/, \\(.*\\\)/\\/\\1/g") #(acpi -t | cut -d" " -f4 | cut -d"." -f1)C #(cpufreq-info -mf | sed "s/[ Hz]//g") %m/%d %H:%M'
setw -g mode-keys vi
setw -g monitor-activity on
@gwenaelp
gwenaelp / .zshrc
Created May 18, 2015 19:36
dotfiles
#Color table from: http://www.understudy.net/custom.html
source ~/.zshrc.local
fg_black=%{$'\e[0;30m'%}
fg_red=%{$'\e[0;31m'%}
fg_green=%{$'\e[0;32m'%}
fg_brown=%{$'\e[0;33m'%}
fg_blue=%{$'\e[0;34m'%}
fg_purple=%{$'\e[0;35m'%}
@gwenaelp
gwenaelp / .jshintrc
Created May 19, 2014 14:30
Canopsis coding style tools configuration
{
"browser": true, //let jshint know about browser variables
"jquery": true, //let jshint know about jquery variables
"globals": {}, //let jshint know about browser variables
"globalstrict": false, //don't necessarly use strict keywords
"quotmark": false, //don't warn on double quotes usage
"smarttabs": true,
"trailing": true,
"undef": true, //warn on undefined variables
"unused": true, //warn on unused variables