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
{ | |
description = "Phoenix(Elixir) development environment"; | |
inputs = { | |
nixpkgs = { url = "github:NixOS/nixpkgs/nixos-23.05"; }; | |
flake-utils = { url = "github:numtide/flake-utils"; }; | |
}; | |
outputs = { self, nixpkgs, flake-utils }: | |
flake-utils.lib.eachDefaultSystem (system: |
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
{ | |
"keymaps": [ | |
[ | |
{ | |
"code": 52, | |
"label": { | |
"base": "'", | |
"shifted": "\"" | |
} | |
}, |
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
#!/usr/bin/env bash | |
DDNS_DIR='/tmp/cf_ddns' | |
PREVIOUS_IP_FILE="$DDNS_DIR/dynamic_ip.txt" | |
CF_REQUEST_RESPONSE_FILE="$DDNS_DIR/cf_response.json" | |
mkdir -p "$DDNS_DIR" | |
[ ! -f "$PREVIOUS_IP_FILE" ] && touch "$PREVIOUS_IP_FILE" | |
# NEW_IP="$(dig +short myip.opendns.com @resolver1.opendns.com)" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
DROP TABLE if exists d_date; | |
CREATE TABLE d_date | |
( | |
date_dim_id INT NOT NULL, | |
date_actual DATE NOT NULL, | |
epoch BIGINT NOT NULL, | |
day_suffix VARCHAR(4) NOT NULL, | |
day_name VARCHAR(9) NOT NULL, | |
day_of_week INT NOT NULL, |