Skip to content

Instantly share code, notes, and snippets.

View teamgroove's full-sized avatar

René teamgroove

  • SMILEUPPS-F091BA1E67
  • -`ღ´-
View GitHub Profile
@teamgroove
teamgroove / n8n_overview.erb
Created September 30, 2024 19:24 — forked from TephlonDude/n8n_overview.erb
Smashing dashboard file that created the n8n Overview dashboard
<% content_for :title do %>n8n Overview<% end %>
<div class="gridster">
<H2>n8n Overview</H2>
<ul>
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="npm_final" data-view="Meter" data-title="npm Final" data-height="200" data-width="200" data-min="0" data-max="1" data-suffix="" style="background-color:#CB3837;"></div>
<i class="fas fa-flag-checkered icon-background"></i>
</li>
@teamgroove
teamgroove / README.md
Created September 17, 2024 23:12 — forked from cugu/README.md
Webhooks for PocketBase

Webhooks for PocketBase

A simple webhook plugin for PocketBase.

Adds a new collection "webhooks" to the admin interface, to manage webhooks.

Example

The webhook record in the following example send create, update, and delete events in the tickets collection to http://localhost:8080/webhook.

@teamgroove
teamgroove / README.md
Created August 7, 2024 13:27 — forked from markuman/README.md
🗺️ OSM - self host the entire planet 🌎 in ~30 minutes 🚀

🗺️ OSM - self host the entire planet 🌎 in ~30 minutes 🚀

TL;DR

mkdir osm
wget -O osm/planet.mbtiles https://hidrive.ionos.com/api/sharelink/download?id=SYEgScrRe
podman run -ti --rm -p 9000:9000 --name sms -v $(pwd)/osm/:/data/ registry.gitlab.com/markuman/sms:latest
firefox http://localhost:9000
@teamgroove
teamgroove / .gitignore
Created April 24, 2023 13:29
gitignore nodejs
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
@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;
}
module.exports = {
apps: [
{
name: "backend",
script: "./app.js",
instances: 10,
exec_mode: "cluster",
interpreter: "/home/rsx/.nvm/versions/node/v16.14.0/bin/node",
},
],
@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 / plink-plonk.js
Created February 15, 2020 18:40 — forked from tomhicks/plink-plonk.js
Listen to your web pages
@teamgroove
teamgroove / gist:48bd9b79501977ef1c91e6d58e62bffd
Created March 1, 2019 11:32
delete remote branches, that have been merged into master (except develop and release-branch)
git branch -r --merged origin/master | grep -v master | grep -v develop | grep -v origin/release | grep "origin/" | cut -d "/" -f 3- | xargs -n 20 git push --delete origin
@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 } }`
};