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
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
#!/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> |
OlderNewer