Skip to content

Instantly share code, notes, and snippets.

View jcc10's full-sized avatar

Joshua Cline jcc10

View GitHub Profile
@jcc10
jcc10 / test1.ts
Created May 5, 2021 17:49
Test of detatched deno commands.
console.log("Started 1");
const p = Deno.run({
cmd: ["deno", "run", "./test2.ts"],
});
console.log("exited 1")
Deno.exit();
@jcc10
jcc10 / *TOC.md
Last active March 30, 2021 08:43
Deno Plugin Research

Currently listed plugins:

  • webview - Webview is a tiny cross-platform library to render web-based GUIs for desktop applications.
  • puppeteer - A fork of Puppeteer running on Deno. (Controlling a GUIless web browser through deno.)
  • autopilot - Cross-platform desktop automation library for Deno.
@jcc10
jcc10 / README.md
Last active December 23, 2020 06:03
Deno subprossess live monitoring.

This is to demonstrate that you can monitor programs that are currently running (as opposed to only once the program has exited.

Generator generates a specified number of Alpha and Beta line sets.

Monitor passes specified number of lines in and looks for Al (Alpha) and when it finds it, it logs to console.

@jcc10
jcc10 / SteamHardwareJcc10
Created November 21, 2020 21:34
Steam Hardware Nov hellYear
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 7 2700X Eight-Core Processor
CPU Family: 0x17
@jcc10
jcc10 / README.md
Last active November 11, 2020 09:39
Testing deno ws itterator.

Area 4 - Deno WS AsyncIterator test

(Ignore repo name I'm too lazy to change it.)

This is testing how the AsyncIterators on the std/ws lib works.

It should be very easy to test... Key word is should.

This is to test how deno treats resources. It runs two tests to see how the iterators page through the data coming in.

Origin from This issue

@jcc10
jcc10 / stream_to_youtube.sh
Created August 11, 2020 19:03 — forked from olasd/stream_to_youtube.sh
Stream video to youtube via ffmpeg
#! /bin/bash
#
# Diffusion youtube avec ffmpeg
# Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée.
VBR="2500k" # Bitrate de la vidéo en sortie
FPS="30" # FPS de la vidéo en sortie
QUAL="medium" # Preset de qualité FFMPEG
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube
@jcc10
jcc10 / Font Changer for Kindle Cloud Reader
Last active May 23, 2020 22:44 — forked from harai/Font Changer for Kindle Cloud Reader
A Greasemonkey script which changes the font family of Kindle Cloud Reader to sans forgetica (Font must be installed locally)
// ==UserScript==
// @name Font Changer for Kindle Cloud Reader
// @namespace https://github.com/jcc10/
// @include https://read.amazon.com/
// @run-at document-start
// @version 2
// ==/UserScript==
const fonts = `"sans forgetica"`;
@jcc10
jcc10 / README.md
Created April 13, 2020 05:12
My settings for Mozilla/TTS Docker
@jcc10
jcc10 / gist:ba3e4bcf2607ca095ac7f137b11b6542
Created April 7, 2020 02:02
PopOS Box System Info Report (Apr 6, 2020)
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 7 2700X Eight-Core Processor
CPU Family: 0x17
@jcc10
jcc10 / gist:430a2cd8059a1eec001242cde366a306
Last active April 7, 2020 01:54
PopOS Box System Info Report (Dec 22, 2019)
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 7 2700X Eight-Core Processor
CPU Family: 0x17