Skip to content

Instantly share code, notes, and snippets.

Toby Smith tobysmith568

Block or report user

Report or block tobysmith568

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tobysmith568 /
Created Nov 6, 2018
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)
View Open Jira ticket bookmark.html
<title>Open a Jira ticket</title>
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 / Add Eclipse Workspace.bat
Last active Sep 20, 2018
Batch file to add a new option to the Windows Explorer right-click menu which opens an Eclispe workspace wherever you right click
View Add Eclipse Workspace.bat
@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
You can’t perform that action at this time.