This is more in the "hack" category, but here is a solution for bookmarking directories[1] that I am quite fond of:
mkdir -p ~/.marks/
export CDPATH=.:~/.marks/
function mark { ln -sr "$(pwd)" ~/.marks/"$1"; }
Then:
This is more in the "hack" category, but here is a solution for bookmarking directories[1] that I am quite fond of:
mkdir -p ~/.marks/
export CDPATH=.:~/.marks/
function mark { ln -sr "$(pwd)" ~/.marks/"$1"; }
Then:
#!/bin/sh | |
# Help message | |
show_help() { | |
echo | |
echo "Convert PDFs to make them look like they have been scanned" | |
echo "Example: $0 file.pdf" | |
} | |
# Check if the provided argument is not empty |
/* Casual stab at modifying the Bookstack main theme using the Dracula color scheme. Download and use at your own risk. */ | |
/* https://github.com/domainzero/bookstack-dark-theme */ | |
/* optional */ | |
/* uppercase titles */ | |
.page-content h1{text-transform:uppercase} | |
h1.break-text{text-transform:uppercase} | |
/* Dracula stuff */ | |
/* background */ |
#!/bin/bash | |
# Exit immediately if a command exits with a non-zero status | |
set -e | |
# Variables | |
zellij_version="0.40.1" | |
btop_version="1.3.2" | |
zellij_file="zellij-${zellij_version}.tar.gz" |
# Redis configuration file example. | |
# | |
# Note that in order to read the configuration file, Redis must be | |
# started with the file path as first argument: | |
# | |
# ./redis-server /path/to/redis.conf | |
# Note on units: when memory size is needed, it is possible to specify | |
# it in the usual form of 1k 5GB 4M and so forth: | |
# |
When you start the master server, you can specify the replication strategy using the -defaultReplication flag. This flag defines how data is replicated across the cluster. Here's how you can set it:
[ | |
{ | |
"key": "ctrl+e", | |
"command": "-workbench.action.quickOpen", | |
}, | |
{ | |
"key": "ctrl+e", | |
"command": "workbench.action.quickOpen", | |
"when": "!terminalFocus" | |
} |
Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.
Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.
This template runs my experimental NPM service as part of evaluating if i should stop using my hand crafted nginx reverse proxy. Note change your passwords and don't use the examples bellow :-) )
This container has a database, as such I store the data on the gluster volume. I am currenlty using a mount point to store the voume data on glusterfs. I restrict to 1 instance of each container to avoid database corruption from having two instances. Change example usernames and passwords as needed. leave hostname as db (name resolution works fine using the method)
.PHONY: help | |
help: ## ## Display this help | |
@printf "\nusage : make <commands> \n\nthe following commands are available : \n\n" | |
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' | |
install: ## Install npm dependencies for the api, admin, and frontend apps | |
@echo "Installing Node dependencies" | |
@npm install |