Quantcast
Channel: Gubatron.com
Browsing all 174 articles
Browse latest View live

[CODE/PHP] JpGraph: How to output your graph as a base64 encoded image

Some times you just want to output the image created by your $graph object without having to create a separate .php script that would need to receive a bunch of parameters. Here’s a function you can...

View Article


[CODE] Arduino 4 BIT LED binary counter

Here’s my “Hello World” on Arduino. A 4-bit binary counter for arduino. If you add another LED on the 5th pin, then it can count from 0 to 31 (32 values) Circuit wired by @KataySantos int counter = -1;...

View Article


[CODE/JAVA] Scanner – read a full line

I was solving problems at HackerRank to teach a friend how to code in Java and to process the input data it’s convenient to use Java’s built in Scanner class. However, in one of the problems we wanted...

View Article

[CODE] Detecting if a VPN connection is active programmatically (Jan/2017)

This method of programatic detection works as of January 24, 2017 with the latest versions of Express VPN and PIA (Private Internet Access) On Mac OSX/ This works for Mac OSX 10.2.2. The trick is to...

View Article

[Monero-Development] Installing dependencies on Mac

March 12th 2017. In order to build Monero on MacOSX with cmake, I had to install the following dependencies via homebrew brew install libunwind-headers --force brew link libunwind-headers --force brew...

View Article


Image may be NSFW.
Clik here to view.

Fix high CPU usage by WordPress and MySQL

Today one of our wordpress sites had very high server load and it was being caused by MySQL So I went to the mysql console, and looked up the process list: So this guy is appearing a lot SELECT...

View Article

How to run your Kotlin gradle built app from the command line

So you build your Kotlin app, you went through the trouble of creating a build.gradle script that you build with gradle assemble this outputs a a “build/libs/kotlin.jar” .jar file, but you have no clue...

View Article

[VLOG 44] DJI Spark Recording Modes – Test 1

View Article


[VLOG 39] POV Bouldering and climbing session at Movement Denver

View Article


[Bouldering] Beta for “The Toxic Avenger”. Shot at Movement Climbing +...

View Article

Image may be NSFW.
Clik here to view.

Introducing Yuca: A light-weight, in-memory, fast and simple to use search...

https://github.com/gubatron/yuca If your app can’t handle or doesn’t really need installing a full featured and heavy search engine like Lucene, nor you want to depend on a SQL database for indexing...

View Article

Solving “Received fatal alert: handshake_failure” error when performing HTTPS...

TL; Tell me already what to do: Add the jdk.crypto.cryptoki module to the list of --add-modules parameter to your jlink command invocation If you’re reading this you’re one of the few developers out...

View Article

[BOULDERING] My first V6!

View Article


gradle/groovy: A simple way to check if a gradle task name has been invoked...

If you google for this question, you’ll find a bunch of crap answers about creating tasks and checking the task graph, bullshit. All you need to do is check if a parameter has been passed to gradle....

View Article

[BOULDERING] March-May 2019 Medley (V3-V5 / 6A-6C+)

Bouldering problems recorded between March and May 2019 at Movement Climbing Fitness Baker and the newly opened “The Spot Denver”

View Article


[bash scripting] `contains_item` bash function. Check if an item is in an array

View Article

[BOULDERING] V4s, V5s, V7 throwback from December 2018

 

View Article


nginx server configuration for a wordpress instance served from a URL’s...

You want to serve a wordpress instance on a website’s domain url but not at the path’s root, you want it under a sub-directory, for example “blog”, the same as this blog: https://www.gubatron.com/blog...

View Article

[BOULDERING] V4-V6 slab at Movement RiNo, Denver, CO

View Article

[BOULDERING] Bergen, Norway KlatrekKlubb, Slab (V4-V5)

View Article
Browsing all 174 articles
Browse latest View live