Skip to content

Instantly share code, notes, and snippets.

View owlboy's full-sized avatar

Bryan Bortz owlboy

View GitHub Profile
@bgolus
bgolus / InfiniteGrid.shader
Last active January 20, 2024 05:11
Infinite Grid shader with procedural grid with configurable divisions and major and minor lines markings.
Shader "Unlit/InfiniteGrid"
{
Properties
{
[Toggle] _WorldUV ("Use World Space UV", Float) = 1.0
_GridScale ("Grid Scale", Float) = 1.0
_GridBias ("Grid Bias", Float) = 0.5
_GridDiv ("Grid Divisions", Float) = 10.0
_BaseColor ("Base Color", Color) = (0,0,0,1)
_LineColor ("Line Color", Color) = (1,1,1,1)
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[InitializeOnLoad]
public class MakeUploadsFast : MonoBehaviour
{
static MakeUploadsFast()
{
@dmpanch
dmpanch / howto_create_online_radio_macos_sierra.txt
Last active August 13, 2022 23:24
How to create internet radio on MacOS Sierra 10.12
All actions are performed in Terminal.app.
1. Install Homebrew http://brew.sh/
2. Install Jack (route audio tool) http://jackaudio.org/. Current stable version from official website doesn't work with
MacOS Sierra (I use 10.12.3) so you need to download beta version from there https://yadi.sk/d/JwT10b7v3Dm5yy.
After installing reboot your computer.
3. Install Darkice (audio streamer) via brew.
@Air-Craft
Air-Craft / ffmpeg_from_m3u_stream.sh
Created December 24, 2015 13:29
Rip m3u8 stream (series of .ts files) to video via ffmpeg #video #conversion #streaming #ripping
ffmpeg -i "https://content.jwplatform.com/manifests/Wqyolfwt.m3u8" -c copy -bsf:a aac_adtstoasc video.mp4
@cranberyxl
cranberyxl / desinty-hubot-slack.md
Last active November 3, 2015 16:36
Destiny Hubot for Slack

Destiny Slack Hubot setup

  1. Follow the basic heroku/hubot instructions here: https://gist.github.com/trey/9690729
  2. Add "slack-destiny-bot": "cranberyxl/slack-destiny-bot#search_armory" to package.json to get my fork of the bot with armory search. These will probably make their way back to the original repo eventually.
  3. Go to https://{your-slack-name}.slack.com/services/new/hubot to setup a new hubot integration
  4. Signup for a Bungie API key here: https://www.bungie.net/en/User/API
  5. Plugin the Bungie API key and the slack hubot token into heroku config