_ _____ ______ _____ _ _
(_) | __ \| ___ \ __ \ | | | |
_ _ ___ _ _ __ __ _ | | \/| |_/ / | \/ | |_ ___ ___ _ __ ___ _ __ _ _ _ __ | |_
| | | / __| | '_ \ / _` | | | __ | __/| | __ | __/ _ \ / _ \ '_ \ / __| '__| | | | '_ \| __|
| |_| \__ \ | | | | (_| | | |_\ \| | | |_\ \ | || (_) | | __/ | | | (__| | | |_| | |_) | |_
\__,_|___/_|_| |_|\__, | \____/\_| \____/ \__\___/ \___|_| |_|\___|_| \__, | .__/ \__|
__/ | __/ | |
|___/ |___/|_|
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
tickName() { | |
tick list | \ | |
rg -o "\[\s[a-z-]+\s\]" | \ | |
sort | \ | |
uniq | \ | |
sd '\[\s|\s\]' '' | |
} | |
alias tick-names=tickName |
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
tickDay() { | |
timerIs=$1 | |
today=$(date +"%m-%d") | |
tick list | rg "${today}" | rg "${timerIs}" | |
} | |
alias tick-today=tickDay |
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
[package] | |
name = "test-config-with-shellexpand" | |
version = "0.1.0" | |
edition = "2018" | |
[dependencies] | |
config = "0.11.0" | |
shellexpand = "2.1.0" |
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
# Tick Linux image for Ubuntu with all the necessary dependencies and | |
# environment variables. This Dockerfile can be used to test assertions that | |
# Tick was installed properly on Linux Ubuntu 18.04 and that it runs without | |
# needing to run `diesel_cli` commands to run the initial migraitons. This | |
# example is the first step to shipping a single binary for Tick cross-platform. | |
# | |
# Because of the life cycle of Docker containers, this container can only be | |
# used to run Tick commands in an ephemeral matter. Starting timers will only | |
# create timers which get destroyed when the tick command exits and the | |
# container is destroyed. |
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
IO.puts("Hola mundo desde Elixir!") | |
:timer.sleep(1000 * 1) | |
IO.puts("\nY eso es todo por ahora...") |
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
html { | |
font-family: 'M+ 2m Light'; | |
font-size: 15px; | |
background-color: #322931; | |
color: #b9b5b8; | |
word-wrap: break-word; | |
margin: 0; | |
padding: 3px 4px 10px 4px; | |
} |
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
var nodemailer = require("nodemailer"); | |
// create reusable transport method (opens pool of SMTP connections) | |
var smtpTransport = nodemailer.createTransport("SMTP",{ | |
host: "mail.gandi.net", // hostname | |
secureConnection: true, // use SSL | |
port: 465, // port for secure SMTP | |
auth: { | |
user: "email@address", | |
pass: "myPassword" |
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
$color--form-background: #fcfcfc; | |
$color--form-text: #333; | |
$color--form-border: #e5e4e4; | |
$color--radio-checkbox: #555; | |
$color--blue: blue; | |
$color--pink: pink; | |
$color--red: red; | |
$color--validation: $color--red; | |
$color--required: $color--red; | |
$color--error: $color--red; |
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 | |
# Generate a `:something-intensifies:` Slack emoji, given a reasonable image | |
# input. I recommend grabbing an emoji from https://emojipedia.org/ | |
set -euo pipefail | |
# Number of frames of shaking | |
count=10 | |
# Max pixels to move while shaking |