This file contains hidden or 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 | |
# Helps mount/unmount disks | |
# | |
# Author: Jimmy Gleason <github.com/jimmygle | |
# | |
# The goal of this script is to provide a helper for faciliating the un/mounting | |
# of drives. It's useful for mounting external drives for doing automated backups, | |
# or when frequently transferring data via external drives to/from a NAS. | |
# |
This file contains hidden or 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 ruby | |
require 'net/http' | |
require 'uri' | |
require 'json' | |
require 'thor' | |
require 'date' | |
require 'pry' | |
ENV['THOR_SILENCE_DEPRECATION'] = '1' |
This file contains hidden or 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
BLOAT: | |
https://github.com/Sycnex/Windows10Debloater | |
SECURITY: | |
choco install avastfreeantivirus | |
choco install malwarebytes | |
choco install ccleaner | |
UTILITIES: | |
choco install 7zip.install |
This file contains hidden or 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
<?php | |
/** | |
* This is a really quick and dirty HTTP proxy server that supports GET and POST (with file upload) requests. | |
* | |
* Setup instructions: | |
* 1) Install Laravel 5.2 | |
* 2) `composer require guzzlehttp/guzzle` | |
* 3) Add this to your laravel routes.php | |
* 4) `php artisan serve --host=[server_ip] --port=80` |
This file contains hidden or 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
# This is useful if you want to commit an initial version of a file and | |
# then ignore any updates to it (ie config files). | |
# Ignores any changes to the file | |
git update-index --assume-unchanged <file> | |
# Undo ignore any changes to the file | |
git update-index --no-assume-unchanged <file> |
This file contains hidden or 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 | |
# Static config | |
CMD_GIT="/usr/bin/git"; | |
CMD_NPMPRUNE="/usr/bin/npm prune"; | |
CMD_NPMCACHECLEAN="/usr/bin/npm cache clean"; | |
CMD_NPMINSTALL="/usr/bin/npm install"; | |
CMD_GRUNT="/usr/bin/grunt"; | |
DIR_A="a"; | |
DIR_B="b"; |
This file contains hidden or 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
<?php | |
/** | |
* Recursively implodes an array with optional key inclusion | |
* | |
* Example of $include_keys output: key, value, key, value, key, value | |
* | |
* @access public | |
* @param array $array multi-dimensional array to recursively implode | |
* @param string $glue value that glues elements together |
NewerOlder