Skip to content

Instantly share code, notes, and snippets.

View olivier-m's full-sized avatar

Olivier Meunier olivier-m

View GitHub Profile
@olivier-m
olivier-m / grid.css
Last active August 29, 2015 14:03
grid experiment
.clearfix,
.gs-fixed,
.gs-fluid,
.gs-dist {
zoom: 1;
}
.clearfix:after,
.gs-fixed:after,
.gs-fluid:after,
.gs-dist:after,
@olivier-m
olivier-m / adb.sh
Created August 10, 2013 12:05
Remove all Google apps from an android phone. List of delete files from http://forum.xda-developers.com/showthread.php?t=1969755
# With your phone in debug mode, etc.
adb start-server
adb remount
adb shell < remove.sh
@olivier-m
olivier-m / pygit2.sh
Last active November 9, 2017 05:56
Install pygit2 in a Python VirtualEnv
#!/bin/sh
set -e
if [ "${VIRTUAL_ENV}" = "" ]; then
echo "Error: Not in a virtual env"
exit 1
fi
OS=$(uname -s)
@olivier-m
olivier-m / ssh-copy-id.sh
Last active February 22, 2022 16:01
ssh-copy-id for OSX - Copy this to a directory in your $PATH
#!/bin/sh
# Shell script to install your identity.pub on a remote machine
# Takes the remote machine name as an argument.
# Obviously, the remote machine must accept password authentication,
# or one of the other keys in your ssh-agent, for this to work.
ID_FILE="${HOME}/.ssh/id_rsa.pub"
if [ "-i" = "$1" ]; then