Skip to content

Instantly share code, notes, and snippets.

View mikamboo's full-sized avatar
🏠
Working from home

Michaël P.O. mikamboo

🏠
Working from home
View GitHub Profile
@mikamboo
mikamboo / raspberry-pi-kiosk.md
Last active May 4, 2024 18:17
Create Raspberry Pi Kiosk on Raspbian
@mikamboo
mikamboo / ionic_dockerfile
Created April 20, 2016 13:20 — forked from aabidos/ionic_dockerfile
Ionic cordova android dockerfile
# Android development environment for ubuntu precise (12.04 LTS).
# version 0.0.1
# Start with ubuntu precise (LTS).
FROM ubuntu:12.04
MAINTAINER Aurel <lighta971@live.fr>
# Never ask for confirmations
ENV DEBIAN_FRONTEND noninteractive

Source : Digital Ocean

Introduction

NFS, or Network File System, is a distributed filesystem protocol that allows you to mount remote directories on your server. This allows you to leverage storage space in a different location and to write to the same space from multiple servers easily. NFS works well for directories that will have to be accessed regularly.

In this guide, we'll cover how to configure NFS mounts on an Ubuntu 14.04 server.

Prerequisites

@mikamboo
mikamboo / xenserver_basics.md
Created October 30, 2015 11:12
XenServer : basics cli commands
@mikamboo
mikamboo / boot2Docker.md
Last active August 29, 2015 14:16
Docker tips

How to configure Docker when behind a proxy

Linux host

CAUTION : If you are in Linux environement (no boot2Docker) use directly Docker http-proxy

This example overrides the default docker.service file.

$ mkdir /etc/systemd/system/docker.service.d
@mikamboo
mikamboo / ssh_keys_athentication.md
Last active August 29, 2015 14:16
Setting SSH key authentication

Linux setup a SSH key authentication

Voici la procédure : d'abord - et si ce n'est déjà fait - il vous faut installer le client openSSH :

Source

$ sudo apt-get update
$ sudo apt-get install openssh-client
@mikamboo
mikamboo / create_vagrant_base_box.md
Last active August 29, 2015 14:14
Creating a base box in Vagrant

Creating a base box in Vagrant

This tutorial is for creating a vagrant box for ubuntu 12.04 (LTS)

Along the tutorial you must follow this conventions

  • Hostname: vagrant-[os-name], e.g. vagrant-debian-lenny
  • Domain: vagrantup.com (causes delays in resolving own FQDN, as in dnsdomainname or hostname --fqdn commands)
  • Root Password: vagrant
  • Main account login: vagrant
@mikamboo
mikamboo / bst.js
Last active August 29, 2015 14:12 — forked from trevmex/bst.js
/*
* File: bst.js
*
* A pure JavaScript implementation of a binary search tree.
*
*/
/*
* Class: BST
*
@mikamboo
mikamboo / IntelliJ Shortcuts.md
Created July 12, 2014 09:38
Raccourcis utiles

Refreactor

MAJ + F6

Find usages

ALT + F7

Delete line

@mikamboo
mikamboo / gist:9568340
Last active May 1, 2019 20:13
Tutoriel : Installation Raspberry Pi B

#Tutoriel : Mise en route du Raspberry Pi

Raspberry Pi

##Pré-requis

  • 1 Rapsberry Pi modèle B
  • 1 Alimentatiion 5V 1.2A avec connecteur micro usb
  • 1 Carte mémoire SD (capacité > 2Go) pour installer le système
  • Télécharger l'outil SD formatter