Skip to content

Instantly share code, notes, and snippets.

@stevemoser
stevemoser / IncompatibleAppsList.plist
Created Jun 20, 2019
List of 235 apps incompatible with macOS Catalina 10.15
View IncompatibleAppsList.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IncompatiblePaths</key>
<array>
<dict>
<key>Application Name</key>
<string>Sxs Memory Card Driver</string>
<key>Blurb</key>
View README.md

express and knex

From project root directory:

$ express --hbs --git

$ npm install

  • Installs boilerplate dependencies

$ npm install --save pg knex method-override

@keilahoover
keilahoover / full-stack-express-app.md
Created Apr 9, 2018
Full Stack Express/Knex App
View full-stack-express-app.md

Full Stack Express/Knex App, simplified

In this guide substitute projectname, dbname, tablename, and colnameN for your own values.


Express Setup

  1. New repo on GitHub, choose .gitignore: Node, a license, and clone it to your machine
  2. sh: cd projectname && atom .
@RulerOf
RulerOf / pfsense-on-oracle-linux-7.md
Last active Mar 14, 2021
Installing pfSense on KVM in Enterprise Linux 7
View pfsense-on-oracle-linux-7.md

Installing pfSense on KVM in Enterprise Linux 7

We download the latest release of pfSense as a gzipped ISO, then extract it and pass it to virt-install to get the VM up and running. Interactive portions of setup are handled with a VNC viewer because the pfSense installer doesn't seem to be able to work with virt-install's native console redirection, at least not out of the box. I'd love a tip from anyone if it's possible to fix that somehow.

CentOS 8 instructions are this way.

Instructions

Find the latest release here.

@benstaker
benstaker / raspbian-nagios-install.sh
Last active Mar 29, 2020
Raspbian Nagios Install
View raspbian-nagios-install.sh
#!/bin/bash
#
# Script Name: raspbian-nagios-install.sh
# Arguments: -r = restart, -c = clean
#
# Author: Ben Staker <ben@benstaker.com>
# Date: 08/Jan/2017
#
# Description: Installs Nagios.
# Notes: Ensure that apt-get update, upgrade, and dist-upgrade are executed
@benstaker
benstaker / raspbian-system-upgrade.sh
Last active Mar 29, 2020
Raspbian System Upgrade
View raspbian-system-upgrade.sh
#!/bin/bash
#
# Script Name: raspbian-system-upgrade.sh
# Arguments: -r = restart
#
# Author: Ben Staker <ben@benstaker.com>
# Date: 07/Jan/2017
#
# Description: Upgrades all packages on Raspbian, including Raspberry Pi firmwares.
# Notes: You will not need to confirm each task, as this has the -y flag.
@benstaker
benstaker / raspbian-plex-install.sh
Last active Mar 29, 2020
Raspbian Plex Install
View raspbian-plex-install.sh
#!/bin/bash
#
# Script Name: raspbian-plex-install.sh
# Arguments: -r = restart
#
# Author: Ben Staker <ben@benstaker.com>
# Date: 07/Jan/2017
#
# Description: Installs Plex Media Server.
# Notes: Ensure that apt-get update, upgrade, and dist-upgrade are executed
@nrollr
nrollr / MySQL_macOS_Sierra.md
Last active Apr 30, 2021
Install MySQL on Sierra using Homebrew
View MySQL_macOS_Sierra.md

Install MySQL on macOS Sierra

This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.

Install MySQL

At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :

@pwnsdx
pwnsdx / gist:d127873e24cef159d4d603accaf37ee4
Last active Apr 24, 2021 — forked from tonymtz/gist:714e73ccb79e21c4fc9c
Uninstall XQuartz.app from OSX Yosemite/El Capitan/Sierra
View gist:d127873e24cef159d4d603accaf37ee4
launchctl unload /Library/LaunchAgents/org.macosforge.xquartz.startx.plist && \
sudo launchctl unload /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist && \
sudo rm -rf /opt/X11* /Library/Launch*/org.macosforge.xquartz.* /Applications/Utilities/XQuartz.app /etc/*paths.d/*XQuartz && \
sudo pkgutil --forget org.macosforge.xquartz.pkg && \
rm -rf ~/.serverauth* && rm -rf ~/.Xauthorit* && rm -rf ~/.cache && rm -rf ~/.rnd && \
rm -rf ~/Library/Caches/org.macosforge.xquartz.X11 && rm -rf ~/Library/Logs/X11
@vanhalt
vanhalt / kali-arm_raspberry3.md
Created Mar 30, 2016
Kali Linux ARM (kali-2.1.2-rpi2.img) running on Raspberry 3 with a 32GB micro sd