Skip to content

Instantly share code, notes, and snippets.

View CMDann's full-sized avatar
:shipit:
work work work

Daniel Blair CMDann

:shipit:
work work work
View GitHub Profile
@CMDann
CMDann / aircrack.sh
Last active August 29, 2015 14:23
Install Aircrack-ng Suite
#!/usr/bin/env bash
#
# Installing Aircrack for scanning wifi devices
# Author: Daniel Blair
# email: dann@bitspacedevelopment.com
#
# Copyright (c) 2015 Daniel Blair, Bit Space Development
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@CMDann
CMDann / distalphalangeprossmo.0.gcode
Created March 31, 2015 13:14
distalphalangeprossmo0
This file has been truncated, but you can view the full file.
; generated by Slic3r 0.9.9 on 2015-03-31 at 08:11:01
; layer_height = 0.2
; perimeters = 3
; top_solid_layers = 3
; bottom_solid_layers = 3
; fill_density = 0.6
; perimeter_speed = 30
; infill_speed = 30
; travel_speed = 130
@CMDann
CMDann / annonthatshit.sh
Created March 3, 2015 12:23
Onion Pi IPTables
#!/bin/bash
# By Frank Danielson @ Bold Apps
IPS=(`ifconfig | grep "inet addr:" | awk -F: '{ print $2 }' | awk '{ print $1 }'`)
MASKS=(`ifconfig | grep "Mask:" | awk -F: '{ print $4 }'`)
BITS=()
i=0
mask2cidr() {
@CMDann
CMDann / gist:15f02efb3d71143b3677
Created December 4, 2014 17:14
ExifTool Output
ExifTool Version Number : 9.76
File Name : f3729db8e1a9a7c1b3f9a638d592d71d.MOV
Directory : .
File Size : 12 MB
File Modification Date/Time : 2014:11:24 14:14:18-06:00
File Access Date/Time : 2014:12:02 14:59:07-06:00
File Inode Change Date/Time : 2014:11:24 14:14:18-06:00
File Permissions : rw-r--r--
File Type : MOV
MIME Type : video/quicktime
@CMDann
CMDann / gist:8a0146b0e4644c858bdb
Created December 4, 2014 17:13
getID3 Output
Array
(
[GETID3_VERSION] => 1.9.7-20130705
[filesize] => 12164128
[filename] => f2bee615db9cb3bf6a24b0751cd2abe0.MOV
[filepath] => /private/var/shared_files/images/upload/3
[filenamepath] => /private/var/shared_files/images/upload/3/f2bee615db9cb3bf6a24b0751cd2abe0.MOV
[avdataoffset] => 36
[avdataend] => 12164128
[fileformat] => mp4
@CMDann
CMDann / .gitignore
Created September 4, 2014 13:37
Android OSX Gradle GitIgnore
### OSX ###
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
@CMDann
CMDann / mysqlcheck.sh
Created April 12, 2014 20:42
Cron job to check if mysql is running
#!/bin/bash
/usr/bin/mysqladmin ping| grep 'mysqld is alive' > /dev/null 2>&1
if [ $? != 0 ]
then
sudo service mysql restart
fi
@CMDann
CMDann / rebuild_ssl.sh
Created April 12, 2014 20:40
Rebuilding OpenSSL on Ubuntu
#!/bin/bash
mkdir sslfix
cd sslfix
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/openssl_1.0.1e-3ubuntu1.2.dsc
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/openssl_1.0.1e.orig.tar.gz
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/openssl_1.0.1e-3ubuntu1.2.debian.tar.gz
sudo apt-get build-dep openssl
dpkg-source -x openssl_1.0.1e-3ubuntu1.2.dsc