Skip to content

Instantly share code, notes, and snippets.

View svdarren's full-sized avatar

Darren svdarren

View GitHub Profile
@svdarren
svdarren / vimium-options.json
Created October 7, 2021 00:03
Vimium options file
{
"settingsVersion": "1.67",
"exclusionRules": [
{
"pattern": "https?://mail.google.com/*",
"passKeys": ""
},
{
"pattern": "https://vim-adventures.com/*",
"passKeys": ""
@svdarren
svdarren / Snapshot Unifi UDM logs.md
Last active October 3, 2021 22:32
Snapshot all Unifi UDM logs

Snapshot all Unifi UDM logs

This script runs on macOS. All dependancies ('expect', 'security') should be installed be default on macOS, or at least one with the Xcode command line tools.

Instructions

  1. Add your SSH password to the macOS keychain. This script will search for the 'root' username and the IP address.
  2. Download the script and add executable permissions.
  3. Update the script IP address to match your UDM IP address.

Netlify Functions template

This template is a personal reuse starting point for Netlify functions. This is general, but assumes the function will be used as part of a JAMstack project or environment.

Toolchain Summary

  1. First, there needs to be repository. Our environment needs this to exist first, and this template project can be cloned to start.
  2. Next, we need our development environment. GitPod launches from the repo in GitHub.
@svdarren
svdarren / Jupyter-Notebooks.md
Created January 3, 2020 05:27
Workflow notes for Jupyter Notebooks. These are used primarily in the data science community.

Jupyter Notebooks

Go to the GitHub wiki for more background.

Action List

  • Put to-do's here

Workflow & CI/CD

FROM buildpack-deps:disco
### base ###
RUN yes | unminimize \
&& apt-get install -yq \
asciidoctor \
bash-completion \
build-essential \
htop \
jq \
@svdarren
svdarren / untitled0.ipynb
Last active January 23, 2020 06:36
Untitled0.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@svdarren
svdarren / .gitignore
Created December 7, 2019 02:44 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #