dv.table(["Status", "Task", "Link",], dv.pages().file.tasks
.where(t => {
console.log("today:")
console.log(dv.date('today'))
const isScheduled = t.scheduled <= dv.date('today')
This file contains 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 | |
# Script to fetch and checkout a shallow clone of a specific branch | |
# Check if a branch name was provided | |
if [ $# -eq 0 ]; then | |
echo "Usage: $0 <branch-name>" | |
exit 1 | |
fi |
This file contains 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
{ | |
"collection": { | |
"collectionName": "Inscribed Coins", | |
"collectionDescription": "Inscribed coins are the first collection of on-chain generative art made from a single Blender file which is stored on the Bitcoin blockchain. Each piece is procedurally generated from a unique seed and can be regenerated from the on-chain data at higher levels of detail and other viewing angles.", | |
"maxSupply": 94, | |
"collectionExternalUrl": "https://inscribedcoins.com" | |
}, | |
"artist": { | |
"artistName": "Michael Gold", | |
"artistTwitterUrl": "https://twitter.com/michaelgold", |
This file contains 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
# ▓▓░ ░▓ ░▓░ | |
# ░██ ▓█ ▓▓ ░▓ ░▓████▓ ░▓ ░▓▓ | |
# ██▓ ▓█▓ █▓ ░█░ ▓██▓░░█▓ █▓ ▓█ | |
# ▓██░ ▓██ ▓▓ ▓█░ ▓▓ ▓█▓░ ▓█░ ░█░ ░█▓ | |
# ░██▓ ▓██▓ ░██░ ▓▓ ░█░ ▓█▓ ░█▓ ▓▓ ▓█░ | |
# ░█▓█▓ ░██▓ ░█▓ ░█░ ▓█ ▓█▓ ░█▓ ░█░ █▓ | |
# ▓█▓█ ░█▓█▓ ▓▓ █▓ ▓█▓ ░█▓ ▓▓ ░█░ | |
# ▓█░▓▓░▓▓▓█ ░ █▓ ░ ░█ ░█▓ ░█▓ ░ █▓ ░▓▓ | |
# ▓█▓ █▓▓▓░█▓ ▓▓ ▓██▓ ░█░▓█▓ ░▓██▓ ░███░ ▓▓ █▓ ░ ▓██▓ ░█ ░▓███ | |
# ░█▓ ▓██▓ ▓█░ ░█░ ▓▓ ▓▓ ▓█▓██▓ ▓█▓░░ ▓█░ █░ ░█░ ░█░ ░▓░▓▓░██▓░░▓▓ ▓▓░░▓ |
This file contains 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
https-portal: | |
image: steveltn/https-portal:1 | |
ports: | |
- '80:80' | |
- '443:443' | |
links: | |
- wordpress | |
restart: always | |
environment: | |
DOMAINS: 'wordpress.mike.gold -> http://wordpress:80' |
This file contains 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
@font-face { | |
font-family: 'Source Code Pro Powerline FontAwesome'; | |
font-style: normal; | |
font-weight: normal; | |
src: local('Source Code Pro Powerline FontAwesome'), url('https://raw.githubusercontent.com/gabrielelana/awesome-terminal-fonts/patching-strategy/patched/SourceCodePro%2BPowerline%2BAwesome%2BRegular.ttf') format('truetype'); | |
} | |
body { | |
font-family: 'Source Code Pro Powerline FontAwesome' !important; | |
} |
This file contains 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 | |
task=$1 | |
args="" | |
for i in "${@:2}" | |
do args="$args $i" | |
done | |
task add pro:`task _get $task.project` dep:$task $args |
This file contains 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 | |
IFS=' ' read -r -a ids <<< "$(task +ACTIVE ids)" | |
for i in "${ids[@]}" | |
do | |
printf "\n\n\n\n\n$i - `task _get $i.description`\n" | |
/usr/local/bin/tnp $i | |
done |
This file contains 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 | |
# runs custom report named: ls | |
task sum pro:`task _get $1.project` | |
printf "\nPending Tasks: " | |
task ls pro:`task _get $1.project` status:pending | |
printf "\nWaiting Tasks: " | |
task ls pro:`task _get $1.project` status:waiting | |
printf "\nCompleted Tasks: " | |
task ls pro:`task _get $1.project` status:completed |
This file contains 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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
// Forked from https://bitbucket.org/kvorobyev/taskwarriorc2/issues/32/wrapper-for-task-install-in-windows | |
// Compile in bash with the command: x86_64-w64-mingw32-gcc task.c -o task.exe | |
char* concat(const char *s1, const char *s2) | |
{ | |
char *result = malloc(strlen(s1)+strlen(s2)+1); |
NewerOlder