Skip to content

Instantly share code, notes, and snippets.

View dnnsmnstrr's full-sized avatar
:shipit:

Dennis Muensterer dnnsmnstrr

:shipit:
View GitHub Profile
@dnnsmnstrr
dnnsmnstrr / response.json
Last active February 3, 2023 11:08
My playlists on Spotify available via a custom personal API. (the response.json is the data source)
{
"current": "https://open.spotify.com/playlist/3YKHRGx3OoWO2tRe3Duorm?si=24f725b6776a41fa",
"chill": "https://open.spotify.com/playlist/0x0ZQcmLsamIx5bF5px2Tc?si=JRKDeoYdS02T66Lhlo7V_w",
"spring": "https://open.spotify.com/playlist/68z163CKUImi0QB6ZpSigr?si=H-rEE3kMQ8WcEfgg-c6iQw",
"summer": "https://open.spotify.com/playlist/5wpb3PdQOzFb3jurTcVfZO?si=vMQ-JzRIRNqgCeGFTIZrXQ",
"autumn": "https://open.spotify.com/playlist/22XncHS02W5RWJ1yM4lV6l?si=2yW8i1WbSp6kk5gjEHXMIQ",
"winter": "https://open.spotify.com/playlist/67SvJfEofXhdIXwsuUJbCJ?si=DWOzFjMqQkqokKPueAGZaA",
"sleep": "https://open.spotify.com/playlist/13RQxSzWqVg3fHlalxlyhC?si=x8ppL0ZuSjKv8if8dQM39g",
"coding": "https://open.spotify.com/playlist/0camicGxGNwB9YS66nAwtb?si=ZpBdqb-7RWiDIiRt0g-asw",
"sports": "https://open.spotify.com/playlist/4X1uZRUIccnwcofS8QjBku?si=MK9RWVXWQaShcaiuyfJx6A",
@kevinkub
kevinkub / scriptable-line-chart.js
Last active August 23, 2024 05:31
Simple line chart class for https://scriptable.app 📈
class LineChart {
// LineChart by https://kevinkub.de/
constructor(width, height, values) {
this.ctx = new DrawContext();
this.ctx.size = new Size(width, height);
this.values = values;
}
_calculatePath() {
@marco79cgn
marco79cgn / spotify-now-playing.js
Last active July 30, 2025 00:46
A Scriptable iOS widget that shows what‘s playing on Spotify
let spotifyCredentials
let widget = await createWidget()
Script.setWidget(widget)
Script.complete()
async function createWidget() {
let widget = new ListWidget()
let spotifyIcon = await getImage("spotify-icon.png")
widget.backgroundColor = new Color("1e2040")
@dnnsmnstrr
dnnsmnstrr / projects.md
Last active June 16, 2024 20:53
Projects

Web

  • website - my personal website
  • Redairect - aliased URL redirects with upcoming AI implementation
  • sortify - sort spotify playlists in weird ways

Raycast

Shortcuts

  • Prompts - a library for storing AI prompt templates (over 350 downloads!)
@Sebazzz
Sebazzz / Creality-CR-6-Unboxing-guide.md
Last active August 16, 2024 14:31
Creality CR-6 Unboxing & assembly guide

CR-6 post-unboxing checklist

With most of the CR-6 SE issues being due to bad wiring or loose/too tight screws I feel like it is time for a good post-unboxing checklist, to be walked through pre-assembly. Even though I do not have my unit shipped yet, I've seen enough issues and fixes that I can compile this post.

I initially posted this on the independent CR-6 community Facebook group but since not everyone wants to use Facebook (which I totally understand), I will repost it here. I mirrored most of the relevant content of Facebook to imgur.

If you have any feedback or anything that needs to be added, please let me know and I will amend this post!

Note: There are some known issues with this printer - please read the entire guide. (It is long, I know, but this is a necessary evil!)

Communities

@dnnsmnstrr
dnnsmnstrr / links.md
Last active February 21, 2023 10:19
My social media
@dnnsmnstrr
dnnsmnstrr / snippets.js.md
Last active November 16, 2020 13:05
JS Snippets

JS Snippets

These are some JavaScript snippets i've used or written

Strings

Capitalize

function capitalizeFirstLetter(str) {
  return str[0].toUpperCase() + str.slice(1);
}
@jordansinger
jordansinger / macOS.swift
Last active November 17, 2024 02:37
macOS SwiftUI Playgrounds code
import SwiftUI
import PlaygroundSupport
struct Desktop: View {
var body: some View {
ZStack {
// Image(uiImage: #imageLiteral(resourceName: "IMG_6281.JPG"))
Color(UIColor.systemBlue)
macOS()
}
@coolaj86
coolaj86 / MacOS-Icons.md
Last active August 1, 2025 08:13
MacOS Default Icons Locations

How to Find ANY Icon

  1. Open the application such that you see the icon on your screen.
  2. Open Activity Monitor
  3. Double click the name of the application (i.e. Finder or System Preferences)
  4. Select "Open Files and Ports"
  5. Copy the output to a file and then grep for .icns

Similarly you could run this command, but it may take several minutes to complete:

@adimancv
adimancv / css_dark_mode_gist_embed_code.css
Last active July 28, 2025 09:26
CSS Dark Mode Gist Embed Code
/*!
* Gist DarkCode ver 0.2.1
* Update 03/12/2021 www.adiman.web.id
*/
.gist{font-size: 18px}.gist-meta, .gist-file, .octotree_toggle, ul.comparison-list > li.title,button.button, a.button, span.button, button.minibutton, a.minibutton,span.minibutton, .clone-url-button > .clone-url-link{background: linear-gradient(#202020, #181818) !important;border-color: #383838 !important;border-radius: 0 0 3px 3px !important;text-shadow: none !important;color: #b5b5b5 !important}.markdown-format pre, .markdown-body pre, .markdown-format .highlight pre,.markdown-body .highlight pre, body.blog pre, #facebox pre, .blob-expanded,.terminal, .copyable-terminal, #notebook .input_area, .blob-code-context,.markdown-format code, body.blog pre > code, .api pre, .api code,.CodeMirror,.highlight{background-color: #1D1F21!important;color: #C5C8C6!important}.gist .blob-code{padding: 1px 10px !important;text-align: left;background: #000;border: 0}::selection{background: #24890d;color: #fff;text-shadow: none}::-moz-selection{background: