Skip to content

Instantly share code, notes, and snippets.

View buttreygoodness's full-sized avatar

Jeff Adkins buttreygoodness

View GitHub Profile
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ExampleMovement : MonoBehaviour
{
private CharacterController controller;
private Vector3 playerVelocity;
private bool groundedPlayer;
private float playerSpeed = 2.0f;
Testing
Two
Three
@buttreygoodness
buttreygoodness / FLACConvert.md
Last active October 22, 2023 07:41
How to split FLAC files by cue and convert to ALAC on Mac OS X
  • Install required packages
brew install cuetools flac ffmpeg shntool
  • Split flac file by cue
$ shnsplit -o flac -f file.cue file.flac
@buttreygoodness
buttreygoodness / install_chrome_with_deps_deb_16.04.sh
Last active June 10, 2022 15:29
Install chrome with dependencies for selenium on ubuntu 16.04
#!/usr/bin/env bash
# Abbreviated version of:
# https://gist.github.com/ziadoz/3e8ab7e944d02fe872c3454d17af31a5
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/
# http://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04
# Versions
CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`
{
"swagger": "2.0",
"info": {
"version": "1.0.0",
"title": "RLBPulse API",
"description": "## Structure\n\n### The Envelope\nEvery response is contained by an envelope. That is, each response has a\npredictable set of keys with which you can expect to interact:\n```json\n{\n \"meta\": {\n \"code\": 200\n },\n \"data\": {\n ...\n }\n}\n```\n\n### META\nThe meta key is used to communicate extra information about the response to\nthe developer. If all goes well, you'll only ever see a code key with value 200. However, sometimes things go wrong, and in that case you might see a\nresponse like:\n```json\n{\n \"meta\": {\n \"error_type\": \"OAuthException\",\n \"code\": 400,\n \"error_message\": \"...\"\n }\n}\n```\n\n### DATA\nThe data key is the meat of the response. It may be a list or dictionary,\nbut either way this is where you'll find the data you requested.\n\n## Deleting Objects\nWe do our best to have all our URLs be\n[RESTful](http://en.wikipedia.org/wiki/Represen
@buttreygoodness
buttreygoodness / WordpressLocalhostFTP
Created March 6, 2015 15:11
Wordpress localhost FTP
$ cd /Users/<username>/Sites
$ sudo chown -R :_www wordpress
$ sudo chmod -R g+w wordpress
and then add following in wp-config.php
define('FS_METHOD', 'direct');