- https://speakerdeck.com/weaverryan/rest-apis-what-i-wish-someone-had-told-me
- 10 Best Practices for Better RESTful API
- GitHub developer API
- Best Practices for Designing a Pragmatic RESTful API
- A standard for building APIs in JSON.
- https://philsturgeon.uk/api/2017/01/24/graphql-vs-rest-overview/
- the lie : https://mmikowski.github.io/the_lie/
- framework : https://api-platform.com/
- https://medium.com/studioarmix/learn-restful-api-design-ideals-c5ec915a430f
- https://hackernoon.com/restful-api-designing-guidelines-the-best-practices-60e1d954e7c9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import <GPUImage/GPUImage.h> | |
| #import "GPUImageFourInputFilter.h" | |
| @interface GPUImageFiveInputFilter : GPUImageFourInputFilter | |
| { | |
| GPUImageFramebuffer *fifthInputFramebuffer; | |
| GLint filterFifthTextureCoordinateAttribute; | |
| GLint filterInputTextureUniform5; | |
| GPUImageRotationMode inputRotation5; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import <AVFoundation/AVFoundation.h> | |
| #import "GPUImageLayer.h" | |
| #import "GPUImageOutput.h" | |
| #import "GPUImageFilter.h" | |
| @interface GPUImageLayer() { | |
| GPUImageFramebuffer *inputFramebufferForDisplay; | |
| GLProgram *displayProgram; | |
| GLint displayPositionAttribute, displayTextureCoordinateAttribute; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/sh | |
| find . -name "*.xib" -type f | awk '{sub(/.xib/,"");print}' | xargs -I % ibtool --compile %.nib %.xib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var mediaJSON = { "categories" : [ { "name" : "Movies", | |
| "videos" : [ | |
| { "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
| "sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
| "subtitle" : "By Blender Foundation", | |
| "thumb" : "images/BigBuckBunny.jpg", | |
| "title" : "Big Buck Bunny" | |
| }, | |
| { "description" : "The first Blender Open Movie from 2006", | |
| "sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #=============================================================================== | |
| # Filename: boost.sh | |
| # Author: Pete Goodliffe | |
| # Copyright: (c) Copyright 2009 Pete Goodliffe | |
| # Licence: Please feel free to use this, with attribution | |
| # Modified version | |
| #=============================================================================== | |
| # | |
| # Builds a Boost framework for iOS, iOS Simulator, and OSX. | |
| # Creates a set of universal libraries that can be used on an iOS and in the |
by Keith Rosenberg (netpoetica)
Note: do this in some sort of project/ directory that makes sense. depot_tools are going to need to be in your path, so you may want to install them somewhere you are comfortable with.
git clone https://github.com/v8/v8.git
Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative
float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // App delegate | |
| #import <AVFoundation/AVFoundation.h>// place in .h | |
| // applicationDidFinishLaunchingWithOptions | |
| // [self prepareAudioSession]; | |
| - (BOOL)prepareAudioSession { | |
| // deactivate session |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // For responding to the user accepting a newly-captured picture or movie | |
| - (void) imagePickerController: (UIImagePickerController *) picker | |
| didFinishPickingMediaWithInfo: (NSDictionary *) info { | |
| NSString *mediaType = [info objectForKey: UIImagePickerControllerMediaType]; | |
| [self dismissModalViewControllerAnimated:NO]; | |
| // Handle a movie capture | |
| if (CFStringCompare ((__bridge_retained CFStringRef)mediaType, kUTTypeMovie, 0) |