Skip to content

Instantly share code, notes, and snippets.

View olivoil's full-sized avatar

Olivier Melcher olivoil

View GitHub Profile
import 'dart:math' as math;
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/scheduler.dart';
void main() => runApp(ExampleApp());
class ExampleApp extends StatelessWidget {
@override
@olivoil
olivoil / tmux-cheatsheet.markdown
Created December 30, 2018 01:38 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@olivoil
olivoil / pixelbook-linux-setup.md
Created December 20, 2018 22:03 — forked from denolfe/pixelbook-linux-setup.md
Notes on setting up Pixelbook with Linux apps

Pixelbook Linux Setup

Chromebook Configuration [LINK]

  • Switch to dev channel
    • chrome://help in a browser window
    • Click Detailed Build Information
    • Change Channel
    • Select Developer - unstable
  • Wait for Chromebook to download an update then show icon in bottom left
@olivoil
olivoil / pixelbook-dev-setup.md
Created December 20, 2018 22:02 — forked from cassiozen/pixelbook-dev-setup.md
Notes on setting up Pixelbook for development

Pixelbook Setup

Change your channel

Some of the features mentioned in this document only work on the beta or Dev channel. To change your channel:

  1. chrome://help in a browser window
  2. Click Detailed Build Information
  3. Change Channel
  4. Select Beta (Or Dev, if you're feeling adventurous)
@olivoil
olivoil / AppSync-Example.yaml
Created November 25, 2018 20:12 — forked from adrianhall/AppSync-Example.yaml
An example CloudFormation template for AWS AppSync
---
Description: AWSAppSync DynamoDB Example
Resources:
GraphQLApi:
Type: "AWS::AppSync::GraphQLApi"
Properties:
Name: AWSAppSync DynamoDB Example
AuthenticationType: AWS_IAM
PostDynamoDBTableDataSource:
@olivoil
olivoil / keybase.md
Created April 29, 2018 17:31 — forked from webframp/keybase.md
Signing git commits on github using keybase.io gpg key

Probably one of the easiest things you'll ever do with gpg

Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH

First get the public key

keybase pgp export | gpg --import

Next get the private key

# Make sure you grab the latest version
curl -OL https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip
# Unzip
unzip protoc-3.5.1-linux-x86_64.zip -d protoc3
# Move protoc to /usr/local/bin/
sudo mv protoc3/bin/* /usr/local/bin/
# Move protoc3/include to /usr/local/include/
@olivoil
olivoil / .vimrc
Last active April 27, 2018 16:10
dots
filetype plugin indent on
syntax on
let mapleader = ','
set inccommand=split
set number
set laststatus=2
set modelines=5
set vb t_vb=
set ts=2 sts=2 sw=2 expandtab
set listchars=tab:‣\ ,trail:·,precedes:«,extends:»,eol:¬
@olivoil
olivoil / config.hcl
Last active July 20, 2017 15:58
example of what an `up` configuration file would look like in HCL
name = "api"
description = "Some API for whatever"
hooks {
build = "make build"
clean = "make clean"
}
environment {