This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # you must also upload the public key as signing key to https://github.com/settings/keys | |
| git config --global user.signingkey '~/.ssh/id_rsa' | |
| git config --global commit.gpgsign true | |
| git config --global gpg.format ssh | |
| # (optional) this file enables `git log --show-signature` and contains email addresses associated with public keys | |
| git config --global gpg.ssh.allowedsignersfile '~/.ssh/git-signers' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| company: | |
| location: | |
| title: | |
| email: | |
| website: | |
| aliases: | |
| --- | |
| tags:: [[👥 People MOC]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function c { | |
| git add --all | |
| git commit -m $1 | |
| } | |
| function p { | |
| git add --all | |
| git commit -m $1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "faraday" | |
| require "faraday/multipart" | |
| token = ARGV.shift | |
| absolute_path = File.expand_path(ARGV.shift) | |
| # TODO how could we require "active_storage/blob" without eager loading the whole app | |
| blob = ActiveStorage::Blob.build_after_unfurling(io: File.open(absolute_path), filename: File.basename(absolute_path)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%* | |
| /* | |
| Updated: 1/22/2022 | |
| Author: TfTHacker & thomasvs | |
| Gist: https://gist.github.com/TfTHacker & https://gist.github.com/thomasvs/343c740825407f0a84f350e4e40bedd0 | |
| Twitter: https://twitter.com/TfTHacker & https://twitter.com/thomasvs | |
| Requirements: Templater Plugin for Obsidian | |
| Description: This script performs the following actions: | |
| 1. Moves current file using the file explorer's move feature | |
| 2. Opens next file in current folder into the active window pane in Obsidian |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Post-deploy | |
| on: | |
| push: | |
| branches-ignore: | |
| - 'master' | |
| env: | |
| PLATFORMSH_CLI_TOKEN: ${{ secrets.CLI_TOKEN }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| ACC_MIN: 0.80 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Phoenix esbuild with Tailwind+Fontawesome |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
| default: Turndown | |
| }, { | |
| default: Readability | |
| }]) => { | |
| /* Optional vault name */ | |
| const vault = ""; | |
| /* Optional folder name such as "Clippings/" */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| creation date: <% tp.file.creation_date() %> | |
| tags: DailyNote <% tp.file.title.split('-')[0] %> | |
| --- | |
| modification date: <%+ tp.file.last_modified_date("dddd Do MMMM YYYY HH:mm:ss") %> // This doesn't currently work in front matter, hoping that gets fixed. | |
| # <% tp.file.title %> | |
| << [[<% tp.date.now("YYYY-MM-DD", -1, tp.file.title, "YYYY-MM-DD") %>]] | [[<% tp.date.now("YYYY-MM-DD", 1, tp.file.title, "YYYY-MM-DD") %>]]>> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| // | |
| // AUTO KEYWORD-BASED FOLLOWER CURATION BOT (by @levelsio) | |
| // | |
| // File: twitterFollowerCuratorBot.php | |
| // | |
| // Created: May 2021 | |
| // License: MIT | |
| // |