I'm attempting to get ngrok to properly tunnel from my main server running an application, to ping API calls locally to verify code working properly (i.e. "the logging system may noy be perfect and this is better.") So what I've done: installed ngrok via brew At this point, I can spin it up: And it gives me a great output: Pretty simple, right? From here, we curl to verify, Which threw an…
I keep looking up how to do little command-line code tricks (for fun) so I figure I should probably start writing them down somewhere so I can just look them up on my own site. Create a File That Contains a CLI Response Sure, I'm super familiar with creating a file with and I always forget "how do you to a file, or append to a file?" This came from wanting to add a file to this blog, as I was a…
Source: Copied here for posterity. Summary Answer to the question: "What is Testivus' wisdom concerning the proper percentage of test coverage?" Referring to "The Way of Testivus" entry: http://www.artima.com/weblogs/viewpost.jsp?thread=203994 Morgan Conrad asked: "What is Testivus' wisdom concerning the proper percentage of test coverage?" Here you go Morgan. Testivus On Test Coverage Early one…
There's a tool I use for importing/exporting massive amounts of data (well, I say MaSSiVe but it's just... a LOT of data, thousands of rows, CSV files that can be DOZENS of MB, so not like terabytes of data). So of course, one limitation is - images. You can't just feed the tool a list of URLs and say "get these for me." So I went down the road of wget - and of course, I didn't think of this at…
So it seems, no matter where I go, I always come back to Docker! Not that this is problematic in and of itself, as it just starts highlighting why it's necessary, or at the very least, the kind of work Docker Containers will do for you instead of the usual "what version of Java does this need? What other specific environment configs does this project need that I need to notate so I don't conflict…
An inherent problem I've ran into at my day job is the necessity to point to different versions of images. Ideally, these images would be tagged, so we could, say, point to each image of a release, or timestamp, or a build. Currently, they don't do that (priorities of different groups, and all that). To offset local development needs, another co-worker pointed out in the past his prior teams had…
A reoccuring problem I run into at work is handling multiple branches on a dev environment comprised of Java, JavaScript, SQL, and SCSS files. It's not an ideal scenario, but utilizing Jenkins, the task is fairly easy in the pipeline - you list the branches you want built, you tell it to deploy (or on a schedule) and it runs through and confirms there is no merge conflicts, before continuing on…
In an effort to document the amount of code I find myself working on, and to create a better, more organized effort to keep code snippets, code examples, recipes, etc. in an easy to search format - I’ve returned to blogging. After this final commit of this page, I will possibly leave it “as-is” and move forward with adjusted entries for historical purposes (or not, who knows?) I opted for Gatsby…