Swift: Load a Wav sound using AVFoundation
I sometimes need to dynamically load a .wav file. Here's how I do it using AVFoundation. func changeSound(_ song:(path: String, format: String)){ var err:NSError?...
I sometimes need to dynamically load a .wav file. Here's how I do it using AVFoundation. func changeSound(_ song:(path: String, format: String)){ var err:NSError?...
This function will help you get a random true or false boolean value. func randomBool() -> Bool { return arc4random_uniform(2) == 0 ? true : false }...
I doubt many people will need this but here are a few neat things you can do with Ruby. I won't go into great detail but...
I normally use Heroku [https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction] or Openshift [https://www.chrisjmendez.com/2012/04/29/expressjs-app-with-mongodb-on-openshift/] to publish apps but AWS works too....