Skip to content

Instantly share code, notes, and snippets.

View vogelino's full-sized avatar
👽

Lucas Vogel vogelino

👽
View GitHub Profile
@vogelino
vogelino / historicalEvents.json
Created December 2, 2022 13:05
Historical Event from year 0 to 2022 (https://www.vizgr.org)
{"result": {"count": "1384", "event": {"date": "1", "description": "Tiberius, under order of Augustus, quells revolts in Germania (1\u20135).", "lang": "en", "category1": "By place", "category2": "Roman Empire", "granularity": "year"}, "event": {"date": "1", "description": "Gaius Caesar and Lucius Aemilius Paullus are appointed consuls.", "lang": "en", "category1": "By place", "category2": "Roman Empire", "granularity": "year"}, "event": {"date": "1", "description": "Gaius Caesar marries Livilla, daughter of Antonia Minor and Nero Claudius Drusus, in an effort to gain prestige.", "lang": "en", "category1": "By place", "category2": "Roman Empire", "granularity": "year"}, "event": {"date": "1", "description": "Quirinius becomes a chief advisor to Gaius in Armenia. Gnaeus Domitius Ahenobarbus, whose father Lucius Domitius Ahenobarbus had served as consul in 16 BC, also serves in the Armenia campaigns.", "lang": "en", "category1": "By place", "category2": "Roman Empire", "granularity": "year"}, "event": {"date":
@vogelino
vogelino / denkmalliste.json
Created December 2, 2022 12:59
Denkmalliste des Landes Berlin (Stand Dez. 2022)
This file has been truncated, but you can view the full file.
@vogelino
vogelino / bundestagWahlen2021.json
Created December 2, 2022 12:54
Bundestagswahl 2021 in Berlin nach Wahlbezirken (Endgültiges Ergebnis) - Berlin Open Data
This file has been truncated, but you can view the full file.
[
{
"Adresse": "01B1A",
"Stimmart": "Erststimme",
"Bezirksnummer": "01",
"Bezirksname": "Mitte",
"Wahlbezirk": "1A",
"Wahlbezirksart": "B",
"Briefwahlbezirk": "011A",
@vogelino
vogelino / bikeTheftsBerlin2022.json
Created November 27, 2022 09:39
A list of bike thefts in Berlin reported in 2022 - Based on this dataset: https://daten.berlin.de/datensaetze/fahrraddiebstahl-berlin
This file has been truncated, but you can view the full file.
// Name: Cheat Sheet
// Index: 0
import "@johnlindquist/kit"
let sheet = `
; = App Launcher
/ = File Browser
> = Terminal
< = Clipboard History
@vogelino
vogelino / scriptkit-github-repos.ts
Created September 16, 2022 16:42
Script Kit - GitHub Repos
// Name: GitHub Repos
// Description: List GitHub repositories and perform actions on them
// Author: Vogelino
// Twitter: @soyvogelino
import "@johnlindquist/kit";
const { Octokit } = await npm("octokit");
const shodwon = await npm("showdown");
const converter = new shodwon.Converter({
@vogelino
vogelino / scriptkit-change-text-case.js
Created September 16, 2022 07:53
Script Kit - Change Text Case
// Name: Change case of selected text
// Description: Choose a transformation method (eg. camelCase) to transform the selected text in-place (Or some text input)
// Author: Vogelino
// Twitter: @soyvogelino
import "@johnlindquist/kit";
const changeCase = await npm("change-case");
let text = await getSelectedText();
@vogelino
vogelino / scriptkit-get-tabler-icon.js
Created September 15, 2022 21:58
Script Kit - Tabler Icon
// Name: Get Tabler Icons
// Description: Copies a Tabler Icon from tabler open-sourced repository.
// Author: Lucas Vogel
// Twitter: @soyvogelino
import "@johnlindquist/kit";
const iconsPath = "https://tabler-icons.io/icons.json";
let files = [];
@vogelino
vogelino / scriptkit-unsplash.js
Last active September 15, 2022 15:10
Script Kit – Unsplash
// Name: Unsplash
// Description: Search unsplash for the perfect image to download
// Author: Vogelino
// Twitter: @soyvogelino
import "@johnlindquist/kit";
const { createApi } = await npm("unsplash-js");
const accessKey = await env(
"UNSPLASH_ACCESS_KEY",
@vogelino
vogelino / scriptkit-todoist.ts
Created September 14, 2022 22:20
Script Kit - Todoist
// Name: Todoist
// Description: Create and browse your Todoist Tasks
// Author: Vogelino
// Twitter: @soyvogelino
import "@johnlindquist/kit";
const { TodoistApi } = await npm("@doist/todoist-api-typescript");
const { formatRelative } = await npm("date-fns");
interface ProjectType {