Skip to content

Instantly share code, notes, and snippets.

View pocketbird's full-sized avatar

Colin Carter pocketbird

View GitHub Profile

HCA Web & Social Media Services Coding Exercise

Objective

The purpose of this exercise is to get a basic understanding of your skill level, how you organize your code, and how you make coding decisions.

Instructions

Using the Bootstrap 3 framework for structure and styling, build a one-page, responsive site about yourself or your favorite hobby.

Please do not use CDN links, as we occasionally have network issues with some external sites.

@pocketbird
pocketbird / .hyper.js
Last active December 6, 2016 15:30
Hyper terminal config
// -- hyper-stylesheet-hash:b0a9e325a9549bcaaa35a7b992d6f751 --
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'CamingoCode, Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
@pocketbird
pocketbird / Preferences.sublime-settings
Created December 6, 2016 15:25
SublimeText user prefs
{
"bold_folder_labels": false,
"color_scheme": "Packages/One Dark Color Scheme/One Dark.tmTheme",
"ensure_newline_at_eof_on_save": true,
"folder_exclude_patterns":
[
".grunt",
".svn",
".hg",
"CVS"
// Check if the DOM is ready every 100ms.
// If it is, clear the interval and do
// what you need to do inside the if statement
var isTheDomReady = setInterval(function() {
if (document.readyState === 'complete') {
clearInterval(isTheDomReady); // document ready, clear interval
// Do your stuff here.
}
}, 100);
@pocketbird
pocketbird / git-pushing-multiple.rst
Created July 2, 2019 19:46 — forked from rvl/git-pushing-multiple.rst
How to push to multiple git remotes at once. Useful if you keep mirrors of your repo.

Pushing to Multiple Git Repos

If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.

Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.

If in doubt about what git is doing when you run these commands, just