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
#!/usr/bin/env ruby | |
# TODO: Need to work out how to do impact this charging session and impact overall | |
# <xbar.title>Lush Energy</xbar.title> | |
# <xbar.version>v1.0</xbar.version> | |
# <xbar.author>Tim Stone</xbar.author> | |
# <xbar.author.github>fetimo</xbar.author.github> | |
# <xbar.desc>This plugin displays the current carbon (gC02equivalent) emmissions per kWh of produced electric energy in the requested country/region </xbar.desc> | |
# <xbar.dependencies>ruby, CO2 Signal</xbar.dependencies> |
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 { ApolloServer } from 'apollo-server-micro'; | |
import { ApolloGateway, IntrospectAndCompose } from '@apollo/gateway'; | |
const apolloServer = new ApolloServer({ | |
gateway: new ApolloGateway({ | |
supergraphSdl: new IntrospectAndCompose({ | |
subgraphs: [ | |
{ name: 'saleor', url: process.env.SALEOR_GRAPHQL }, | |
], | |
}), |
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
require 'httparty' | |
WORDS = [ | |
'quixotic', | |
'abstemious', | |
'piquancy', | |
'potentate', | |
'proselytized', | |
'parricide', | |
'épater', |
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 (id) { | |
'use strict'; | |
var container = document.getElementById(id); | |
if (!container) { | |
console.warn('No keep-it-on element found on page.'); | |
} | |
var text = container.textContent.trim(); |
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
/** | |
* Created by yailanderson on 10/06/16. | |
*/ | |
// install : cordova plugin add https://github.com/Wikitude/wikitude-cordova-plugin.git | |
(function (angular) { | |
angular.module('ngCordova.plugins.wikitudePlugin', []) | |
.factory('$wikitudePlugin', ['$q', '$window', '$exceptionHandler', function ($q, $window, $exceptionHandler) { |
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
{ | |
"name": "css-modules-demo", | |
"version": "1.0.0", | |
"description": "Showing off CSS Modules.", | |
"main": "src/index.js", | |
"scripts": { | |
"test": "webpack", | |
"start": "webpack-dev-server", | |
"clean": "rm -rf dist", | |
"build": "npm run clean && webpack -p" |
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
var recipes = [{"publisher": "The Pioneer Woman", "f2f_url": "http://food2fork.com/view/47024", "title": "Perfect Iced Coffee", "source_url": "http://thepioneerwoman.com/cooking/2011/06/perfect-iced-coffee/", "recipe_id": "47024", "image_url": "http://static.food2fork.com/icedcoffee5766.jpg", "social_rank": 100.0, "publisher_url": "http://thepioneerwoman.com"}, {"publisher": "Closet Cooking", "f2f_url": "http://food2fork.com/view/35382", "title": "Jalapeno Popper Grilled Cheese Sandwich", "source_url": "http://www.closetcooking.com/2011/04/jalapeno-popper-grilled-cheese-sandwich.html", "recipe_id": "35382", "image_url": "http://static.food2fork.com/Jalapeno2BPopper2BGrilled2BCheese2BSandwich2B12B500fd186186.jpg", "social_rank": 100.0, "publisher_url": "http://closetcooking.com"}, {"publisher": "The Pioneer Woman", "f2f_url": "http://food2fork.com/view/47319", "title": "Crash Hot Potatoes", "source_url": "http://thepioneerwoman.com/cooking/2008/06/crash-hot-potatoes/", "recipe_id": "47319", "image_url": "http: |
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
[ | |
{ | |
"year": "1845", | |
"Winter": "-2.5", | |
"Summer": "-1" | |
}, | |
{ | |
"year": "1846", | |
"Winter": "1.7", | |
"Summer": "1.8" |
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
[Ralph] | |
$ npm install express --save | |
0 | |
explain what we'll create | |
techniques used (routing) | |
how to use in real world |
NewerOlder