Skip to content

Instantly share code, notes, and snippets.

View rawsh's full-sized avatar

Robert Washbourne rawsh

View GitHub Profile
net_graph "1"
net_graphproportionalfont "0.5"
rate "786432"
hud_scaling "1"
cl_cmdrate "128"
cl_updaterate "128"
snd_menumusic_volume "0" // (disables menu music)
snd_mix_async "1" // (allows for shorter lookahead buffer (snd_mixahead), improves performance)
ffmpeg -re -i .mkv -c:v libx264 -preset veryfast -maxrate 3000k -bufsize 6000k -pix_fmt yuv420p -g 50 -c:a aac -strict -2 -b:a 160k -ac 2 -ar 44100 -f flv rtmp://
ffmpeg -re -i .mkv -c copy -f flv rtmp://
ffmpeg -re -i /home/steam/trans/new/1.mkv -c:v libx264 -preset veryfast -maxrate 3000k \
-bufsize 6000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 160k -ac 2 \
-ar 44100 -f flv rtmp://
@rawsh
rawsh / nench.txt
Created January 7, 2019 18:13
Virmach ssd2g buffalo new york 10gbps
-------------------------------------------------
nench.sh v2018.04.14 -- https://git.io/nench.sh
benchmark timestamp: 2019-01-07 18:06:49 UTC
-------------------------------------------------
Processor: QEMU Virtual CPU version (cpu64-rhel6)
CPU cores: 2
Frequency: 2999.998 MHz
RAM: 1.9G
Swap: 1.0G
@rawsh
rawsh / nench.txt
Last active January 5, 2019 03:30
extra vm 7700k VPS ~ $3 virginia
https://openbenchmarking.org/result/1901043-KH-GAY61175664
https://openbenchmarking.org/result/1901048-KH-EXTRAVMTE51
compare: https://www.phoronix.com/scan.php?page=article&item=intel-7700k-linux&num=3
-------------------------------------------------
nench.sh v2018.04.14 -- https://git.io/nench.sh
benchmark timestamp: 2019-01-05 02:29:59 UTC
-------------------------------------------------

As you may already know, Wii U USB Helper has been discontinued, however, this shouldn't mean we're not allowed to use it anymore.

So I've made a launcher which makes it work again. Hooray!

Here's how to set it up:

Step 1 - Download the launcher.

Step 2 - Download a compatible version of Wii U USB Helper.

SELLING Naughty Flygon 2-31-24-21-27-17 ev trained lv 53 PM me offers
SELLING Neutral Gallade 27-31-18-31-30-19 ev trained PM offers
"use strict";
// ==UserScript==
// @name Vertix.io Aimbotaaaa
// @description Aim at the closest player by pressing Shift.
// @match http://vertix.io
// @match http://www.vertix.io
// @version 1.0
//
// @namespace https://greasyfork.org/users/119655
@rawsh
rawsh / tint2rc
Last active May 19, 2018 01:46
tint2rc
#---- Generated by tint2conf 9757 ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for
# full documentation of the configuration options.
#-------------------------------------
# Backgrounds
# Background 1: Panel, Tooltip
rounded = 0
border_width = 0
border_sides = TBLR
background_color = #16161d 63
@rawsh
rawsh / file.md
Last active April 23, 2018 17:54
Content Aware Cropping Using a Neural Net

Photographers wade through thousands of photos every shoot, and some crops are far from optimal. A smart crop tool can assist these photographers, provide a baseline for them to work from, and automate the crops for many photos.

Reading trained network weights

A good algorithm for finding objects in photos is the YOLO algorithm (You Only Look Once). A pretrained network that works well is the darknet network by Joseph Chet Redmon. This can be imported into Mathematica as a binary file through this code [^1]:

leayReLU[alpha_] := ElementwiseLayer[Ramp[#] - alpha*Ramp[-#] &]