All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login


All New Login

melanie

Joined 1 year ago

Recently created
Least recently created
Recently updated
Least recently updated
All gists 23

melanie / letterbird-params.md

0 likes
0 forks
1 files
Last active 10 months ago
docs

Undocumented Query Parameters You Can Use With Letterbird URLS

Example URL: https://letterbird.co/melanie

Using every parameter in the example URL: https://letterbird.co/melanie?name=from&email=email&body=body&subject=subject&hideheader=1

  • hideheader=1 - hides the header and profile picture
  • name= - Pre-fills the from name field
  • email= - Pre-fills the from email field
  • body= - Pre-fills the body text area

melanie / no-ai--next.config.js

0 likes
0 forks
1 files
Last active 10 months ago
ai nextjs
1 const nextConfig = {
2 async redirects() {
3 return [
4 {
5 source: '/(.*)',
6 has: [
7 {
8 type: 'header',
9 key: 'User-Agent',
10 value:

melanie / johnny-decimal-index-for-obsidian-with-dataview.md

0 likes
0 forks
1 files
Last active 10 months ago
obsidian

Johnny Decimal Index Generator for Obsidian with Dataview

You will need to enable JavaScript Queries in the Dataview settings.

let areas = dv.pages("").file.folder.groupBy(g=>g.split("/")[0]).filter(({ key }) => /^\d{2}-\d{2} /.test(key))
let output = ''
areas.forEach(({ key: areaKey, rows: areaRows }) => {
  output += `\n- ${areaKey}`
  areaRows.groupBy(g => g.split("/")[1]).forEach(({ key: categoryKey, rows: categoryRows }) => {

melanie / mullvad-to-tailscale-ip.txt

0 likes
0 forks
1 files
Last active 10 months ago
mullvad tailscale
1 nl-ams-wg-006.mullvad.ts.net=100.85.175.95
2 pl-waw-wg-101.mullvad.ts.net=100.103.142.113
3 se-sto-wg-014.mullvad.ts.net=100.89.86.10
4 no-osl-wg-002.mullvad.ts.net=100.118.245.125
5 us-chi-wg-002-1.mullvad.ts.net=100.125.155.75
6 us-lax-wg-502.mullvad.ts.net=100.64.195.159
7 ca-mtr-wg-004.mullvad.ts.net=100.127.183.1
8 br-sao-wg-201.mullvad.ts.net=100.66.247.50
9 us-lax-wg-403.mullvad.ts.net=100.104.61.115
10 de-ber-wg-005.mullvad.ts.net=100.104.136.32

melanie / bulk-nslookup.sh

0 likes
0 forks
1 files
Last active 1 year ago
1 #!/bin/bash
2
3 if [ $# -ne 1 ]; then
4 echo "Usage: $0 <file>"
5 exit 1
6 fi
7
8 input_file="$1"
9
10 if [ ! -f "$input_file" ]; then

melanie / tailscale-mullvad-exit-node-ips.txt

0 likes
0 forks
1 files
Last active 10 months ago
mullvad tailscale
1 100.85.175.95
2 100.103.142.113
3 100.89.86.10
4 100.118.245.125
5 100.125.155.75
6 100.64.195.159
7 100.127.183.1
8 100.66.247.50
9 100.104.61.115
10 100.104.136.32

melanie / fetch-for-osascript.js

0 likes
0 forks
1 files
Last active 10 months ago
osascript
1 /*
2 Try it from the command line on Mac:
3 `osascript -l JavaScript fetch-for-osascript.js`
4 */
5 function fetch(url) {
6 const queryURL = $.NSURL.URLWithString(url);
7 const requestData = $.NSData.dataWithContentsOfURL(queryURL);
8 const requestString = $.NSString.alloc.initWithDataEncoding(
9 requestData,
10 $.NSUTF8StringEncoding,

melanie / fetch-for-alfred.js

0 likes
0 forks
1 files
Last active 10 months ago
alfred osascript
1 function fetch(url, useJson = true) {
2 const queryURL = $.NSURL.URLWithString(url);
3 const requestData = $.NSData.dataWithContentsOfURL(queryURL);
4 const requestString = $.NSString.alloc.initWithDataEncoding(
5 requestData,
6 $.NSUTF8StringEncoding,
7 ).js;
8 if (useJson) {
9 return JSON.parse(requestString);
10 } else {

melanie / audio-cast.php

0 likes
0 forks
1 files
Last active 10 months ago
rss
1 <?php
2
3 $YOUR_NAME = 'Melanie';
4 $WEBSITE_PATH = 'http://ds423/audio-cast';
5
6 $audioDirectory = '.';
7
8 $audioFiles = glob($audioDirectory . '/*.{mp3,m4a}', GLOB_BRACE);
9 usort($audioFiles, function ($a, $b) {
10 return filemtime($b) - filemtime($a);

melanie / unpkg.js

0 likes
0 forks
1 files
Last active 10 months ago
scriptable
1 // Variables used by Scriptable.
2 // These must be at the very top of the file. Do not edit.
3 // icon-color: green; icon-glyph: archive;
4 // unpkg: like NPM but not as good
5 // and available in Scriptable
6 //
7 // Examples:
8 // - const _ = await unpkg('lodash')
9 // - const CryptoJS = await unpkg('crypto-js')
10 // - const OAuth = await unpkg('oauth-1.0a')
Newer Older

Powered by Opengist ⋅ Load: 346ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文
⋅ melkat.dev