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
$ TFLOG=DEBUG terraform apply | |
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following | |
symbols: | |
+ create | |
Terraform will perform the following actions: | |
# frontegg_workspace.workspace will be created | |
+ resource "frontegg_workspace" "workspace" { |
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
# Depends on: msmtp, libsecret-tools | |
# | |
# Set password: | |
# secret-tool store --label="msmtp password for [email protected]" service msmtp username [email protected] | |
# | |
# Send mail: | |
# echo "Message Body" | send-gmail myusername [email protected] "My Subject" | |
send-gmail() { | |
local user="$1" | |
local to="$2" |
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
class BacktrackingSolver: | |
def solve(self, state): | |
if self.is_a_solution(state): | |
return state | |
for move in self.get_candidates(state): | |
self.make_move(move, state) | |
solution = self.solve(state) | |
if solution: | |
return solution |
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/python3 | |
import argparse | |
import getpass | |
import keyring | |
import requests | |
import sys | |
import xml.etree.ElementTree | |
SERVICE_NAME = 'gmail-count' |