Skip to content

Instantly share code, notes, and snippets.

@carceneaux
carceneaux / brew-dnsmasq.md
Created Aug 2, 2018 — forked from davebarnwell/brew-dnsmasq.md
install dnsmasq with brew
View brew-dnsmasq.md

Install dnsmasq and configure for *.dev.local domains

$ brew install dnsmasq
$ vim /usr/local/etc/dnsmasq.conf

Reload configuration and clear cache

# Copy the daemon configuration file into place.
$ sudo cp $(brew list dnsmasq | grep /homebrew.mxcl.dnsmasq.plist$) /Library/LaunchDaemons/
$ sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
@carceneaux
carceneaux / cf-veeam-parameter-retrieval.yaml
Created Mar 21, 2019
CloudFormation Template - API Gateway acting as Lambda Proxy with Custom Authorizer and CORS enabled.
View cf-veeam-parameter-retrieval.yaml
---
AWSTemplateFormatVersion: '2010-09-09'
Description: AWS CloudFormation deployment for Veeam Parameter Retrieval solution.
Resources:
# API Gateway Configuration
ApiGateway:
Type: AWS::ApiGateway::RestApi
Properties:
Name: !Sub ${AWS::StackName}-API
@carceneaux
carceneaux / remove_gitlab_artifacts.sh
Last active Sep 23, 2020
Script for removing GitLab Job Artifacts.
View remove_gitlab_artifacts.sh
#!/bin/bash
#
# Written by Chris Arceneaux
# GitHub: https://github.com/carceneaux
# Email: carcenea@gmail.com
# Website: http://arsano.ninja
#
# Note: This code is a stop-gap to erase Job Artifacts for a project. I HIGHLY recommend you leverage
# "artifacts:expire_in" in your .gitlab-ci.yml
#
You can’t perform that action at this time.