Skip to content

Instantly share code, notes, and snippets.

View MichaelCduBois's full-sized avatar

Michael duBois MichaelCduBois

View GitHub Profile
@MichaelCduBois
MichaelCduBois / set_function.py
Created August 14, 2019 15:54
set() function
list = ["Clarkio", "CecilPhillips", "Yegnaro", "Roberttables", "Yegnaro"]
set(list) # Returns {"Clarkio", "CecilPhillips", "Yegnaro", "Roberttables"}
@MichaelCduBois
MichaelCduBois / NginxCache.conf
Last active October 14, 2019 15:27
Nginx Cache with Reverse Proxy
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
@MichaelCduBois
MichaelCduBois / Neovim Harpoon Plugin Configuration.md
Last active April 2, 2024 20:22
This code snippet defines a configuration file for the Harpoon project. It sets up various keymaps and files to be used in Vim, such as "ThePrimeagen/harpoon", "Harpoon2", or "Nua-lua" dependencies with lazy dependency

Neovim Harpoon Plugin Configuration

Preview:
return {
  {
    'ThePrimeagen/harpoon',
    branch = 'harpoon2',
    dependencies = {
      'nvim-lua/plenary.nvim',
    },