Skip to content

Instantly share code, notes, and snippets.

View ojacques's full-sized avatar
🌤️
Head in the cloud; feet, too.

Olivier Jacques ojacques

🌤️
Head in the cloud; feet, too.
View GitHub Profile
@ojacques
ojacques / README.md
Last active June 14, 2021 04:06
WSL tips Windows 10 /

Collecting tips to make Windows 10 WSL a tiny bit faster

  • Wrap git to use Windows's GIT per this
  • Delay when starting conemu prompt: add %program files%\conemu folder to windows defender folder exclusion, per this
#!/bin/bash
# WSL 'git' wrapper, save as /usr/local/bin/git and chmod a+x

/c/Program\ Files/Git/bin/git.exe "$@"
@ojacques
ojacques / README.md
Last active May 1, 2019 20:10
TCPSClient on Raspberry PI2
@ojacques
ojacques / sync_github_repos.md
Last active December 15, 2017 12:42
Syncing GitHub repositories
@ojacques
ojacques / .env.template
Created October 1, 2017 12:56
Redémarrage LABOX SFR
export labox_IP="192.168.0.1"
export labox_user="admin"
export labox_password="password"
export labox_urlcheck="http://url__a_verifier_avec_port_redir:port"
@ojacques
ojacques / build-pocketvj.md
Last active June 8, 2021 14:33 — forked from baydam/build-pocketvj.md
How to build PocketVJ on Raspberry Pi 3

Documentation for building PocketVJ on Raspberry Pi 3

Install Raspbian Lite

Find the instruction in the link below https://www.raspberrypi.org/documentation/installation/installing-images/README.md

Install dependencies

$ sudo apt-get -y install lxde-core lxterminal lxappearance xinit lightdm ntfs-3g python-pexpect vim figlet git-core firmware-ralink hostapd isc-dhcp-server lighttpd samba samba-common-bin php5-common php5-cgi php5 php5-mysql screen fbi ttf-mscorefonts-installer mediainfo gparted php5-cli iptables xtightvncviewer imagemagick dosfstools exfat-utils exfat-fuse hfsplus hfsprogs hfsutils xdotool expect expect-dev avahi-daemon libavahi-compat-libdnssd-dev feh libjpeg8 libjpeg8-dev libao-dev avahi-utils libavahi-compat-libdnssd-dev libva-dev youtube-dl python-smbus mpg321 mpg123 libreoffice-impress rc-gui python-pip iceweasel python-dev python-dbus xpdf x11-xserver-utils libncurses5-dev shellinabox tk okular usbmount libgstreamer0.10-0 libgstreamer0.10-dev gstreamer0.10-tools gstr
@ojacques
ojacques / cart_B.html
Created February 11, 2017 11:09
A B Testing with cart option B
<h2>Shopping Cart</h2>
<div class="well">
<div class="alert alert-info">
<strong>Info!</strong> Pay with Paypal and get free shipping!
</div>
<table class="table table-striped" ng-controller="CartController">
<thead>
<tr ng-show="vm.globalDiscount>0">
<td colspan="3"><h1>All store {{vm.globalDiscount}}% off</h1></td>
@ojacques
ojacques / DiscountSpec.groovy
Last active April 18, 2018 17:49
DevOps Dojo Test Case
package io.github.zutherb.appstash.shop.ui.page.test
import geb.Page
import geb.spock.GebReportingSpec
import org.openqa.selenium.remote.DesiredCapabilities
import org.openqa.selenium.remote.RemoteWebDriver
import io.github.zutherb.appstash.common.util.Config
class DiscountSpec extends GebReportingSpec {
def "Check discount"() {