Skip to content

Instantly share code, notes, and snippets.

View definiteIymaybe's full-sized avatar

dfntlmb definiteIymaybe

View GitHub Profile
@xjasonlyu
xjasonlyu / github-actions-workflow-dispatcher.js
Last active January 28, 2024 12:50
Cloudflare Worker Snippets
addEventListener('scheduled', event => {
event.waitUntil(handleSchedule(event.scheduledTime))
})
async function handleSchedule(scheduledDate) {
const url = `https://api.github.com/repos/${OWNER}/${REPO}/actions/workflows/${WORKFLOW_ID}/dispatches`
await fetch(url, {
method: 'POST',
headers: {
'Accept': 'application/vnd.github+json',
@spencerwooo
spencerwooo / termiWidget.js
Last active April 21, 2024 01:04
🍋 TermiWidget - Terminal-like Widget for iOS 14, made with Scriptable.
// 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"
@headshaker
headshaker / Memorial meta.md
Last active October 5, 2018 12:12
Memorial meta

Схема данных для хранения информации о репрессированных лицах (v.0.2)

Предлагаемая схема данных разработана на основе Великой Голубой Книжечки, формуляра Открытого Списка и структуры основной базы данных Мемориала.

Схема разработана для применения в NoSQL базы данных, однако может с равным успехом применяться и в SQL базах данных. В последнем случае вместо полей типа Array создаются связанные таблицы.

Цели и задачи:

Формализация способа хранения информации о репрессированных лицах позволит:

  • ускорить сквозной поиск по нескольким базам данных;
  • упростить поддержание разных баз данных в актуальном состоянии;
@loganvolkers
loganvolkers / Byte Formatting for Google Sheets.md
Last active April 16, 2024 10:42
Byte formatting for Google Sheets
@nobitagit
nobitagit / iterm2.md
Last active August 24, 2023 12:16
iterm2 cheatsheet

This gist has been moved to its own Github repo, so it's easier to contribute with additions and corrections. Please open a PR there if you see any mistake, I don't track comments on here as there's no notification system for gists AFAIK. Thanks.

Tabs and Windows

Function Shortcut
Previous Tab + Left Arrow
Next Tab + Right Arrow
Go to Tab + Number
@dalekunce
dalekunce / osm_extract_workflow.md
Last active September 15, 2019 15:14
workflow for cutting part of an osm file

Quick workflow to setup and cut an osm file with a polygon file

##install osmconvert

wget -O - http://m.m.i24.cc/osmconvert.c | cc -x c - -lz -O3 -o osmconvert

##move it to bin folder

cp osmconvert /usr/local/bin/osmconvert
@manigandham
manigandham / rich-text-html-editors.md
Last active May 3, 2024 19:37
Rich text / HTML editors and frameworks

Strictly Frameworks

Abstracted Editors

These use separate document structures instead of HTML, some are more modular libraries than full editors

@dalekunce
dalekunce / mac_gis_setup.md
Last active July 29, 2023 22:18
Yosemite GIS Machine Setup

Mac OS X GIS Setup

OS X Preferences


# Expand save panel by default
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active May 4, 2024 21:33
A badass list of frontend development resources I collected over time.
@kasparsd
kasparsd / wordpress-plugin-svn-to-git.md
Last active April 17, 2024 12:35
Using Git with Subversion Mirroring for WordPress Plugin Development