Skip to content

Instantly share code, notes, and snippets.

View ncronquist's full-sized avatar

Nicholas Cronquist ncronquist

View GitHub Profile
@ncronquist
ncronquist / BoxstarterNcronquist
Last active August 29, 2015 14:07
Boxstarter script for my basic computer setup. Does not include development environment apps.
Set-ExplorerOptions -showHidenFilesFoldersDrives -showFileExtensions
Enable-RemoteDesktop
choco install Firefox
choco install GoogleChrome
choco install thunderbird
choco install markdownpad2
choco install notepadplusplus
choco install libreoffice
choco install keepass
@ncronquist
ncronquist / Snippet:HTML: Starting Template.html
Last active August 29, 2015 14:15
Snippet:HTML: Starting Template
<!doctype html>
<html>
<head>
<met charset=utf-8>
<title></title>
</head>
<body>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
@ncronquist
ncronquist / Snippet:How to use Gists for Sublime Text 2.md
Last active August 29, 2015 14:15
Snippet:How to use Gists for Sublime Text 2
  • Using package control, install Gists
  • Preferences -> Browse Packages -> Gist -> edit Gist.sublime-settings
  • Follow these directions to create GitHub access token - https://github.com/condemil/Gist#generating-access-token
  • Enter the token in Gist.sublime-settings
  • Uncomment "gist_prefix": "Snippet" (or whatever you would like to use, and make sure to add a comma to the last uncommented config line before that)
  • Save the settings
  • Open a new Sublime Text file and enter the text for your gist
  • Ctrl+Shift+p to open the command palette
  • Type Gist and select Create Public Gist
  • Enter the name of your Gist preceded by Snippet
@ncronquist
ncronquist / Snippet:HTML:BaseBootstrap.html
Last active August 29, 2015 14:17
Base Bootstrap page with some useful stylesheets, scripts, and classes; Comment and delete as necessary
<!DOCTYPE html>
<html lang="en">
<head>
<title>Base Page</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Stylesheets -->
<!-- Boostrap CSS -->
@ncronquist
ncronquist / Git.md
Last active August 29, 2015 14:17
Cheatsheet: Basic Git commands

Git Commands

Commands Action
git init Initialize a git repo
git status Displays the current state of the project
git add filename Adds that file to the staging area and starts tracking changes
git add '*.txt' Adds all text files to the staging area
git commit -m "Commit message" Commits (stores) changes with the commit message
@ncronquist
ncronquist / Snippet:CSS:Animate.css
Last active August 29, 2015 14:21
Snippet AnimateCss
@charset "UTF-8";
/*!
Animate.css - http://daneden.me/animate
Licensed under the MIT license - http://opensource.org/licenses/MIT
Copyright (c) 2015 Daniel Eden
This Gist is simply to make it easy to import into my projects when I need the file locally rather than using a cdn.
*/
@ncronquist
ncronquist / epiceditor.js
Created June 5, 2015 06:19
Slightly Modified Epic Editor for Use with DevBoxTools
/**
* EpicEditor - An Embeddable JavaScript Markdown Editor (https://github.com/OscarGodson/EpicEditor)
* Copyright (c) 2011-2012, Oscar Godson. (MIT Licensed)
*/
(function (window, undefined) {
/**
* Applies attributes to a DOM object
* @param {object} context The DOM obj you want to apply the attributes to
* @param {object} attrs A key/value pair of attributes you want to apply
@ncronquist
ncronquist / epiceditor.css
Created June 5, 2015 06:24
Slightly Modified Epic Editor CSS for Use with DevBoxTools
html#epiceditor, body#epiceditor, iframe#epiceditor, div#epiceditor {
margin:0;
padding:0;
}
#epiceditor-utilbar {
position:fixed;
bottom:10px;
right:10px;
}
@ncronquist
ncronquist / epic-dark.css
Created June 5, 2015 06:28
Slightly Modified Epic Editor Epic Dark CSS for Use with DevBoxTools
html.epiceditorclass { padding:10px; }
body.epiceditorclass {
border:0;
background:rgb(41,41,41);
font-family:monospace;
font-size:16px;
padding:10px;
color:#ddd;
line-height:1.35em;
Set-ExplorerOptions -showHidenFilesFoldersDrives -showFileExtensions
Enable-RemoteDesktop
choco install notepadplusplus
choco install atom
choco install keepass
choco install spideroak
choco install googledrive
choco install MsSqlServer2012Express
choco install skype