Skip to content

Nicholas Harris / ScarabCoder

Programming & Management Discoveries

  • Home
  • Resume
  • Home
  • Resume

Using TamperMonkey to Automate simple tasks

October 12, 2018July 10, 2019Nicholas HarrisLeave a comment

Both as a resource moderator for SpigotMC and working for a business that runs website SEO scans, I’ve found that there are a lot of repetitive tasks. Most of these involve filling out details in a form. For example, about 75% of the reports on resources for Spigot plugins were “invalid”. Either they were making…Read More

Using Google’s spreadsheet scripting tools for automation

October 2, 2018July 10, 2019Nicholas HarrisLeave a comment

I was recently taken on for a startup that specialized in finding SEO related issues in WordPress blogs, and they had a very interesting setup. Google Spreadsheets allows for fairly complicated scripting, with a language based around JavaScript. You can create buttons, make HTTP requests, and generate data with it, among other things. The startup…Read More

Resolving Merge Conflicts

September 18, 2018July 10, 2019Nicholas HarrisLeave a comment

When working with other people on a Git repository, you’ll eventually encounter merge conflicts. This happens when two people attempt to make modifications to the repository, causing one to be pushed while the other must either replace the changes made by the first or somehow merged. The easiest way to avoid merge conflicts is to…Read More

Running Scripts inside Java with ECMAScript

September 12, 2018July 10, 2019Nicholas HarrisLeave a comment

Something that’s in demand for every project being developed is configurability. These days, everything needs to be changeable. Languages, layouts, themes, colors, everything. In some projects, though, simply having a config file to load key values from is not enough. Sometimes people want to add simple scripts to their system, usually for automation.In the project…Read More

Using Enums for Configurable Settings in Java

September 4, 2018July 10, 2019Nicholas HarrisLeave a comment

When writing Spigot plugins for clients, it was common for them to request for everything to be configurable. Usually this was just the messages sent to players, in case they wanted to tweak something to be more consistent with other messages or change the language. Usually, this led to quite a lot of code being written…Read More

Using a queue system to facilitate requests to a rate limited server

August 30, 2018July 10, 2019Nicholas HarrisLeave a comment

Another of the features I wanted to improve for my Bittrex project was to create a better system for sending requests to the HTTP API servers. Because of their rate limit, I couldn’t just send requests for data whenever I needed it. Ideally, I want to get market ticks every minute as that’s when they…Read More

HTTP API wrappers

August 29, 2018July 10, 2019Nicholas HarrisLeave a comment

Most APIs for online applications (Facebook, Twitter, Shipstation, etc) are in the form of an HTTP API. An HTTP endpoint is an online URL you can make requests to, similarly to how a browser would make requests to a normal website. The HTTP server would take requests with parameters and return relevant data. For example,…Read More

How I Collect Data In my Bittrex Core Library

August 27, 2018July 10, 2019Nicholas HarrisLeave a comment

The largest aspect of my previous Bittrex trading program was how the program collected market data. Market data was collected in “ticks”, or “candlestick”. Each tick was period of time that it covered, in varying lengths. For example, a tick length might be an hour. The tick for that specific hour in time would contain…Read More

Cryptocurrency Trading Library/Platform

August 24, 2018July 10, 2019Nicholas HarrisLeave a comment

Awhile ago, I was hired to create a crytocurrency automatic trader, using Bittrex’s API. It was the first time I’ve heavily used an HTTP API from Java. It mostly works, but unfortunately still has some issues. I’ve decided to re-write to make it more stable, especially due to the fact that Bittrex has a vague…Read More

Attaching Objects to ItemStacks with NBT Data

August 23, 2018July 10, 2019Nicholas HarrisLeave a comment

Sometimes you need to attach data to an ItemStack, in order to keep track of something. A project I’m working on is for an RPG themed server where they want items that act as teleportation scrolls. When interacted with, they open a GUI where players can teleport to pre-defined areas. Each individual item had a…Read More

Posts navigation

Older posts
Newer posts

© 2019 Nicholas Harris / ScarabCoder | Programming & Management Discoveries