Skip to content

Instantly share code, notes, and snippets.

View bdougie's full-sized avatar

Brian Douglas bdougie

View GitHub Profile
@bemasher
bemasher / stack.go
Last active August 19, 2020 10:59
A simple LIFO stack backed by a linked list implemented with golang.
package main
import (
"fmt"
)
type Stack struct {
top *Element
size int
}
@rxaviers
rxaviers / gist:7360908
Last active April 30, 2024 18:08
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@allolex
allolex / README.md
Last active August 29, 2015 14:00
Regular expression examples
@bdougie
bdougie / .vimrc
Last active February 14, 2018 21:31
My Vimrc as of 1/2016
""""""""""""""""""""""
"" Vundler Boiler """"
""""""""""""""""""""""
set nocompatible " be iMproved, required
filetype off " required
filetype plugin on " nercommenter
" Word wrap
set wrap
set textwidth=80
@subfuzion
subfuzion / global-gitignore.md
Last active April 23, 2024 22:47
Global gitignore

There are certain files created by particular editors, IDEs, operating systems, etc., that do not belong in a repository. But adding system-specific files to the repo's .gitignore is considered a poor practice. This file should only exclude files and directories that are a part of the package that should not be versioned (such as the node_modules directory) as well as files that are generated (and regenerated) as artifacts of a build process.

All other files should be in your own global gitignore file:

  • Create a file called .gitignore in your home directory and add any filepath patterns you want to ignore.
  • Tell git where your global gitignore file is.

Note: The specific name and path you choose aren't important as long as you configure git to find it, as shown below. You could substitute .config/git/ignore for .gitignore in your home directory, if you prefer.

@lannonbr
lannonbr / base-check.yml
Created December 8, 2019 22:41
Do stuff only in a main repo and not forks
on: push
name: Workflow
jobs:
work:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- id: base_check
name: check if repo is base
run: |