Skip to content

Instantly share code, notes, and snippets.

View jake's full-sized avatar
🤠
🤠

Jacob Bijani jake

🤠
🤠
View GitHub Profile
@jake
jake / how-to-notarize-unity-for-macos.md
Created December 13, 2019 19:45 — forked from dpid/how-to-notarize-unity-for-macos.md
How to notarize a Unity build for MacOs 10.15 Catalina

How to notarize a Unity build for macOs 10.15 Catalina

As of January 2020, all apps running on macOs 10.15 Catalina are required to be notarized. For Unity games distributed outside the Mac App Store, such as with Steam, the notarization process is done post build using a series of Xcode command line tools.

Prerequisites

  • a Mac that is compatible with macOs 10.15 Catalina :
    • MacBook (2015 or newer)
    • MacBook Air (2012 or newer)
  • MacBook Pro (2012 or newer)
@jake
jake / QuaterionSpring.js
Created December 8, 2019 21:49 — forked from sketchpunk/QuaterionSpring.js
Spring Physics - Oscillation and Critical Dampening on Quaternions
// Resources
// https://burakkanber.com/blog/physics-in-javascript-car-suspension-part-1-spring-mass-damper/
// https://gafferongames.com/post/spring_physics/
// https://gafferongames.com/post/physics_in_3d/
// http://digitalopus.ca/site/pd-controllers/
// .. Has things about Torque
class QuaterionSpring{
constructor( damping=5, stiffness=30 ){
this.velocity = new Float32Array(4);
@jake
jake / bicep.json
Last active October 10, 2018 22:27
commando lottie
{"v":"5.1.13","fr":30,"ip":0,"op":213,"w":2000,"h":2000,"nm":"Comp 1","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"teeth","parent":8,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.41,"y":1},"o":{"x":0.59,"y":0},"n":"0p41_1_0p59_0","t":14,"s":[725.56,40.66,0],"e":[722.758,46.668,0],"to":[-0.46698150038719,1.00144505500793,0],"ti":[0.46698150038719,-1.00144505500793,0]},{"i":{"x":0.41,"y":0.41},"o":{"x":0.59,"y":0.59},"n":"0p41_0p41_0p59_0p59","t":21,"s":[722.758,46.668,0],"e":[722.758,46.668,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.41,"y":1},"o":{"x":0.59,"y":0},"n":"0p41_1_0p59_0","t":36,"s":[722.758,46.668,0],"e":[725.56,40.66,0],"to":[0.46698150038719,-1.00144505500793,0],"ti":[-0.46698150038719,1.00144505500793,0]},{"t":43}],"ix":2},"a":{"a":0,"k":[725.56,40.66,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.49,0.49,0.49],"y":[1,1,1]},"o":{"x":[0.51,0.51,0.51],"y":[0,0,0]},"n":["0p49_1_0p51_0","0p49_1_0p51_0","0p49_1_0p51_0"],"t":14,"s":[100,100,100],
@jake
jake / unity-cloud-build-share-url-to-slack.js
Last active June 1, 2016 02:37
unity-cloud-build-share-url-to-slack hook.io source
module['exports'] = function echoHttp (hook) {
var request = require('request');
var Slack = require('slack-node');
var request_options = {
url: 'https://build-api.cloud.unity3d.com/api/v1',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Basic ' + hook.env.UNITY_CLOUD_API_KEY
}
System.IO.File.AppendAllText("LogFile.txt", "\nThis is a new line");
@jake
jake / video.html
Last active August 29, 2015 14:10
EO video looper
<html>
<head>
<title>video</title>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<style type="text/css">
body {
margin: 0;
padding: 0;
on open theFiles
repeat with aFile in theFiles
if application "Adobe Photoshop CC" is running then
tell application "Adobe Photoshop CC"
open aFile
activate
end tell
else
tell application "Preview" to open aFile
end if
@jake
jake / layout.html
Last active December 30, 2015 01:29
Simple responsive boilerplate.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Responsive Boilerplate</title>
<style type="text/css">
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:0}article,aside,details,figcaption,figure,footer,
<!DOCTYPE HTML>
<html>
<head>
<title>8bit Bigme</title>
<style type="text/css" media="screen">
body {
margin: 0;
padding: 0;
background: #ddd;
text-align: center;