Skip to content

Instantly share code, notes, and snippets.

# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@DGZN
DGZN / snippets.cson
Last active August 29, 2015 14:24
Atom Snipets
'.html':
'Import Bootstrap':
'prefix': 'import-bs'
'body': '''
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
'''
'Import jQuery':
'prefix': 'import-jq'
@DGZN
DGZN / Global Install PHPUnit
Created July 19, 2015 23:00
Install PHPUnit Testing Framework
curl https://phar.phpunit.de/phpunit.phar -o phpunit.phar
chmod +x phpunit.phar
mv phpunit.phar /usr/local/bin/phpunit
@DGZN
DGZN / Album.xml
Created September 16, 2015 22:24
Album XML Schema
<?xml version="1.0" encoding="utf-8"?>
<song id="song-reference_id-003" parent_id="album-reference_id-001" track_number="1" has_video="false" >
<meta language="en">
<name>Melody Song 01</name>
</meta>
</song>
@DGZN
DGZN / Source Grok
Created June 3, 2016 03:44
Source code empathy
alias ick='ack -i --pager="less -R -S -X"'
@DGZN
DGZN / webpack.config.js
Created August 29, 2016 20:46 — forked from learncodeacademy/webpack.config.js
Sample Basic Webpack Config
var debug = process.env.NODE_ENV !== "production";
var webpack = require('webpack');
module.exports = {
context: __dirname,
devtool: debug ? "inline-sourcemap" : null,
entry: "./js/scripts.js",
output: {
path: __dirname + "/js",
filename: "scripts.min.js"
@DGZN
DGZN / Samsung-Remote.js
Created May 24, 2017 17:29
Samsung Smart TV Remote
'use strict'
var SamsungRemote = require('samsung-remote');
var remote = new SamsungRemote({
ip: '10.0.1.36', // required: IP address of your Samsung Smart TV
port: '7676'
});
const status = (cb) => {
@DGZN
DGZN / Public-Records-Search.sh
Last active December 3, 2023 15:44
Find person by name in public datasets
# Simple bash script to search fastpeoplesearch
#
# SETUP
# curl -sL https://bit.ly/3PFCGWh -o ~/records-search.sh && chmod +x records-search.sh && ~/records-search.sh
#
# https://bit.ly/3PFCGWh redirects to https://gist.githubusercontent.com/DGZN/11588c0ead968a1bdb0f0de37badefac/raw/
#
#!/bin/bash
@DGZN
DGZN / Install_Wifi_Hacking_Tools_RSP.sh
Last active October 27, 2022 17:24
Bash WiFi Hacking Tools on Raspberry Pi
echo "INSTALLING UTILITIES"
sudo apt-get update
cd ~/
wget http://http.us.debian.org/debian/pool/main/libx/libxcrypt/libxcrypt1_2.4-3.1_armhf.deb
wget http://http.us.debian.org/debian/pool/main/libx/libxcrypt/libxcrypt-dev_2.4-3.1_armhf.deb
dpkg -I libxcrypt1_2.4-3.1_armhf.deb libxcrypt-dev_2.4-3.1_armhf.deb
sudo apt-get install -y build-essential libpcap-dev libssl-dev git curl zlib1g-dev subversion openssl libreadline6-dev git-core zlib1g libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf automake libtool bison xterm
@DGZN
DGZN / nodejs-boilerplate-config.md
Created September 15, 2020 13:35
Boilerplate Configuration for NodeJs Project with Jest

PACKAGE.JSON

{
  "scripts": {
    "test": "yarn jest --watchAll"
  },
  "jest": {
    "runner": "jest-runner-eslint",
 "displayName": "TDD Test Suite",