Oops, now you've got a bunch of locked modules. Here's a brute force method to remove every lock from dynamodb. Use this with caution.
terraform {
required_version = "= 1.0.8"
required_providers {
aws = {
#!/usr/bin/env bash | |
## | |
# Usage: tf_move_state.sh source_directory target_directory source_resource_name <target_resource_name (uses source_resource_name if not provided)> | |
# Provide source and target directories using relative paths. | |
# WARNING: TEST ON AN INCONSPICUOUS AREA AS STAINING MAY OCCUR | |
# Credit to https://github.com/mcalhoun | |
set -e |
for i in $(aws servicediscovery list-services --filter Name=NAMESPACE_ID,Values=[ns-MYNAMESPACEIDHERE],Condition=EQ --query "Services[].Id" --output text) ; do aws servicediscovery delete-service --id $i; done |
git for-each-ref --format '%(refname:short)' refs/heads | grep -v "master\|main" | xargs git branch -D |
hs.window.animationDuration = 0 | |
units = { | |
right30 = { x = 0.70, y = 0.00, w = 0.30, h = 1.00 }, | |
right50 = { x = 0.50, y = 0.00, w = 0.50, h = 1.00 }, | |
right70 = { x = 0.30, y = 0.00, w = 0.70, h = 1.00 }, | |
left70 = { x = 0.00, y = 0.00, w = 0.70, h = 1.00 }, | |
left50 = { x = 0.00, y = 0.00, w = 0.50, h = 1.00 }, | |
left30 = { x = 0.00, y = 0.00, w = 0.30, h = 1.00 }, | |
top50 = { x = 0.00, y = 0.00, w = 1.00, h = 0.50 }, | |
bot50 = { x = 0.00, y = 0.50, w = 1.00, h = 0.50 }, |
From https://discussions.apple.com/thread/6619535 | |
by tywebb13 | |
If you prefer to make a bootable dvd, you can do it this way: | |
After downloading the full Yosemite installer app from the Mac App Store, run these 14 commands in Terminal to create a Yosemite.iso file and then burn it to a dual layer DVD with Disk Utility. You may then boot up from it by holding the option key down and then install Yosemite. | |
hdiutil attach /Applications/Install\ OS\ X\ Yosemite.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app | |
ruby -rjson -e 'a = JSON.parse File.read(".kbfs_update_history"); a["Updates"].each {|v| ops = v["Ops"].map {|op| op["Op"]}.select {|op| op !~ /gc|sync|resolution/ }.join("\n".ljust(53)); printf("Op: %s by %s on %s: %s\n", v["Revision"].to_s.ljust(4), v["Writer"].ljust(15), (v["Date"][0,19]), ops ) if ops !~ /^$/ }' |
#!/usr/bin/env bash | |
# http://superuser.com/questions/109213/is-there-a-tool-that-can-test-what-ssl-tls-cipher-suites-a-particular-website-of | |
# OpenSSL requires the port number. | |
SERVER=$1 | |
DELAY=0 | |
ciphers=$(openssl ciphers 'ALL:eNULL' | sed -e 's/:/ /g') | |
echo Obtaining cipher list from $(openssl version). |
#!/bin/pseudo-bash | |
# Read through this and modify to taste. | |
# Tested on: | |
# dataset_uuid: c36a3d28-80c2-11e1-9ec6-df5bd8b43f76 | |
# sdc:sdc:smartosplus:3.2.0 | |
mkdir /data | |
useradd -d /data dev | |
groupadd dev | |
cd /data |
#!/usr/bin/env ruby | |
# Usage: ./download_scripts_and_templates <repo> <ref> | |
# Output: Directory of download | |
require 'bundler/setup' | |
require 'logger' | |
require 'octokit' | |
require 'base64' | |
def prereqs |