Skip to content

Instantly share code, notes, and snippets.

May the force be with you

Richard Natal Bigous

May the force be with you
View GitHub Profile
Bigous / settings.json
Last active Aug 15, 2020
Windows Terminal Settings
View settings.json
// This file was initially generated by Windows Terminal 1.0.1811.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see:
"$schema": "",
Bigous / profile.ps1
Created Jun 3, 2020
Custom Prompt for PowerShell which shows information on GIT repositories and Anaconda environmant if both are available.
View profile.ps1
#region Global Colors
# $e[(x)m -> 30-37,90-97 Terminal preset foreground colors; 38 Terminal custom foreground color; 40-47,100-107 Terminal preset background colors; 48 Terminal custom background color
# $e[38;2;(r);(g);(b)m -> RGB
# $e[38;5;(n)m -> 0-15 EGA colors; 16-231 6-bit table color; 232-255 Gray scale
# $cFgDarkBlack="$e[38;2;0;0;0m"
# $cFgDarkRed="$e[38;2;128;0;0m"
Bigous /
Last active Oct 18, 2019
Create a SVN server with CentOS 7 and apache authenticating through LDAP (Active Directory)
yum -y update
yum -y install httpd mod_ldap mod_authnz_external mod_ssl openssl
sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/sysconfig/selinux
setenforce 0
systemctl stop firewalld
systemctl disable firewalld
chkconfig httpd on
systemctl start httpd
yum -y install subversion mod_dav_svn
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
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() {
View Configure Static Build QT
configure.bat -opensource -confirm-license -release -static -system-zlib -system-libpng -system-libjpeg -no-accessibility -no-opengl -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-tds -no-sql-db2 -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-qml-debug -no-dbus -nomake examples -nomake tools -nomake tests -D QT_NO_GRAPHICSVIEW -D QT_NO_GRAPHICSEFFECT -D QT_NO_STYLESHEET -D QT_NO_STYLE_CDE -D QT_NO_STYLE_CLEANLOOKS -D QT_NO_STYLE_MOTIF -D QT_NO_STYLE_PLASTIQUE -D QT_NO_PRINTPREVIEWDIALOG -mp -icu -no-angle -openssl-linked -I C:\Richard\wkhtmltopdf\static-build\msvc2013-win32\deplibs\include -L C:\Richard\wkhtmltopdf\static-build\msvc2013-win32\deplibs\lib OPENSSL_LIBS="-LC:\\Richard\\wkhtmltopdf\\static-build\\msvc2013-win32\\deplibs\\lib -lssleay32 -llibeay32 -lUser32 -lAdvapi32 -lGdi32 -lCrypt32"
Bigous /
Created Dec 2, 2015 — forked from hangtwenty/
Docker: from zero to multi-container setups

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 / setOracleVars.bat
Last active Dec 2, 2015
Define oracledb variables for windows.
View setOracleVars.bat
@echo off
echo Defining oracle variables...
set "OCI_LOCATION=D:\Oracle\instantclient_12_1\x64"
set "OCI_LIB_DIR=%OCI_LOCATION%\sdk\lib\msvc"
set "OCI_INC_DIR=%OCI_LOCATION%\sdk\include"
if defined VS140COMNTOOLS goto vs2015
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
# 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:
View DragDropAngJS.html
<!DOCTYPE html>
<html ng-app="APP">
<meta charset="UTF-8">
<title>angular-dragdrop example</title>
li:hover{background-color: #eee;}
<body ng-controller="ExampleController">
You can’t perform that action at this time.