Why?
- Minimal PHP system needed to run CRUD symfony app
- Better understanding of PHP configurations
- Newer sqlite support, like window functions and JSON1 extension
Adapted from
| OpenSimplexNoise noise; | |
| int[][] result; | |
| float t, c; | |
| float ease(float p) { | |
| return 3*p*p - 2*p*p*p; | |
| } | |
| float ease(float p, float g) { |
| /*! | |
| Math.uuid.js (v1.4) | |
| http://www.broofa.com | |
| mailto:[email protected] | |
| Copyright (c) 2010 Robert Kieffer | |
| Dual licensed under the MIT and GPL licenses. | |
| */ | |
| /* |
| license: cc-by-4.0 |
| /* -------------------------------------------- | |
| * Detect device orientation | |
| * and trigger changes based on it | |
| --------------------------------------------*/ | |
| function updateOrientation() { | |
| // Detect whether device supports orientationchange event, otherwise fall back to the resize event | |
| // Genius solution from http://stackoverflow.com/a/2307936 | |
| var supportsOrientationChange = "onorientationchange" in window, | |
| orientationEvent = supportsOrientationChange ? "orientationchange" : "resize", | |
| newAngle, newOrientation; |
Why?
Adapted from
| <?php | |
| require dirname(__DIR__) . '/vendor/autoload.php'; | |
| use Phly\Conduit\Middleware; | |
| use Phly\Http\Server; | |
| $app = new Middleware(); | |
| $router = new \Aura\Router\Router( | |
| new \Aura\Router\RouteCollection(new \Aura\Router\RouteFactory), | |
| new \Aura\Router\Generator |
You might find the full PCB image helpful. Ignore the red boxes!
| In the next version of iPulse, I'd like to show GPU statistics. Unfortunately, the format | |
| for these statistics is vendor specfic (see the "Performance Statistics" dictionary below.) | |
| In order to cover as many devices as possible, I'd like you to run the following commands | |
| from your Terminal: | |
| $ sysctl hw.model | |
| $ ioreg -r -d 1 -w 0 -c "IOAccelerator" | |
| You can help me read the results by putting them in a code block (triple backticks). |