Skip to content

Instantly share code, notes, and snippets.

View bobmoff's full-sized avatar

Fille bobmoff

View GitHub Profile
@bobmoff
bobmoff / BouncyWall
Last active January 22, 2016 19:05
Bouncy wall physics behaviour for Cocktail Cruise
using UnityEngine;
using System.Collections;
public class Wall : MonoBehaviour {
Vector2 DesiredLocalPosition;
Quaternion DesiredRotation;
Transform DesiredTransform;
Rigidbody2D Body;
@bobmoff
bobmoff / Unity Server in Docker Container
Last active September 24, 2022 15:55
Running Unity headless unix build in Docker container on Docker Cloud
@bobmoff
bobmoff / index.html
Last active February 18, 2017 13:55 — forked from anonymous/index.html
Positron
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Positron Preview</title>
<link rel="stylesheet" type="text/css" href="https://api.mapbox.com/mapbox-gl-js/v0.28.0/mapbox-gl.css" />
<script src="https://api.mapbox.com/mapbox-gl-js/v0.28.0/mapbox-gl.js"></script>
<style>
@bobmoff
bobmoff / Unity 3D Linux Standalone Build running in Docker
Last active June 27, 2017 00:24
Unity 3D Linux Standalone Build running in Docker (Development and Production)
This file exists only to make up the name of the gist
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({
@bobmoff
bobmoff / remote_script.sh
Last active August 16, 2021 07:36
Just a test
echo "hello there"
echo "hello again"
@bobmoff
bobmoff / install-elixir-on-ubuntu.sh
Last active August 16, 2021 07:57
Install Elixir on Ubunti (Bash Script)
#!/bin/bash
wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb && sudo dpkg -i erlang-solutions_2.0_all.deb
sudo apt-get update
sudo apt-get install -y esl-erlang
sudo apt-get install -y elixir
@bobmoff
bobmoff / install-caddy-on-ubuntu.sh
Created August 16, 2021 09:12
Install Caddy on Ubuntu (Script)
#!/bin/bash
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo tee /etc/apt/trusted.gpg.d/caddy-stable.asc
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
sudo apt update
sudo apt install -y caddy