Skip to content

Instantly share code, notes, and snippets.

View tobysmith568's full-sized avatar

Toby Smith tobysmith568

View GitHub Profile
@tobysmith568
tobysmith568 / Add Eclipse Workspace.bat
Last active September 20, 2018 13:20
Batch file to add a new option to the Windows Explorer right-click menu which opens an Eclispe workspace wherever you right click
@echo off
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
if '%errorlevel%' NEQ '0' (
echo Requesting administrative privileges...
goto UACPrompt
) else (
goto gotAdmin
)
<head>
<title>Open a Jira ticket</title>
<script>
var jiraURL = "http://<<YOUR JIRA URL>>";
var ticketPrefix = "<<OPTIONAL TICKET PREFIX>>";
var url_string = window.location.href;
var url = new URL(url_string);
var opened = url.searchParams.get("opened");
@tobysmith568
tobysmith568 / BuilderMaker.java
Created November 6, 2018 14:10
Java Builder Pattern Creator
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
import java.util.Calendar;
public class BuilderMaker
{
public static void main(String args[])
{
if (args.length < 1)

Keybase proof

I hereby claim:

  • I am tobysmith568 on github.
  • I am tobysmith568 (https://keybase.io/tobysmith568) on keybase.
  • I have a public key ASC8CxYfVtCPno2TL9FMriz-kTByuHCDUozL1IKp8GseKQo

To claim this, I am signing this object:

@tobysmith568
tobysmith568 / !RepositoryStandards.md
Last active April 8, 2023 21:39
Repository Standards
@tobysmith568
tobysmith568 / install.ps1
Last active September 2, 2023 17:24
WinGet
# Essentials
winget install -e --id Google.Chrome
winget install -e --id Microsoft.PowerShell
winget install -e --id AgileBits.1Password
winget install -e --id AgileBits.1Password.CLI
# Dev Tools
winget install -e --id Git.Git