Skip to content

Instantly share code, notes, and snippets.

View nestorwheelock's full-sized avatar
:octocat:
Meow

Nestor Wheelock nestorwheelock

:octocat:
Meow
View GitHub Profile
@nestorwheelock
nestorwheelock / synapse.sh
Created February 14, 2018 03:15 — forked from Cameron-D/synapse.sh
Matrix Synapse FreeBSD setup commands
# Assumes new clean jail
pkg update
pkg upgrade
# Required packages
pkg install bash nano jpeg py27-setuptools27 py27-sqlite3
# Set up python
easy_install pip
pip install virtualenv
# Perhaps create a new user account now and switch to it
# csh gave venv errors
@nestorwheelock
nestorwheelock / AXIS-Camera
Created August 16, 2019 02:54 — forked from stephenhouser/AXIS-Camera
Controlling AXIS Pan/Tilt/Zoom Web Camera
Pyhton sample code to control an AXIS Pan/Tilt/Zoom web camera.
@nestorwheelock
nestorwheelock / bash-smtp-auth-email
Last active January 2, 2020 06:01 — forked from fbatschi/bash-smtp-auth-email
How to send an email from bash via SMTP Auth
$!/bin/sh
# Send an email from bash with SMTP This is an attempt to create a pseudo class to have an email routine/template to use
# in scripts that send emails. I'm using FreeBSD so the original gist had been modified to make it work there.
RECIPIENT=""
SENDERNAME=""
SENDEREMAIL=""
SMTPUSERNAME=""
SMTPPASSWD=""
SMTPSERVER=""
@nestorwheelock
nestorwheelock / dontforget.bash
Created October 24, 2020 03:25 — forked from ttscoff/dontforget.bash
Quick reminders from Terminal (bash)
#!/bin/bash
# dontforget
#
# A stupid script for short term reminders in bash
#
# Arguments just need to contain a number and a bunch of words.
#
# The number can be anywhere in the arguments, but there shouldn't
# be any other numeric digits.
#
@nestorwheelock
nestorwheelock / chrome.json
Last active November 2, 2020 22:54 — forked from meets2tarun/chrome.json
Copy the file in /etc/chromium-browser/policies/managed and make required changes in chromium-browser
// Policy template for Linux.
// Uncomment the policies you wish to activate and change their values to
// something useful for your case. The provided values are for reference only
// and do not provide meaningful defaults!
{
// Cross-origin HTTP Basic Auth prompts
//-------------------------------------------------------------------------
// Controls whether third-party sub-content on a page is allowed to pop-up an
// HTTP Basic Auth dialog box. Typically this is disabled as a phishing
// defense. If this policy is not set, this is disabled and third-party sub-
@nestorwheelock
nestorwheelock / README.md
Created December 1, 2020 09:48 — forked from proffalken/README.md
Mautic Nginx Configuration

Mautic Nginx Configuration

These files allow you to configure Mautic using Nginx.

@nestorwheelock
nestorwheelock / unixToolbox.md
Created August 10, 2021 04:03 — forked from tokhi/unixToolbox.md
Collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users.

#Unix Toolbox

This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing.

##Unix Toolbox revision 14.4

The latest version of this document can be found at http://cb.vu/unixtoolbox.xhtml. Replace .xhtml on the link with .pdf for the PDF version and with .book.pdf for the booklet version. On a duplex printer the booklet will create a small book ready to bind. This XHTML page can be converted into a nice PDF document with a CSS3 compliant application (see the script example). See also the about page.
Error reports and comments are m
@nestorwheelock
nestorwheelock / rust.md
Created October 10, 2021 03:10 — forked from fabiotatsuo/rust.md
Install Rust, Cargo and Rustup Toolchain inside FreeBSD 12 Jail
  1. Install rust

    jail-app is name of jail.

    $ jexec jail-app
    $ pkg install curl
    

    Download and install rustup
    $ curl https://sh.rustup.rs -sSf | sh

@nestorwheelock
nestorwheelock / Blog: Installing Docker.md
Created December 3, 2021 05:41 — forked from Jaykul/Blog: Installing Docker.md
Docker in PowerShell on Windows 10

Using Docker on Windows 10 (Updated at the end of 2019)

Since I wrote this originally, Docker on Windows has become a first-class supported tool, with a Windows Installer and well-documented installation processes from docker and from Microsoft.

Today, I actually install docker using boxstarter scripts where I can Enable-WindowsOptionalFeature -Online -FeatureName containers -All and then choco upgrade -y docker-desktop as well as installing tooling for VS Code code --install-extension "ms-azuretools.vscode-docker".

I've left the rest of these notes here as a historical record, more than anything else. You should not expect the script below to work, but you certainly don

@nestorwheelock
nestorwheelock / .ignore
Created April 9, 2022 21:45 — forked from NahuLD/.ignore
Restic backup script (S3 compatible Wasabi)
# Empty
# MUST BE LOCATED IN /etc/restic