Skip to content

Instantly share code, notes, and snippets.

View joshuadanpeterson's full-sized avatar

Josh Peterson joshuadanpeterson

View GitHub Profile
@joshuadanpeterson
joshuadanpeterson / bookmark_movers.py
Last active January 28, 2023 04:42
bookmark_movers
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
# Change this variable to the text that you want to search for in the bookmark titles and URLs
text = "example"
# Change this variable to the name of the folder that you want to move the bookmarks to
folder_name = "New Folder"
# Start Chrome
@joshuadanpeterson
joshuadanpeterson / tab_to_chordpro
Created January 23, 2020 20:08 — forked from lpinner/tab_to_chordpro
Convert tab to chordpro format
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
######################################################################
# This script is derived (with minor modifications to enable
# stand-alone usage) from Transpose.py, which is part of the
# SongPress application
# https://github.com/lallulli/songpress/blob/master/src/Transpose.py
#
# Modifications by: Luke Pinner
@joshuadanpeterson
joshuadanpeterson / README.md
Created January 23, 2020 20:03 — forked from dl6nm/README.md
README Template

README Template

This template is intended for new projects to provide a structured README file.

[![Badges @ Shields IO][shield-badges]][shields] [![Version?][shield-version]][shields] [![Build passed?][shield-build]][shields] [![Language?][shield-markdown]][shields] [![Tested?][shield-tested]][shields] [![License?][shield-license]][shields]

@joshuadanpeterson
joshuadanpeterson / guitar_tabs_template.txt
Last active April 29, 2024 19:13
[Guitar Tabs Template] Plaintext guitar tab template #music #txt
# Guitar Tabs Template
# Created by: Ultimate Guitar
# Source URL: https://www.ultimate-guitar.com/lessons/for_beginners/guitar_tabs_template.html
-----------------------------------------------------------------
SONG NAME - Band Name
-----------------------------------------------------------------
Tabbed by:
Email:
@joshuadanpeterson
joshuadanpeterson / BatchFileExtMove.sh
Last active January 21, 2020 00:35
[Bash Batch File Move By Extension] Script moves all files w/extension to related directory. #script #bash
# This script moves all files with a certain extension to a related directory.
# From: https://apple.stackexchange.com/questions/94392/how-to-copy-all-files-with-extension-filetype-in-terminal
# Script copies file with 'file ext' from 'directory folder path' into 'target folder path
# Once script is edited for task, make executable:
# - https://stackoverflow.com/questions/9825495/run-text-file-as-commands-in-bash
# Script can also be saved as plaintext file and executed in terminal as 'bash BatchFileExtMove.txt'
cp ~/<directory folder path a>/*.<file ext a> <target folder path a>
cp ~/<directory folder path b>/*.<file ext b> <target folder path b>
@joshuadanpeterson
joshuadanpeterson / steemit_archive.md
Last active May 28, 2019 09:13
[My Steemit Archive] A gist cataloguing my original posts in my Steemit archive #steemit #archive

My Steemit Archive


2017

  • [006] - 09.06.17: (bug-report)
@joshuadanpeterson
joshuadanpeterson / 0_reuse_code.js
Created August 26, 2017 05:41
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@joshuadanpeterson
joshuadanpeterson / bio.md
Last active December 31, 2017 00:51
Bio

Bio

Josh Peterson is an award-winning independent journalist based in Denver, CO. He is a 2016 Fund for American Studies Robert Novak Journalism Fellow studying the impact of artificial intelligence on democracy, and an advisor to PassageX, a blockchain event ticketing company, and the founder and publisher of The Coin Dispatch, a news and opinion site covering the third wave of the Web: Bitcoin, cryptocurrencies, artificial intelligence and blockchain technologies.

Peterson previously contributed to the Washington Free Beacon, The Federalist, and Watchdog.org. Prior to contributing to also AMI Newswire and Urban News Service, Peterson previously spent two years as the the national technology reporter for Watchdog.org, a project of The Franklin Center for Government and Public Integrity. Before that, two years at The Daily Caller covering tech and telecom regulatory policy as the publication’s Tech Editor. During

@joshuadanpeterson
joshuadanpeterson / citations_and_mentions.md
Last active August 25, 2017 17:49
Citations and Mentions

Citations and Media Mentions for my work.


Citations

Wikipedia

@joshuadanpeterson
joshuadanpeterson / blockstack.md
Last active May 28, 2019 09:15
[Blockstack ID] Markdown file verifying my Blockstack ID. #blockstack