Skip to content

Instantly share code, notes, and snippets.

🎧
Learning to be a dad - contributions are limited at the moment

Xander Dumaine xdumaine

🎧
Learning to be a dad - contributions are limited at the moment
Block or report user

Report or block xdumaine

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 alexa-lambda.js
/* eslint-disable func-names */
/* eslint-disable no-console */
const Alexa = require('ask-sdk');
const GetNewFactHandler = {
canHandle(handlerInput) {
const request = handlerInput.requestEnvelope.request;
return request.type === 'LaunchRequest'
|| (request.type === 'IntentRequest'
View alexa-skill.json
{
"interactionModel": {
"languageModel": {
"invocationName": "genesys facts",
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": []
},
{
View nc-map-deconstructed.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View nc-map.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View bitbucket-dark.css
body.adg3 .aui-avatar img {
border-radius: 3px;
}
header#announcement {
display: none;
}
#content[role="main"],
.aui-page-panel,
View bitbucket-dark.css
body.adg3 .aui-avatar img {
border-radius: 3px;
}
#content[role="main"],
.aui-page-panel,
table.aui>tbody>tr,
table.aui>tfoot>tr,
#adg3-navigation div,
#wrapper,
View components.my-component.js
import Ember from 'ember';
export default Ember.Component.extend({
});
View controllers.application.js
import Ember from 'ember';
import DS from 'ember-data';
function getAgentName () {
return new Promise((resolve) => {
setTimeout(() => resolve('xander'), 2000);
});
}
function getAgentName2 () {
View bitbucket-flat-dark.css
body.adg3 .aui-avatar img {
border-radius: 3px;
}
#content[role="main"],
.aui-page-panel,
table.aui>tbody>tr,
table.aui>tfoot>tr,
#adg3-navigation nav div,
#wrapper {
View lazyload.js
/* lazyload.js (c) Xander Dumaine
* MIT License (http://www.opensource.org/licenses/mit-license.html)
*
* Adapted from https://css-tricks.com/snippets/javascript/lazy-loading-images/
*
* expects a bunch of
* `<img src="blank.gif" data-src="my_image.png">`
*/
!function (window) {
You can’t perform that action at this time.