View models.py
from django.db import models
class Entry(models.Model):
name = models.CharField(max_length=20)
date = models.DateTimeField()
description = models.TextField()
created = models.DateTimeField(auto_now_add=True)
Sante = models.BooleanField(default=False)
Environnement = models.BooleanField(default=False)
Travail = models.BooleanField(default=False)
View -
[core]
pager = diff-so-fancy | less --tabs=4 -RFX
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
editor = nvim -f
autocrlf = false
safecrlf = true
excludesfile = ~/.gitignore
[pull]
rebase = true
[push]
View queues.rake
# rubocop:disable Style/HashSyntax
# shoryuken用のタスク
namespace :queues do
desc 'Create default SNS & SQS'
task 'setup' => :environment do
# http://qiita.com/takeyuweb/items/cdc262d97c3e863c15ff
# TODO
end
desc "List all SQS queues"
View docker-install-rpi3.md

Introduction

I wrote this gist to record the steps I followed to get docker running in my Raspberry Pi 3. The ARM ported debian version (Jessie) comes with an old version of docker. It is so old that the docker hub it tries to interact with doesn't work anymore :)

Hopefully this gist will help someone else to get docker running in their Raspberry Pi 3.

Installation

From original instructions at http://blog.hypriot.com/post/run-docker-rpi3-with-wifi/

View .gitconfig
[core]
pager = diff-so-fancy | less --tabs=4 -RFX
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
editor = nvim -f
autocrlf = false
safecrlf = true
excludesfile = ~/.gitignore
[pull]
rebase = true
[push]
View .gitignore
# Compiled Python files
*.pyc
# Folder view configuration files
.DS_Store
Desktop.ini
# Files that might appear on external disks
.Spotlight-V100
.Trashes
View .tmux.conf
# General options
set -g default-terminal "xterm-256color"
# Ring the bell if any background window rang a bell
set -g bell-action any
# Watch for activity in background windows
setw -g monitor-activity on
# pass through xterm keys
View iterm2-solarized.md

Default

Default

Powerlevel9k

Powerlevel9k

View caching.tf
variable "client" { }
variable "environment" { }
variable "vpc_id" {}
variable "private_subnet_ids" {}
variable "sg_default_id" {}
# The port number on which each of the cache nodes will accept connections.
# For Memcache the default is 11211, and for Redis the default port is 6379.
variable "port" {
default = 6379
View .gitignore_global
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar