Skip to content

Instantly share code, notes, and snippets.

View mykey's full-sized avatar
😄
I think you have tagged me in error :)

Michael mykey

😄
I think you have tagged me in error :)
View GitHub Profile
View Check FLAC files for errors.py
import os
import subprocess
import shutil
from os import startfile
import codecs
# Check if FLAC.exe exists in PATH
if not shutil.which('flac') is not None:
print('\nSeems like FLAC.exe is missing...')
print('Please download FLAC from: https://xiph.org/flac/download.html')
@ScribbleGhost
ScribbleGhost / Add Process all files in folder to the context menu.reg
Created October 11, 2020 15:49
Add batch file to the context menu - Process all files in folder
View Add Process all files in folder to the context menu.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\Process all files in folder]
@="&Process all files in folder"
[HKEY_CLASSES_ROOT\Directory\shell\Process all files in folder\command]
@="\"C:\\Scripts\\Process all files in folder.bat\" \"%1\""
@devdattaT
devdattaT / LocationHistory.md
Created February 14, 2019 04:15
How to Visualize your Google Location History
View LocationHistory.md

Google is extremely transparent about the Location History it has on you. You can check it out on the timeline feature in the Google Maps application on the phone, or on https://www.google.com/maps/timeline It is possible that you have that turned off, and in that case, consider yourself lucky.

If there is data there, you can view it online, or Download and Analyze it yourself.

View ConvertGoogleHistory.py
import json
import csv
import sys
import datetime
import os
def make_reader(in_json):
# Open location history data
@henfiber
henfiber / KB-Buying-guide-EU.md
Last active November 26, 2023 14:09
Buying keyboards and keyboard components from EU
View KB-Buying-guide-EU.md

Europe

  • SkinFlint : Price comparison site which has some nice filtering options per switch type etc. Searches for offers in UK, Germany, Poland and Austria
  • mykeyboard.eu : Keyboards, keycaps and accessories. Based in Belgium.
  • candykeys.com : European Store selling Vortex, Leopold, KBP, Anne Pro keyboards, keycap sets and components (ISO + ANSI). Based in Germany, ships to EU.
  • falba.tech : custom wooden bamboo cases, and some acrylic and carbon ones. Switch packs (65 browns at 48EUR). Other parts for the GH60, Atreus, ErgoDox. Also Microcontrollers, diodes, leds etc.
  • 42keebs.eu - Mostly PCBs, tools and accessories. Located in Czech Republic.
  • KEYGEM : Switches, Keycaps, lubes, cables, DIY kits and deskmats. Based in Germany, ships to the EU and worldwide.
  • [Eloquent Clicks - Custom Mechanical Keyboard Store](https://www.eloquen
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active December 8, 2023 16:45 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
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 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 guess is that Brian used the

@jgamblin
jgamblin / burpsettings.json
Created April 17, 2017 13:04
Burp Settings JSON
View burpsettings.json
{
"project_options":{
"connections":{
"hostname_resolution":[],
"out_of_scope_requests":{
"drop_all_out_of_scope":false,
"exclude":[
{
"enabled":true,
"file":"logout",
@jdennes
jdennes / buienalarm-scraper-details.md
Last active February 17, 2022 19:20
Documents how to scrape Buienalarm.nl (until their website changes)
View buienalarm-scraper-details.md

Buienalarm.nl scraper details

A request to http://www.buienalarm.nl/location/rotterdam produces a chart that shows the projected rainfall for the next two hours in Rotterdam:

buienalarm

That page includes the following JavaScript that represents the data used to build the chart:

<script type="text/javascript">
@monoxgas
monoxgas / Invoke-DCSync.ps1
Last active November 22, 2023 08:27
What more could you want?
View Invoke-DCSync.ps1
This file has been truncated, but you can view the full file.
function Invoke-DCSync
{
<#
.SYNOPSIS
Uses dcsync from mimikatz to collect NTLM hashes from the domain.
Author: @monoxgas
Improved by: @harmj0y
View keybase.md

Keybase proof

I hereby claim:

  • I am mykey on github.
  • I am michaelcox (https://keybase.io/michaelcox) on keybase.
  • I have a public key ASDYqLTAC_F74gqFWdiFtOCRQRqHME-HLf2_IMlUYgqCWAo

To claim this, I am signing this object: