Skip to content

Instantly share code, notes, and snippets.

Avatar
🎥
Tech Videos: youtube.com/echohack

echohack echohack

🎥
Tech Videos: youtube.com/echohack
View GitHub Profile
@echohack
echohack / shellcheck.sh
Created Nov 9, 2020
Shellcheck CI Cycle
View shellcheck.sh
#!/bin/bash
set -euo pipefail
# Run shellcheck against any files that appear to be shell script based on
# filename or `file` output
# Exclude *.ps1 files because shellcheck doesn't support them
# Exclude hooks and config because the handlebars syntax confuses shellcheck
# Exclude the following shellcheck issues since they're pervasive and innocuous:
# https://github.com/koalaman/shellcheck/wiki/SC1008
@echohack
echohack / fcp-friendly.sh
Created Nov 9, 2020
ffmpeg convert youtube download to final cut pro friendly format
View fcp-friendly.sh
ffmpeg -i input.mkv -acodec aac -qscale 0 output.mov
@echohack
echohack / gist:a91b963f4d90b72ea58638cccd350710
Created Aug 20, 2020
remove twitch overlays for uBlock Origin
View gist:a91b963f4d90b72ea58638cccd350710
! Twitch.tv Player Extensions
www.twitch.tv###js-player-extension-root
www.twitch.tv##.extension-overlay__iframe
||supervisor.ext-twitch.tv/supervisor/v1/index.html$subdocument
! Additional Block for 2020
www.twitch.tv##.tw-pd-t-1.tw-justify-content-center.tw-flex-column.tw-flex.tw-c-background-base.tw-border-radius-medium.tw-align-items-center
www.twitch.tv##div:nth-of-type(3) > .tw-tooltip-wrapper.tw-relative.tw-inline-flex > .tw-relative.tw-overflow-hidden.tw-justify-content-center.tw-interactive.tw-inline-flex.tw-core-button--overlay.tw-core-button.tw-button-icon--overlay.tw-button-icon.tw-border-top-right-radius-medium.tw-border-top-left-radius-medium.tw-border-bottom-right-radius-medium.tw-border-bottom-left-radius-medium.tw-align-middle.tw-align-items-center > .tw-button-icon__icon > div > .tw-inline-flex.tw-icon--fill.tw-icon.tw-full-width.tw-align-items-center > .tw-aspect--align-top.tw-aspect > .tw-icon__svg > g > path
www.twitch.tv##div:nth-of-type(3) > .tw-tooltip-wrapper.tw-relative.tw-inline
@echohack
echohack / god4.csv
Last active Jul 12, 2020
GoD4 FPA Breakpoints
View god4.csv
FPA Breakpoint Note
10 1.37 - 1.50 Crossbow (Unequip paragon attack speed)
9 1.51 - 1.67 Bow (Unequip paragon attack speed)
8 1.88 - 2.14 1 Hand Crossbow + Quiver / Dual Wield
7 2.15 - 2.50 1 Hand Crossbow + Quiver + 7% attack speed roll
6 2.51 - 3.000 Speed Pylon only
@echohack
echohack / gist:a9cc33757ecd4a91428b6e0568f94215
Created Jul 1, 2020
Fix camera option not showing up in discord for MacOS
View gist:a9cc33757ecd4a91428b6e0568f94215
sudo codesign --remove-signature '/Applications/Discord.app/Contents/Frameworks/Discord Helper (Renderer).app/Contents/MacOS/Discord Helper (Renderer)'
View AuthyToOtherAuthenticator.md

Generating Authy passwords on other authenticators


There is an increasing count of applications which use Authy for two-factor authentication. However many users who aren't using Authy, have their own authenticator setup up already and do not wish to use two applications for generating passwords.

Since I use 1Password for all of my password storing/generating needs, I was looking for a solution to use Authy passwords on that. I couldn't find any completely working solutions, however I stumbled upon a gist by Brian Hartvigsen. His post had a neat code with it to generate QR codes (beware, through Google) for you to use on your favorite authenticator.

His method is to extract the secret keys using Authy's Google Chrome app via Developer Tools. If this was not possible, I guess people would be reverse engineering the Android app or something like that. But when I tried that code, nothing appeared on the screen. My gues

View iam_role_example.tf
resource "aws_iam_role" "my_team" {
name = "${var.aws_iam_role}"
assume_role_policy = <<EOF
{
"Version":"2012-10-17",
"Statement":[
{
"Action":"sts:AssumeRole",
@echohack
echohack / delete_all_slack_files.sh
Created Jul 11, 2018
delete_all_slack_files.sh
View delete_all_slack_files.sh
# Delete all the slack files
# using https://github.com/rockymadden/slack-cli
slack file list -c | grep '"id"' | cut -d\" -f4 | xargs -n1 slack file delete
@echohack
echohack / talgan_morzoth.txt
Created Jun 22, 2018
talgan morzoth character sheet (5th level warlock)
View talgan_morzoth.txt
Talgan Morzoth
Character Concept
I'm Talgan Morzoth, warlock detective for hire. You can find my office in Terminus, merchant's row. If you've got something that's weird, or spooky, then it might be time to hire a private investigator that knows a thing or two about spooks and ghosts.
Background
Haunted One
You are haunted by something so terrible that you dare not speak of it. You've tried to bury it and flee from it, to no avail. This thing that haunts you can't be slain with a sword or banished with a spell. It might come to you as a shadow on the wall, a bloodcurdling nightmare, a memory that refuses to die, or a demonic whisper in the dark. The burden has taken its toll, isolating you from others and making you question your sanity. You must find a way to overcome it before it destroys you.
Harrowing Event
@echohack
echohack / youtube_table.csv
Last active May 30, 2018
A Table with some data on the youtube homepage
View youtube_table.csv
Title Channel Age Watched Already?
Dunk Souls Remastered videogamedunkey 1 day Watched
Cheap AliExpress Graphics Cards - SCAM??? Linus Tech Tips 5 days Watched
Cr1tikal Gets a $31000 Donation on Stream Otinashi 1 month Watched
lofi hip hop radio - beats to relax/study to ChilledCow Live Watched
Reverse emulating the NES to give it SUPER POWERS! suckerpinch 1 day Not Watched
Quick D: A fighter Jet Says Hi CaptainDisillusion 2 weeks Watched
36.5% Revenue DECLINE per product in Magic The Alpha Investments 1 month Not Watched
Bittergrounds: PUBG Properly Sues Epic Game For Jim Sterling 3 hours Not Watched
The Most Valuable Airspace in the World Wendover Productions 1 day Not Watched