Skip to content

Instantly share code, notes, and snippets.

View jcockhren's full-sized avatar
👨‍🍳
Cooking up something 🔥

Jurnell Cockhren jcockhren

👨‍🍳
Cooking up something 🔥
View GitHub Profile
@jcockhren
jcockhren / .gitignore
Created July 7, 2017 19:05
C# Git ignore
# Download this file using PowerShell v3 under Windows with the following comand
# Invoke-WebRequest https://gist.githubusercontent.com/kmorcinek/2710267/raw/ -OutFile .gitignore
# User-specific files
*.suo
*.user
*.sln.docstates
# Build results
homeassistant:
pip.installed:
- bin_env: '/usr/bin/pip3'
python3-pip:
pkg.installed
cython3:
pkg.installed

Debug your codebase (Make it Compile cleanly)

@jcockhren
jcockhren / votr-intro.md
Last active April 19, 2016 01:35
Features foe Votr App

Assignment (Due Monday)

Use draw.io to build simple ERD (no attributes yet) encompassing the following features.

  • As a user I want to be able to create a poll with voting options
  • As a user I want to be able to vote on a poll
  • As a user I want to be able to start/stop the voting round
  • As a user I want to be able to search polls by tag & title.
  • As a user I want to be able to be able to tag polls
  • As a user I want to see completed poll results
@jcockhren
jcockhren / dnsimple.py
Last active February 3, 2016 19:54
Example execution module for DNSimple
from __future__ import absolute_import
from salt import utils
import salt
import salt.utils
import salt.version
import salt.loader
import salt.ext.six as six
@jcockhren
jcockhren / cloud-profile.yaml
Created February 3, 2016 18:08
Example of how to define multiple security groups for an EC2 instance in salt-cloud
micro_aws:
provider: aws
image: ami-88888888
script: bootstrap-salt
script_args: git v2015.5.5
size: t2.micro
securitygroupid:
- sg-12345678
- sg-23456789
minion:
@jcockhren
jcockhren / instructions.md
Last active February 2, 2016 00:58
Installing Needed tools on Windows
@jcockhren
jcockhren / .profile
Created January 15, 2016 19:34
basics for gpg-agent+ssh used for ssh auth via smartcard
eval $(gpg-agent --daemon --enable-ssh-support)
@jcockhren
jcockhren / database_file_recreate.md
Created December 7, 2015 16:43
How to re-create Database File

How to re-create Database File

  1. Go to your project and right-Click on App_Data Then select Open in File Explorer
  2. In your Server Explorer, under Data Connections, delete both connections (DefaultConnection and Jitter.mdf)
  3. Delete the Database FILES in the directory from #1.
  4. In your Package Manager Console Run -> Update-Database