Skip to content

Instantly share code, notes, and snippets.

View MarioAriasC's full-sized avatar

Mario Arias MarioAriasC

  • Singapore
  • 12:02 (UTC +08:00)
View GitHub Profile
@MarioAriasC
MarioAriasC / plot.rb
Last active November 26, 2024 17:10
# frozen_string_literal: true
# install this gem first
require 'unicode_plot'
require 'json'
hf_json = JSON.parse(File.read(ARGV[0]))
hf_results = hf_json["results"]
@timotgl
timotgl / uninstall-logitech-ghub.sh
Created April 4, 2022 12:15
How to fully uninstall Logitech G HUB on macOS via terminal/command line
# How to fully uninstall Logitech G HUB on macOS via terminal/command line
# Tested on macOS version 12.3.1 (21E258) Monterey in April 2022
# with Logitech G HUB version 2022.3.242300 (released on 2022-03-22) installed.
# 1. Make sure "Logitech G HUB" itself is not running. If it is, quit it.
# 2. Open "Activity Monitor" and force-quit all processes named "lghub*".
# 3. Delete system-wide files
sudo rm -rf /Applications/lghub.app
@Ribesg
Ribesg / doge.kt
Last active August 29, 2015 14:22
import kotlin.platform.platformStatic as such
such fun wow() = println("very doge")