Skip to content

Instantly share code, notes, and snippets.

View bitsondatadev's full-sized avatar
✍️
Documenting Icebergs

Brian "bits" Olsen bitsondatadev

✍️
Documenting Icebergs
View GitHub Profile
@sloanlance
sloanlance / jq_jsonl_conversion.md
Last active October 22, 2024 04:35
jq: JSONL ↔︎ JSON conversion

jq: JSONL ↔︎ JSON conversion

Prerequisites

  • jqhttps://jqlang.github.io/jq/ — "like sed for JSON data"

    There are several options available for installing jq. I prefer to use Homebrew: brew install jq

  1. JSONL → JSON

Source: https://gist.github.com/findepi/04c96f0f60dcc95329f569bb0c44a0cd .

quick build

./mvnw -T2C clean install -nsu -DskipTests -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -Dair.check.skip-all=true -pl '!:trino-server-rpm,!:trino-docs,!:trino-proxy,!:trino-verifier,!:trino-benchto-benchmarks'

run Trino in a container, quickly

docker rm -f trino; docker run --rm -it --name trino -p 8080:8080 trinodb/trino:438
@vretro
vretro / mupen64plus.cfg
Created August 7, 2016 19:34
Working Mupen 64 Plus config for HuiJia USB GamePad adaptor when used in RetroPie
# Mupen64Plus Configuration File
# This file is automatically read and written by the Mupen64Plus Core library
[Audio-OMX]
Version = 1
OUTPUT_PORT = "1"
# Frequency which is used if rom doesn't want to change it
DEFAULT_FREQUENCY = 33600
# Swaps left and right channels
@vretro
vretro / InputAutoCfg.ini
Created August 7, 2016 19:28
HuiJia USB GamePad adaptor auto config for RetroPie (Working Multi Player)
; InputAutoCfg.ini for Mupen64Plus SDL Input plugin
; Keyboard_START
[Keyboard]
plugged = True
plugin = 2
mouse = False
DPad R = key(100)
DPad L = key(97)
DPad D = key(115)
@sreid8
sreid8 / InputAutoCfg.ini
Created August 7, 2016 02:02
The InputAutoCfg.ini file for mupen64plus that I use on my RetroPie installation to get the Mayflash N64 controller adapter working
; InputAutoCfg.ini for Mupen64Plus SDL Input plugin
[Keyboard]
plugged = True
plugin = 2
mouse = False
DPad R = key(100)
DPad L = key(97)
DPad D = key(115)
DPad U = key(119)
@jasonrudolph
jasonrudolph / request.sh
Created April 14, 2015 14:10
Get `starred_at` timestamp for a repository's stargazers via the GitHub API
curl https://api.github.com/repos/atom/atom/stargazers -H 'Accept: application/vnd.github.v3.star+json'
@vorburger
vorburger / CopyResourcesFromClassPathToFilesystemDirectory.java
Created July 3, 2011 22:29
Copy resources from Classpath into a temporary directory
import java.io.File;
import java.io.IOException;
import java.net.URL;
import org.apache.commons.io.FileUtils;
import org.springframework.core.io.Resource;
import org.springframework.core.io.support.PathMatchingResourcePatternResolver;
import org.springframework.core.io.support.ResourcePatternResolver;
@actaneon
actaneon / VimCommands.txt
Created April 14, 2010 17:15
Vim Commands
Moved to README within Vim Environment repo
http://github.com/actaneon/VimEnv/blob/master/README