Skip to content

Instantly share code, notes, and snippets.

View ArnaudD's full-sized avatar

Arnaud Didry ArnaudD

View GitHub Profile
@ArnaudD
ArnaudD / install.sh
Created January 14, 2017 13:10
Wifi install rtl8192cu
# Source : https://sites.google.com/site/easylinuxtipsproject/reserve-7
apt-get install linux-headers-$(uname -r) build-essential dkms git
git clone https://github.com/pvaret/rtl8192cu-fixes.git
dkms add ./rtl8192cu-fixes
dkms install 8192cu/1.10
depmod -a
cp ./rtl8192cu-fixes/blacklist-native-rtl8192.conf /etc/modprobe.d/
cp ./rtl8192cu-fixes/8192cu-disable-power-management.conf /etc/modprobe.d/
reboot
@ArnaudD
ArnaudD / zfs-share.md
Created January 7, 2017 22:00
Zfs config
@ArnaudD
ArnaudD / doc.md
Created January 5, 2017 00:17
Replace zfs disk

find disk location (ex: /dev/sdc)

lshw | less

Add a partition table

parted /dev/disk/by-id/ata-ST1000DM003-1SB102_Z9A788VS mklabel gpt
@ArnaudD
ArnaudD / script.sh
Created December 16, 2016 10:02
Print files in a directory
parallel lpr ::: "$(ls)"

Keybase proof

I hereby claim:

  • I am ArnaudD on github.
  • I am arnaudd (https://keybase.io/arnaudd) on keybase.
  • I have a public key whose fingerprint is 67EA 96AA B5EA 62D1 8274 1D6F 7DD6 F322 FF88 4242

To claim this, I am signing this object:

@ArnaudD
ArnaudD / .babelrc
Last active March 17, 2016 16:09
FIZIX NPM Module boilerplate
{
"presets": [
"es2015",
"stage-0",
]
}
@ArnaudD
ArnaudD / README.md
Last active April 13, 2016 09:29
scripts for managing several repositories

install

sudo apt-get install parallel
bash <(curl -s https://gist.githubusercontent.com/ArnaudD/40f153aa93920bd56f90/raw/update-scripts.sh)
@ArnaudD
ArnaudD / etc-network-interfaces
Last active November 28, 2015 03:18
Raspberry Setup 2015
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface eth0 inet manual
# wpa_passphrase "ssid" "password"
auto wlan0
allow-hotplug wlan0
@ArnaudD
ArnaudD / setup.sh
Created November 23, 2015 13:39
Ubuntu 15.10 setup for the XPS 13 (2013)
wget http://ppa.launchpad.net/canonical-kernel-team/unstable/ubuntu/pool/main/l/linux/linux-headers-4.3.0-0-generic_4.3.0-0.8_amd64.deb
wget http://ppa.launchpad.net/canonical-kernel-team/unstable/ubuntu/pool/main/l/linux/linux-headers-4.3.0-0_4.3.0-0.8_all.deb
wget http://ppa.launchpad.net/canonical-kernel-team/unstable/ubuntu/pool/main/l/linux/linux-image-4.3.0-0-generic_4.3.0-0.8_amd64.deb
wget http://ppa.launchpad.net/canonical-kernel-team/unstable/ubuntu/pool/main/l/linux/linux-image-extra-4.3.0-0-generic_4.3.0-0.8_amd64.deb
dpkg -i linux-*.deb
apt install curl gnupg software-properties-common ca-certificates curl gnupg apt-transport-https wget
# Node
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/nodesource.gpg
NODE_MAJOR=18
echo "deb [signed-by=/etc/apt/trusted.gpg.d/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
# Google Chrome
sudo sh -c 'echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list'
curl -fsSL https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-chrome.gpg