Skip to content

Instantly share code, notes, and snippets.

View TheSharpieOne's full-sized avatar

Evan Sharp TheSharpieOne

  • Jacksonville, FL
View GitHub Profile

Keybase proof

I hereby claim:

  • I am thesharpieone on github.
  • I am thesharpieone (https://keybase.io/thesharpieone) on keybase.
  • I have a public key ASCZWorIIQaKmtqUMBBkGAHiVErI-1gnARxLQPXqIGET1Qo

To claim this, I am signing this object:

@TheSharpieOne
TheSharpieOne / rocketchat-jira-bot.js
Created July 17, 2018 16:26
A rocket.chat outgoing webhook integration which allow the user to create and manage on-prem/private JIRA instance tickets via rocket.chat messages.
/* exported Script */
/* globals console, _, s, HTTP */
const username = 'JIRA_SERVICE_ACCOUNT_USERNAME';
const password = 'JIRA_SERVICE_ACCOUNT_PASSWORD';
const baseJiraUrl = 'ON_PREM_JIRA_DOMAIN';
const baseApiUrl = `${baseJiraUrl}/rest/api/2`;
const apiTicketBase = `${baseApiUrl}/issue`;
const browseTicketBase = `${baseJiraUrl}/browse`;
// If behind corp proxy
@TheSharpieOne
TheSharpieOne / _print-grid-framwork.scss
Last active September 19, 2018 14:47
bootstrap v4 print columns (based on bootstrap v4's _grid-framework) (https://github.com/twbs/bootstrap/issues/16800#issuecomment-172406940)
// Framework print grid generation (for v4.0.0-beta.2)
//
// Used only to generate the correct number of grid classes given
// any value of `$grid-columns`.
// import bootstrap prior to this mixin to set the various variables and mixins needed/used.
@mixin make-print-grid-columns($columns: $grid-columns, $gutter: $grid-gutter-width, $name: "pr") {
@media print {
// Common properties
%grid-column-print {