Skip to content

Instantly share code, notes, and snippets.

@flyingeek
flyingeek / README.md
Last active January 13, 2024 20:26
scriptable-pdfjs-demo.js a demo (sort of) for scriptable-pdfs
View README.md

This is a sort of demo file for scriptable-pdfjs

First copy scriptable-pdfjs.html into your Scriptable Documents folder.

Then copy paste below in a new script. Run and watch your console !

@jag-k
jag-k / HASS Persons.js
Last active January 13, 2024 20:25
HASS Persons bundle
View HASS Persons.js
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: blue; icon-glyph: users;
// Config
// You can change the config here
const WIDGET_TITLE = 'Persons at home';
// =========================================
// PLEASE, DON'T CHANGE ANYTHING BELOW THIS COMMENT,
// IF YOU DON'T KNOW WHAT YOU ARE DOING
// =========================================
@pgslotauto015
pgslotauto015 / 19รับ100ทํา300ถอน100วอเลท ฝาก19รับ100 วอ เลท pg ฝาก19รับ100 วอเลท.md
Created January 13, 2024 20:25
19รับ100ทํา300ถอน100วอเลท ฝาก19รับ100 วอ เลท pg ฝาก19รับ100 วอเลท
@MiSaturo
MiSaturo / Xray-double-fragment.json
Created January 11, 2024 07:05
Using multiple fragments in Xray outbounds
View Xray-double-fragment.json
{
"dns": {
"hosts": {
"domain:googleapis.cn": "googleapis.com"
},
"servers": [
"1.1.1.1"
]
},
"inbounds": [
@spencerwooo
spencerwooo / termiWidget.js
Last active January 13, 2024 20:23
🍋 TermiWidget - Terminal-like Widget for iOS 14, made with Scriptable.
View termiWidget.js
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: orange; icon-glyph: quote-right;
// Change these to your usernames!
const user = "spencer"
const jike = "4DDA0425-FB41-4188-89E4-952CA15E3C5E"
const telegram = "realSpencerWoo"
const github = "spencerwooo"
@fabiolimace
fabiolimace / UUIDv6.sql
Last active January 13, 2024 20:22
Functions for generating UUIDv6 and UUIDv7 on PostgreSQL
View UUIDv6.sql
/*
* MIT License
*
* Copyright (c) 2023 Fabio Lima
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
@diego3g
diego3g / settings.json
Last active January 13, 2024 20:21
VSCode Settings (Updated)
View settings.json
{
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 14,
"editor.lineHeight": 1.8,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.rulers": [80, 120],
"extensions.ignoreRecommendations": true,
"typescript.tsserver.log": "off",
"files.associations": {
@hdhauk
hdhauk / tikz-template.tex
Last active January 13, 2024 20:17
Simple tikz example of a control theory block diagram and a DSP filter diagram
View tikz-template.tex
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\begin{document}
\usetikzlibrary{decorations.markings}
\tikzstyle{block} = [draw, rectangle,
minimum height=3em, minimum width=6em]
\tikzstyle{sum} = [draw, circle, node distance=1cm]