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);
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