SELECT DISTINCT
"line_item_product_code"
, "bill_billing_period_start_date"
, "bill_payer_account_id"
, "product_product_name"
, "line_item_line_item_type"
, "line_item_operation"
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 | |
# Map Caps Lock key to Left Control key | |
# https://developer.apple.com/library/content/technotes/tn2450/_index.html | |
# This doesnt work. Reverts on restart | |
# hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x7000000E0}]}' | |
# References: | |
# https://github.com/mathiasbynens/dotfiles/issues/310 | |
# https://gist.github.com/scottstanfield/0f8ce63271bebfb5cf2bb91e72c71f91 | |
# The last link didnt work for me on Sierra or High Sierra. I could not find IOHIDKeyboard but |
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
"don't write code that is easy to extend, write code that is easy to delete" |
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 | |
#Recover from an Audacity 2.0 crash by reassembling the saved data files | |
#Based on https://gist.github.com/912222 | |
if [ $# != 2 ]; then | |
echo "ERROR: Not enough arguments" | |
echo "$0 [SOURCE PATH] [DESTINATION]" | |
exit 1 | |
fi |
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
// recover from audacity crash | |
// usage: | |
// node audacity_rescue.js [sourcedir] [result_file.wav] [mono|stereo] | |
// the mono or stereo option is optional, the default is mono. | |
// | |
// Description: | |
// This script will sort all files on modification date. | |
// If you create a backup, make sure you use `cp -a` to preserve the modification date | |
// or create a zip. |
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
locals { | |
# Replace a terraform-aws-provider sts assumed role with the equivalent iam role, i.e: | |
# arn:aws:sts::<account-id>:assumed-role/<role-name>/<numeric-session-id> | |
# => | |
# arn:aws:iam::<account-id>:role/<role-name> | |
# This allows a user to simply pass `role_arn = "${data.aws_caller_identity.this.arn}"` | |
role_arn = replace( | |
var.role_arn, | |
"/(.*):sts:(.*):assumed-role/(.*)/[0-9]*$/", | |
"$1:iam:$2:role/$3", |
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
# SEARCH ENGINES FOR PENTESTERS | |
1. shodan.io (Server) | |
2. google.com (Dorks) | |
3. wigle.net (WiFi Networks) | |
4. grep.app (Codes Search) | |
5. app.binaryedge (Threat Intelligence) | |
6. onyphe.io (Server) | |
7. viz.greynoise.io (Threat Intelligence) | |
8. censys.io (Se |
In my case I had to turn off tap to click AND secondary click (two finger click) settings, which seem not to have been off by default. Now the palm rejection issue appears to have gone away.
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
;;; typo-dark-theme.el --- Typographic (not color) Theme | |
;; Copyright (C) 2017 Bastian Bechtold | |
;; Author: Bastian Bechtold | |
;; URL: https://github.com/bastibe/.emacs.d/tree/master/lisp | |
;; This program is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published by | |
;; the Free Software Foundation, either version 3 of the License, or |
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
$ cd "path to your SSL" | |
$ mkdir -p Fingerprints | |
$ openssl req -x509 -nodes -days 365 -subj /CN=barrier -newkey rsa:4096 -keyout barrier.pem -out barrier.pem | |
$ openssl x509 -fingerprint -sha1 -noout -in barrier.pem > Fingerprints/Local.txt | |
$ sed -e "s/.*=//" -i Fingerprints/Local.txt |
NewerOlder