This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[type="file"] { | |
&::file-selector-button { | |
display: none; | |
} | |
// Safari only | |
@media not all and (min-resolution:.001dpcm) { | |
@supports (-webkit-appearance:none) { | |
text-indent: -120px; | |
margin-left: -7em; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Component, | |
// Prop, | |
State, | |
Element | |
} from '@stencil/core'; | |
import { | |
TweenLite | |
} from "gsap/TweenLite"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getOptimizeTestIndexFromTageManager() { | |
// returns null if not a test, 0 for the control, or 1 [2,3,4...] for | |
// the variant index | |
var optimizeContainerID = 'GTM-XXXXXXX' | |
if (!window.google_tag_manager) { | |
console.warn('Google Tag Manager object not found'); | |
return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { foo } from 'bar'; | |
foo.say('hello') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function shipit(){ | |
heroku pipelines:promote -r staging | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.directive('casper',function(){ | |
return { | |
restrict: 'A', | |
link: function (scope, element){ | |
element[0].style['position'] = 'relative'; | |
var iframe = element[0].querySelector('iframe') | |
if (!iframe) return; | |
var dimensions = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#footer-input{ | |
display: -webkit-flex; | |
display: flex; | |
width:100%; | |
.icon{ | |
width:35px; | |
font-size: 25px; | |
padding-top: 4px; | |
padding-left: 5px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.factory('FakeCamera', [function(){ | |
return { | |
getPicture: function() { | |
return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAOgklEQVR42u0da2wUVffMvlv6EGi1PA0WUXyhYKC0aUmkIEbBRNoIjUJW4gPRWBoeVjCaaERssBQi1CZugZqQRsENhEeLFdMmFh9NSClKoiAl1j6kbLst3XZf5/vzbbOdzuOemdnZLelNbmZ2du49995zzr33nHvOGQ4REf6fEBE4joM7JSntD6Wc1jAMoT+FCvD/k7sXu4r9F8pCdWpRXq7dcv+Fw9ELBodiEMZTVJJpHB+xlQyhmztp7RjTHMJx3Ih5jY8YscVH6HnoGf8q9Z/QO0Iw1JRXCkPqnUjB4ILBoO5zFp8IxpMAhwhhjXVbx0K9UoihTJcUGFptSfWEMcwhWlEtSz16cIhaGHr0Q6i87BqiFphYfWLzrdYCmFLqpZTVEsa4HBKL214hyVqtykLP1N/fD1euXNGsHZRyWsMwiInx/MwX8YXuhVQGYu/IwZEqH57b2tpg1apVkJOTA8ePHxdUdbDAkGq/XF81hYGIGAwGMfyqNlHqUQPzxo0b+PDDDyMAIACgzWbDqqoq1f3Ro/1i5SAYDI7oQHgOf8Zyzx8IsfrEyoi9I/R+U1MTpqenDyMjlE0mE+7Zswe9Xu8o+CwwpNrP0ke1MEArao1EPWKptrYW09LSRiEjlI1GI27evBm9Xu/Y4xAcY6mqqgptNpsoMsJzXl4eut3uMdU/0JOy1aRAIIAHDx5kRkYoP/3009jT0zO2OERoEdRqDQmvT66M2Pzq8Xhw586dJESE54ULF+Kff/6pan6X6gfreskCIyrKRUryer2wYcMGOHr0KASDQcX1zJo1C5xOJzz66KOxLRnGMof09PTgypUrFXMGP999993Y0NAQMQ5h3S2OSQ5pa2uDgo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('ioniChat.services',[]) | |
.factory('Speakers', function() { | |
// Might use a resource here that returns a JSON array | |
// Some fake testing data | |
var speakers = [{ | |
id: 0, | |
name: 'Ben Sparrow', | |
notes: 'Enjoys drawing things', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sessions.all = function() { | |
var q = $q.defer() | |
$http.get('https://devnexus.com/s/presentations.json') | |
.then(function(response) { | |
q.resolve(response.data.presentationList.presentation) | |
}); | |
return q.promise; | |
}; | |
NewerOlder