Skip to content

Instantly share code, notes, and snippets.

View jheidt's full-sized avatar
💭
:shipit: 👍

Jake jheidt

💭
:shipit: 👍
View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 7.
name,prompt,negative_prompt
"sai-base","{prompt}",""
"sai-3d-model","professional 3d model {prompt} . octane render, highly detailed, volumetric, dramatic lighting","ugly, deformed, noisy, low poly, blurry, painting"
"sai-analog film","analog film photo {prompt} . faded film, desaturated, 35mm photo, grainy, vignette, vintage, Kodachrome, Lomography, stained, highly detailed, found footage","painting, drawing, illustration, glitch, deformed, mutated, cross-eyed, ugly, disfigured"
"sai-anime","anime artwork {prompt} . anime style, key visual, vibrant, studio anime, highly detailed","photo, deformed, black and white, realism, disfigured, low contrast"
"sai-cinematic","cinematic film still {prompt} . shallow depth of field, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy","anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, ugly, disfigured"
"sai-comic book","comic {prompt} . graphic illustration, comic art,
LESS="--quit-if-one-screen --ignore-case --status-column --LONG-PROMPT --RAW-CONTROL-CHARS --HILITE-UNREAD --tabs=4 --no-init --window=-4 --tilde"
DIRCMD="/N /OGN /Q /A"
import { existsSync, promises } from 'fs';
import { homedir } from 'os';
import { join } from 'path';
import { showStatusBarItem, hideStatusBarItem } from './statusBarItem';
import { showQR, closeQRWebview } from './qr';
const { readFile } = promises;
import {
@jheidt
jheidt / .yardopts
Created June 27, 2020 00:51
yardopts
--no-cache --no-save --protected --private --charset utf-8 --plugin yard-activerecord --plugin yard-activesupport-concern
@jheidt
jheidt / wage.java
Last active May 6, 2020 01:47 — forked from themellowj/wage
package McGriff;
import java.util.ArrayList;
// Justin
// Course CIS217
// Project 2
// 3/5/20
//
public class WageGamer {
//private fields
@jheidt
jheidt / wsl.conf
Created April 7, 2020 13:16
base wsl.conf
[interop]
enabled=true
appendWindowsPath=false
[automount]
enabled=true
options="metadata"
@jheidt
jheidt / pwsh-profiles.jsonc
Last active January 15, 2020 17:31
pwsh core profiles json
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"requestedTheme": "system",
@jheidt
jheidt / twitch-automatically-claim-channel-points.js
Created December 19, 2019 01:12
Automatically claim twitch community points. Run in browser console.
if( !!this['claimIntervalId'] && this['claimIntervalId'] > 0) {
console.log(`clearing interval (id = ${ this['claimIntervalId'] })`);
window.clearInterval(this['claimIntervalId']);
}
claimIntervalId = window.setInterval( () => {
const claim = document.querySelector('div.claimable-bonus__icon');
if(null !== claim) {
console.info('claimed reward!');
try { claim.parentElement.parentElement.click(); }
catch(e) { console.error(e); }

Keybase proof

I hereby claim:

  • I am jheidt on github.
  • I am jheidt (https://keybase.io/jheidt) on keybase.
  • I have a public key ASDAOxUGYzlyylAoT7Ic4vUzcoacT0fBAiEaRvaOghsEoAo

To claim this, I am signing this object:

require 'open-uri'
class Bingy
LANDING_PAGE = 'http://www.bing.com/translator'.freeze
SPEAK_URL = LANDING_PAGE + '/api/language/Speak?locale=en-US&media=audio/mp3'
def initialize(text, gender = 'male')
@user_agent = 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36'
@params = { text: text, gender: gender }
end