Skip to content

Instantly share code, notes, and snippets.

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

Martin Bastien yuters

🏠
Working from home
View GitHub Profile
@yuters
yuters / 0_reuse_code.js
Created January 20, 2014 15:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#!/usr/bin/env bash
echo ">>> Starting Install Script"
# Update
sudo apt-get update
# Install MySQL without prompt
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password root'
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root'
#!/usr/bin/env ruby
require 'faraday'
require 'json'
require 'gitlab'
module Redmine
Host = nil
APIKey = nil