type: Backpack (EDC) brand: Evergoods model: CPL volume: 24L weight: 2.9 height: 18 width: 11.5 depth: 7 color: Black
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
| // main.js - Save this in a new folder in your .obsidian/plugins directory | |
| // Also, save a manifest file next to the plugin | |
| const { Plugin } = require('obsidian'); | |
| class MarkAsReadPlugin extends Plugin { | |
| async onload() { | |
| console.log('Loading Mark as Read plugin'); | |
| // Add command to mark note as read | |
| this.addCommand({ |
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
| ```dataviewjs | |
| TODO - replace the following block inside this block | |
| ``` | |
| // Simple backlinks finder | |
| // Change the note name below, or leave empty to use current note | |
| const targetNote = ""; // e.g., "My Note" or leave empty for current note | |
| const noteName = targetNote || dv.current().file.basename; | |
| const backlinks = []; |
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
| #!/bin/bash | |
| # ./obsidian_tagger.sh -t example-tag /path/to/your/obsidian/folder/ | |
| # ./obsidian_tagger.sh /path/to/your/obsidian/folder | |
| # Configuration | |
| TAG_TO_ADD="backpack" | |
| BACKUP_SUFFIX=".backup" |
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
| jeffmandell@TpT-JeffMandell helm % helm search postgresql --versions | grep "11." | |
| NAME CHART VERSION APP VERSION DESCRIPTION | |
| bitnami/postgresql 11.9.13 14.5.0 PostgreSQL (Postgres) is an open source object-relational... | |
| bitnami/postgresql 11.9.12 14.5.0 PostgreSQL (Postgres) is an open source object-relational... | |
| bitnami/postgresql 11.9.11 14.5.0 PostgreSQL (Postgres) is an open source object-relational... | |
| bitnami/postgresql 11.9.10 14.5.0 PostgreSQL (Postgres) is an open source object-relational... | |
| bitnami/postgresql 11.9.9 14.5.0 PostgreSQL (Postgres) is an open source object-relational... | |
| bitnami/postgresql 11.9.8 14.5.0 PostgreSQL (Postgres) is an open source object-relational... | |
| bitnami/postgresql 11.9.7 14.5.0 PostgreSQL (Postgres) is an open source object-relational... | |
| bitnami |
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
| #!/usr/bin/env python | |
| from subprocess import Popen, PIPE | |
| import time | |
| import RPiGPIO as GPIO | |
| MY_VIDEO_FILE_PATH = '/home/video_name.mp4' | |
| my_process = Popen(['omxplayer', MY_VIDEO_FILE_PATH], stdin=PIPE, close_fds=True, bufsize=0) |
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
| import requests | |
| from bs4 import BeautifulSoup as BS | |
| def get_puppy_ids(): | |
| puppy_ids = [] | |
| url = 'https://www.puppyspot.com/puppies/all_puppies/' | |
| headers = { | |
| 'set-cookie': 'AWSALB=0BxiczxoEuCoEq2Z1M+8B0cUp/jUMj8LnRXmNUc6aOqGB5Hbh8rtdVnuJRdQsuJjVBAmooGEiPtsmoh7y7SldkCa1WfDVflgMkRnaIwp9jFdDqjKzOrqooyd/WGt; Expires=Thu, 06 Apr 2017 03:37:04 GMT; Path=/', | |
| 'cf-ray': '3478073bed65213e-EWR' | |
| } |
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
| from random import sample, choice | |
| from collections import namedtuple | |
| def build_set(X): | |
| """Given a list of elements, returns a random set of such elements.""" | |
| return set(sample(X, choice(X))) | |
| def build_sets(n, x): |
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
| #!/bin/sh | |
| if [ -z "$1" ] | |
| then | |
| echo 'usage: docker-open $container_name_substring' | |
| echo '' | |
| echo 'Open up bash container given substring found in docker ps' | |
| echo 'Since it greps all of docker ps, you can do:' | |
| echo ' docker-open 801[0-9]' | |
| echo 'and it will give you a menu to jump into one of the containers that is running on port 8010-8019' |
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
| import re | |
| class MatchDate(object): | |
| """A date object matched from a syllabus.""" | |
| day = 0 | |
| month = 0 | |
| year = 0 | |
| value_words = ["exam","project","assignment","homework","presentation"] |
NewerOlder