Skip to content

Instantly share code, notes, and snippets.

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

Florian kai23

🏠
Working from home
View GitHub Profile
@kai23
kai23 / zerodarkmatrix
Created November 14, 2013 13:41
zerodarkmatrix
/*****************************************************************************/
/* Zero-Dark-Matrix
/* Optimized for Chrome Stable Channel v30
/* https://github.com/mauricecruz/chrome-devtools-zerodarkmatrix-theme
/*************************************************************************/
/**********************************************
/* Readability
/* -------------------------------------------
/* Adjust the line height for elements|sources
#!/usr/bin/env bash
# Met à jour la box
apt-get update
# Install Vim
apt-get install -y vim
# Install Apache
apt-get install -y apache2
@kai23
kai23 / update.sh
Created August 26, 2016 07:33
Automatic Gitlab Update
#!/bin/bash
# Setting version of gitlab and dist wanted
version="8.11"
dist="ubuntu/trusty"
# The script
URL=https://packages.gitlab.com/gitlab/gitlab-ce/packages/$dist
@kai23
kai23 / import_csv_creating_table
Created December 28, 2016 18:19
Import datas for creating table and import from CSV to MySQL
#!/bin/bash
# show commands being executed, per debug
# set -x
# define database connectivity
_db="xxxxxxxx"
_db_host="xxxxxxxx"
_db_user="xxxxxxx"
# _db_password="xxxxxx"
import 'whatwg-fetch';
import isPlainObject from 'lodash/isPlainObject';
import isArray from 'lodash/isArray';
/**
* Parses the JSON returned by a network request
*
* @param {object} response A response from a network request
*
* @return {object} The parsed JSON from the request