This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#--------------------------------------- | |
# Node.JS Raspberry Pi Package builder | |
# Raspbian | |
# http://nodejs-news.com | |
#--------------------------------------- | |
echo "-> Getting fpm (Effing package managers) Ruby gem" | |
sudo gem install fpm --no-ri --no-rdoc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Gzip Generation Plugin For Jekyll | |
# | |
module Jekyll | |
# | |
# Polymorphic Monkey-Patching | |
# | |
# Page, Post, and StaticFile have very different interfaces, but this plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#┌───────────────────────────────┐ | |
#│ Print cask packages thet need │ | |
#│ to be updated │ | |
#└───────────────────────────────┘ | |
caskList=( $(brew cask list) ) | |
for i in "${caskList[@]}"; do | |
info=( $(brew cask info $i) ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s https://github.com/docker/compose/releases/latest | sed -e 's#<html><body>You are being <a href="https://github.com/docker/compose/releases/tag/##g' -e 's#">redirected</a>.</body></html>##' | xargs -0 -I % curl -L https://github.com/docker/compose/releases/download/%/docker-compose-`uname -s`-`uname -m` | sudo tee /usr/local/bin/docker-compose > /dev/null; sudo chmod +x /usr/local/bin/docker-compose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s https://github.com/docker/machine/releases/latest | sed -e 's#<html><body>You are being <a href="https://github.com/docker/machine/releases/tag/##g' -e 's#">redirected</a>.</body></html>##' | xargs -i -t curl -L https://github.com/docker/machine/releases/download/{}/docker-machine-`uname -s`-`uname -m` --output /tmp/docker-machine && chmod +x /tmp/docker-machine && sudo cp /tmp/docker-machine /usr/local/bin/docker-machine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Install Macports. | |
//Install aircrack-ng: | |
sudo port install aircrack-ng | |
//Install the latest Xcode, with the Command Line Tools. | |
//Create the following symlink: | |
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport | |
//Figure out which channel you need to sniff: | |
sudo airport -s | |
sudo airport en1 sniff [CHANNEL] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modprobe bonding | |
ifconfig bond0 192.168.0.1 netmask 255.255.0.0 | |
ifenslave bond0 eth0 eth1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ┌───────────────────────────┐ | |
" │ NeoVim configuration file │ | |
" │ Author: Vincent RABAH │ | |
" │ Update date: 2017-06-01 │ | |
" └───────────────────────────┘ | |
" ┌─────────┐ | |
" │ Plugins │ | |
" └─────────┘ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"strings" | |
"net/http" | |
"io/ioutil" | |
) | |
func main() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"net/http" | |
"io/ioutil" | |
) | |
func main() { | |
OlderNewer