Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Jurnell Cockhren jcockhren

🎯
Focusing
Block or report user

Report or block jcockhren

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .gitignore
# 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
View init.sls
homeassistant:
pip.installed:
- bin_env: '/usr/bin/pip3'
python3-pip:
pkg.installed
cython3:
pkg.installed
@jcockhren
jcockhren / votr-intro.md
Last active Apr 19, 2016
Features foe Votr App
View votr-intro.md

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 Feb 3, 2016
Example execution module for DNSimple
View dnsimple.py
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 Feb 3, 2016
Example of how to define multiple security groups for an EC2 instance in salt-cloud
View cloud-profile.yaml
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 Feb 2, 2016
Installing Needed tools on Windows
@jcockhren
jcockhren / .profile
Created Jan 15, 2016
basics for gpg-agent+ssh used for ssh auth via smartcard
View .profile
eval $(gpg-agent --daemon --enable-ssh-support)
@jcockhren
jcockhren / database_file_recreate.md
Created Dec 7, 2015
How to re-create Database File
View database_file_recreate.md

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
You can’t perform that action at this time.