Skip to content

Instantly share code, notes, and snippets.

View Aergonus's full-sized avatar
🥂
/

Aergonus

🥂
/
View GitHub Profile
@Aergonus
Aergonus / beep.sh
Created January 20, 2017 00:29
MAC Auto Talking Shell Script
while true; do for voice in `say -v '?' | awk '{print $1}'`; do tput bel; say -v $voice "Beep"; printf "\a"; done ; done
@Aergonus
Aergonus / concatCSV.ps1
Last active April 8, 2016 16:52
Powershell CSV Concatenator
#Simple executeable solution for CSVs (Does not include header)
#foreach ($file in Get-ChildItem -path ".\" -filter "*.csv") {gc $file | select -Skip 1 | UNICORNS.csv}
$path = Read-Host 'Enter the path to the folder containing the CSV files (Ex: ".\" is the current directory)'
if(!$path) {$path = ".\"}
$match = Read-Host 'Enter REGEX Match filter (Ex: *.csv)'
if(!$match) {$match = "*.csv"}
$name = Read-Host 'Enter Name of Outputfile (I would suggest naming it UNICORNS.csv)'
# Get all the files before creating output
@Aergonus
Aergonus / sublime-text-3.sh
Created August 30, 2015 19:37
Gist to install Sublime Text 3 on RHEL 6 + (Used for Centos 7)
#!/bin/sh
SHORTCUT="[Desktop Entry]
Name=Sublime Text 3
Comment=Edit text files
Exec=/opt/sublime_text_3/sublime_text
Icon=/opt/sublime_text_3/Icon/128x128/sublime-text.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Utility;TextEditor;"