Skip to content

Instantly share code, notes, and snippets.

View itwars's full-sized avatar
😎
C◎⦿L

Vincent RABAH itwars

😎
C◎⦿L
View GitHub Profile
@itwars
itwars / Aircrack Commands
Created September 18, 2016 16:02 — forked from victorreyesh/Aircrack Commands
Cracking WPA2 / WEP Wifi / Aircrack 10 seconds guide. For Mac OSX
//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]
@itwars
itwars / gzip_content.rb
Last active December 21, 2015 07:09
Gzip Generation Plugin For Jekyll
#
# Gzip Generation Plugin For Jekyll
#
module Jekyll
#
# Polymorphic Monkey-Patching
#
# Page, Post, and StaticFile have very different interfaces, but this plugin
@itwars
itwars / docker-compose-download.sh
Last active November 24, 2015 19:11
Always download the latest version of docker-compose for Linux
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
@itwars
itwars / brewcask-update.sh
Last active August 29, 2015 14:01
Snippet that you must start right after a brew update to be notify of what brew cask app need to be updated on your Mac OSX
#!/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) )