A newbie friendly guide to configuring Vim in NixOS
Create the following file struture in /etc/nixos
/etc/nixos
|-- apps
|-- vim
|-- default.nix
|-- vimPlugins.nix
#!/bin/sh | |
if [ -z "$1" ]; then | |
echo Delete all Darktable rejected pictures | |
echo | |
echo "Usage:" | |
echo $0 [source] --onestar to delete also all pictures with one star rating | |
exit 1 | |
fi |
job "grafana" { | |
datacenters = ["dc1"] | |
type = "service" | |
group "grafana" { | |
count = 1 | |
restart { | |
attempts = 10 | |
interval = "5m" |
#!/bin/bash | |
# | |
# 20210119 - Use the new --endpoint flag | |
# - Added verbose logging | |
# | |
# 20200608 - Updated to TzKt API | |
# | |
# 20191029 - Added /v3/network back in. | |
# Thanks to Baking-Bad and their Mystique API |
/* After switching stackingthebricks.com to ConvertKit in the last few months, I found a handful of things */ | |
/* that seemed to slow me down/force additional scrolling, so I tried hiding them from the UI with these UserStyles */ | |
/* Obviously, these are without warrantee and could potentially break, so don't blame me if they do. */ | |
/* Also, I am not a designer so these may not make the UI better in _your_ eyes, but they make it better for me. 😅 */ | |
/* Hide the dashboard graph (not useful enough to be there taking up 3/4 of the screen real estate every time I log in) */ | |
.account-graph {display:none;} | |
.subscribers-index div[data-component='ReportsContainer'] { display:none;} |
Table of Contents
Phoenix 1.4 ships with exciting new features, most notably with HTTP2 support, improved development experience with faster compile times, new error pages, and local SSL certificate generation. Additionally, our channel layer internals receiveced an overhaul, provided better structure and extensibility. We also shipped a new and improved Presence javascript API, as well as Elixir formatter integration for our routing and test DSLs.
This release requires few user-facing changes and should be a fast upgrade for those on Phoenix 1.3.x.
The mix phx.new archive can now be installed via hex, for a simpler, versioned installation experience.
To grab the new archive, simply run:
# if selecta is present, set that as the default behaviour of z command | |
if which ${_Z_CMD:-z} 2>&1 1>/dev/null && which selecta 2>&1 1>/dev/null; then | |
z_selecta() { | |
if [ $# -gt 0 ]; then | |
_z "$@" 2>&1 | |
else | |
_z "$(_z |& awk '{print $2}' | selecta)" 2>&1 | |
fi | |
} | |
alias ${_Z_CMD:-z}='z_selecta' |
<!-- Maker Link by @levelsio --> | |
<!-- MIT License --> | |
<style> | |
body { | |
background:#333; | |
} | |
.levelsio-by { | |
font-family:"Helvetica Neue",sans-serif; | |
right:0; |