Skip to content

Instantly share code, notes, and snippets.

Elliot Blackburn BlueHatbRit

Block or report user

Report or block BlueHatbRit

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 settings.json
{
// General
"editor.fontFamily": "'Dank Mono', Menlo, Monaco, 'Courier New', monospace",
"editor.fontSize": 14,
"workbench.editor.enablePreview": false,
"editor.tabSize": 2,
"files.exclude": {
"**/.git": false,
},
"breadcrumbs.enabled": true,
@BlueHatbRit
BlueHatbRit / app.js
Created Mar 7, 2018
Sentry configuration example
View app.js
import * as raven from 'raven';
import * as express from 'express';
import * as packageJson from './package.json';
const app: express.Express = express();
const SENTRY_DNS = 'your sentry dns setting will be here';
app.use(configureSentry(SENTRY_DNS));
app.use(sentry.errorHandler());
View PULL_REQUEST_TEMPLATE.md

Write an overview of the pull requests intentions.

Pre-merge tasks

  • version number bumped
  • tested (with automated and by hand)

Changes

List your changes. If several people worked on this PR mention the lead author at the end, like this: @sgmccli.

View twitter-ad.html
<li class="js-stream-item stream-item stream-item
" data-item-id="937788308805038081" id="stream-item-tweet-937788308805038081" data-item-type="tweet" data-suggestion-json="{&quot;suggestion_details&quot;:{},&quot;tweet_ids&quot;:&quot;937788308805038081&quot;,&quot;scribe_component&quot;:&quot;tweet&quot;}">
<div class="tweet js-stream-tweet js-actionable-tweet js-profile-popup-actionable dismissible-content original-tweet js-original-tweet promoted-tweet has-cards has-content presented scribed"
data-tweet-id="937788308805038081" data-item-id="937788308805038081" data-permalink-path="/sddconf/status/937788308805038081"
data-conversation-id="937788308805038081" data-tweet-nonce="937788308805038081-fe85042d-f426-4924-b0bc-3fc004dc0c85"
data-tweet-stat-initialized="true" data-screen-name="sddconf" data-name="SoftwareDesign&amp;Dev" data-user-id="1342752169"
data-you-follow="false" data-follows-you="false" data-you-block="false" data-tagged="quorralyne aahoogendoorn jbogard a
View what-i-wish-id-known-about-equity-before-joining-a-unicorn.md

What I Wish I'd Known About Equity Before Joining A Unicorn

Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.

This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would

View keybase.md

Keybase proof

I hereby claim:

  • I am bluehatbrit on github.
  • I am elliotb (https://keybase.io/elliotb) on keybase.
  • I have a public key ASB2dOmtkeomPvxflNbJFFvobxzGddAv_MukVri32swtHwo

To claim this, I am signing this object:

@BlueHatbRit
BlueHatbRit / EDU-CONTRIBUTING.md
Last active May 23, 2016
Educational Contributing Guide
View EDU-CONTRIBUTING.md

We want to encourage all students to get involved with the development of this course. The materials here are mostly developed and curated by the staff team but we admit that we may miss things, or occationally get them wrong. We've put together some guidelines that should help you get started with making contributions.

Thanks for helping improve this course for everyone!

Questions, concerns, or issues

If you've got a question or problem that you think others may have, then please read this first.

The GitHub issue tracker is our preferred channel for dealing with these questions. It keeps questions public and allows others to pitch in with potential solutions, it also means everything is documented for the future. This should not be used for personal questions or issues unfit for public discussion, in those instances we encourage you to email the member of staff responsible for this course.

@BlueHatbRit
BlueHatbRit / easy-posh-git.ps1
Created Apr 15, 2016
Easy Posh-Git Installation
View easy-posh-git.ps1
# Run the following commpands in Power-Shell (as Administrator)
# One time setup to ensure the scripts can be run
Set-ExecutionPolicy RemoteSigned
# Download the install script pipe it into Invoke-Expression
(new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") | iex
# Install it
install-module posh-git
@BlueHatbRit
BlueHatbRit / build-number-helper.fsx
Last active Feb 16, 2018
A simple version number helper for FAKE build scripts (designed for Git Flow)
View build-number-helper.fsx
module BuildNumberHelper
open System
open Fake
let private majorMinorVersionMaster =
match environVarOrNone "MajorMinorVersion.Master" with
| Some v -> v
| None -> "0.0"
@BlueHatbRit
BlueHatbRit / FSharpSyntax.fsx
Last active Dec 14, 2015
Basic F# syntax guide
View FSharpSyntax.fsx
// All credit and any copyright is attributed to the source of this code:
// http://fsharpforfunandprofit.com/posts/fsharp-in-60-seconds/
// single line comments use a double slash
(* multi line comments use (* . . . *) pair
-end of multi line comment- *)
// ======== "Variables" (but not really) ==========
// The "let" keyword defines an (immutable) value
You can’t perform that action at this time.