Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
May the force be with you

Richard Natal Bigous

💭
May the force be with you
View GitHub Profile
@Bigous
Bigous / vs-bash-console.bat
Last active Oct 19, 2018 — forked from timabell/vs-bash-console.bat
batch script for loading git-bash and the vs tools in the same window
View vs-bash-console.bat
@echo off
echo Loading VC...
call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat" amd64
echo Loading bash, you may now use git and msbuild in the same console \o/.
"C:\Program Files\Git\usr\bin\bash.exe" --login -i
@Bigous
Bigous / docker-guide.md
Created Dec 2, 2015 — forked from hangtwenty/docker-guide.md
Docker: from zero to multi-container setups
View docker-guide.md

Docker: from zero to multi-container setups

I've hacked some Docker. Here are the resources that were most essential for me.

What is Docker?

Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications. Consisting of Docker Engine, a portable, lightweight runtime and packaging tool, and Docker Hub, a cloud service for sharing applications and automating workflows, Docker enables apps to be quickly assembled from components and eliminates the friction between development, QA, and production environments. As a result, IT can ship faster and run the same app, unchanged, on laptops, data center VMs, and any cloud.

@Bigous
Bigous / centos_cx_Oracle
Created Nov 12, 2015 — forked from hangtwenty/centos_cx_Oracle
CentOS 6: Set up Oracle Instant Client and Python package cx_Oracle
View centos_cx_Oracle
#!/bin/bash
# INSTALL ORACLE INSTANT CLIENT #
#################################
# NOTE: Oracle requires at least 1176 MB of swap (or something around there).
# If you are using CentOS in a VMWare VM, there's a good chance that you don't have enough by default.
# If this describes you and you need to add more swap, see the
# "Adding a Swap File to a CentOS System" section, here:
# http://www.techotopia.com/index.php/Adding_and_Managing_CentOS_Swap_Space
View query-all.js
"use strict";
exports.queryAll = function(conn, sql, args, cb) {
var allRows = [];
conn.execute(sql, args, {
resultSet: true
}, function(err, result) {
if (err) return cb(err);
function fetch() {