Skip to content

Instantly share code, notes, and snippets.

View teamgroove's full-sized avatar

René teamgroove

  • SMILEUPPS-F091BA1E67
  • -`ღ´-
View GitHub Profile
@teamgroove
teamgroove / graphql-axios.js
Created March 7, 2018 18:12 — forked from bjunc/graphql-axios.js
application/graphql vs application/json using axios
let input = { first_name: 'Foo', last_name: 'Bar' };
// application/graphql example
/* eslint-disable no-unused-vars */
let configGraphQL = {
url: '/graphql',
method: 'post',
headers: { 'Content-Type': 'application/graphql' },
data: `mutation { user(id: 1, input: ${ JSON.stringify(input) }){ full_name } }`
};
@teamgroove
teamgroove / plink-plonk.js
Created February 15, 2020 18:40 — forked from tomhicks/plink-plonk.js
Listen to your web pages
@teamgroove
teamgroove / rain.gs
Created January 9, 2023 22:40 — forked from eiiot/rain.gs
Hourly Rain in Google Calendar
Date.prototype.addHours= function(h){
this.setHours(this.getHours()+h);
return this;
}
function updateCalendar() {
let response = UrlFetchApp.fetch('https://api.openweathermap.org/data/2.5/onecall?lat={{YOUR LATITUTE HERE}}&lon={{YOUR LONGITUDE HERE}}&units=imperial&appid={{YOUR API KEY HERE}}')
let weather = JSON.parse(response.getContentText());
@teamgroove
teamgroove / hello_world.c
Created April 20, 2023 10:09 — forked from kripken/hello_world.c
Standalone WebAssembly Example
int doubler(int x) {
return 2 * x;
}