Skip to content

Instantly share code, notes, and snippets.

Avatar
🙈

Evan Sharp TheSharpieOne

🙈
View GitHub Profile
View keybase.md

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 Jul 17, 2018
A rocket.chat outgoing webhook integration which allow the user to create and manage on-prem/private JIRA instance tickets via rocket.chat messages.
View rocketchat-jira-bot.js
/* 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 Sep 19, 2018
bootstrap v4 print columns (based on bootstrap v4's _grid-framework) (https://github.com/twbs/bootstrap/issues/16800#issuecomment-172406940)
View _print-grid-framwork.scss
// 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 {