Skip to content

Instantly share code, notes, and snippets.

View otaviosoares's full-sized avatar

Otávio Augusto Soares otaviosoares

View GitHub Profile
var sequelize = require('sequelize');
var mysql = require('mysql');
var sequelize = sequelize('mysql://root:[email protected]:3306/auction');
module.exports =
{
sequelize
};
@otaviosoares
otaviosoares / coreos-windows-share.sh
Last active June 17, 2016 18:09 — forked from pantelis/coreos-windows-share.sh
Mount Windows share drives on CoreOS
# WARNING - THIS IN NOT a SHELL SCRIPT - JUST a LIST of COMMANDS
# based on https://github.com/coreos/coreos-overlay/issues/595 with links updated
# Build cifs-utils in a container and copy it into /tmp on the host.
$docker run -t -i -v /tmp:/host_tmp fedora /bin/bash
# On the container bash prompt
yum groupinstall -y "Development Tools" "Development Libraries"
yum install -y tar
yum install -y bzip2
curl https://download.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-6.3.tar.bz2 | bunzip2 -c - | tar -xvf -