Skip to content

Instantly share code, notes, and snippets.

View rib3ye's full-sized avatar
🆒
Petting a cat

Noah Tsutsui rib3ye

🆒
Petting a cat
View GitHub Profile

NOTE: This is a preview release! Report bugs/feedback to:

ambience-feedback@sawhorsela.com

TL;DR: Ambience speeds up the placement and testing of SFX in Studio!

Ambience

Ambience is a Studio Plugin that makes creating sounds more intuitive with a visualization of their maximum reach, roll-off properties, placement, RollOffMode sound curves, and more.

BEGIN MESSAGE.
6Uu5Q1Z1c9SrJUQ MKioCuSP0lqJH1N wWzoTWQENPWrMat Ads6dMDFNEwRqyZ
6Bo6ap9Mm6TiuxE tm6lVb0Kp0yTCKq 6Xr2MZHgg4XIjpO yhZxQWba8bOTaTW
yqbUnmx1kS25f9s QIv3R6w2ASYigXp AmcLyzekQivP6sx Edfo0Q4SnPSITMd
4UbSFa3sMKXbrqJ jambmjUDl9VGsWc d7jDM29HFxl.
END MESSAGE.
@rib3ye
rib3ye / UIView+extension.swift
Last active March 2, 2019 01:58
A small extension to make creating UIView anchors less painful
//
// UIView+extension.swift
//
// Created by Noah Tsutsui on 7/25/18.
// Copyright © 2018 Noah Tsutsui. All rights reserved.
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@rib3ye
rib3ye / datascience_join_error.md
Last active June 7, 2018 15:43
Python Join errors when using the datascience module

The join method in the datascience module is not the join string method.

def state(state1, state2):
    state1_table = murder_rates.where('State', state1).drop('State', 'Population').relabeled(1, 'Murder rate in {}'.format(state1))
    state2_table = murder_rates.where('State', state2).drop('State', 'Population').relabeled(1, 'Murder rate in {}'.format(state2))
    
    s1_s2 = state1.join('Year', state2, 'Year')

state('California', 'New York')
@rib3ye
rib3ye / SolidityNotes.md
Last active April 4, 2018 22:05
Just random things I learned about solidity

Using .call() or .delegatecall() we can call functions, similar to the data field in a sendTransaction

However, the function name being called must be encoded in hex so the first four bytes can be read as the function name. To do this, we use <address>.delegatecall(bytes4(keccak256("functionName()"))).

Simple logging is possible, using event and emit:

contract LogTest {
    event LogIt(string _text);
    
 //constructor
@rib3ye
rib3ye / web3.sublime-snippet
Last active April 2, 2018 22:13
A Sublime Text autocomplete snippet for creating a web3 instance
<snippet>
<content>
window.addEventListener('load', function() {
if (typeof web3 !== 'undefined') {
web3 = new Web3(web.currentProvider);
} else {
web3 = new Web3(new Web3.providers.HttpProvider("${1:http://127.0.0.1:7545}")); //Ganache Default
}
web3.eth.defaultAccount = web3.eth.accounts[0];

Keybase proof

I hereby claim:

  • I am nipponese on github.
  • I am noaht (https://keybase.io/noaht) on keybase.
  • I have a public key ASDeRasX3F6QQjw6ik4XsD7px6em0qpz027d_NYI5SFYLwo

To claim this, I am signing this object:

@rib3ye
rib3ye / Simple Sticker Test.png
Last active October 14, 2016 20:03
Simulator screenshot for Simple Sticker Test
We couldn’t find that file to show.
@rib3ye
rib3ye / imessage_sketch_template.png
Last active October 14, 2016 19:53
Simple iMessage Sketch template
Screenshot of iMessage Sketch template
@rib3ye
rib3ye / Framer and Sketch Plugins
Last active August 29, 2015 14:27
Framer and Sketch modules/plugins I should remember
Framer
Input-Framer
Framer module to easily turn your designs inputs into real inputs.
https://github.com/ajimix/Input-Framer