Jeremy wrote a nice article on Pattern Sharing, sparked by the Code for America Style Guide. A first look at the style guide might tell you it’s just a pattern primer, yet the menu reveals that the style guide also holds a few templates to use. In order to see the code used for the …
Tag Archives: link
React-PHP-V8Js
// the library $react_source = file_get_contents(‘/path/to/build/react.js’); // all custom code concatenated $app_source = file_get_contents(‘/path/to/custom/components.js’); $rjs = new ReactJS($react_source, $app_source); $rjs->setComponent(‘MyComponent’, array( ‘any’: 1, ‘props’: 2)); /// … // print rendered markup echo ‘<div id="here">’ . $rjs->getMarkup() . ‘</div>’; React-PHP-V8Js is an experimental library that uses the power of Facebook’s React library to render UI components …
Panda.js HTML5 game engine
Panda.js looks like a neat JS Game Engine featuring a Canvas/WebGL Renderer, Physics engine, Particle engine, Tweening, Sound Manager, etc. It also plays nice with mobile/touch interfaces. Example game is this neat Flappybird clone, Flying Dog. Panda.js HTML5 game engine → Flying Dog Source (GitHub) → Related: Be sure to check out Vladibird, an altered …
Supercharging your Gruntfile
In this article, we won’t focus on what numerous Grunt plugins do to your actual project code, but on the Grunt build process itself. We will give you practical ideas on: How to keep your Gruntfile neat and tidy, How to dramatically improve your build time, And how to be notified when a build happens. …
Damn Vulnerable iOS Application
Damn Vulnerable iOS App (DVIA) is an iOS application that is damn vulnerable. Its main goal is to provide a platform to mobile security enthusiasts/professionals or students to test their iOS penetration testing skills in a legal environment. This application covers all the common vulnerabilities found in iOS applications (following OWASP top 10 mobile risks) …
The Letter-Heads
Bolts Framework: Tasks
[[object saveAsync:obj] continueWithBlock:^id(BFTask *task) { if (task.isCancelled) { // the save was cancelled. } else if (task.error) { // the save failed. } else { // the object was saved successfully. SaveResult *saveResult = task.result; } return nil; }]; Bolts is a collection of low-level libraries designed to make developing mobile apps easier. The first …
The Frequency of Humanity
Every day on Earth, an estimated 371,124 people are born and 154,995 people die. When you ask Wolfram Alpha about these rates, the scientifically inclined site returns a curious corresponding quantity: the frequency in hertz. If you subtract the death rate from the birth rate, you get a net rate of 216,129 new people a …
The Psychology of Waiting, Loading Animations, and Facebook
Using the DevTools to get first in line to buy Tomorrowland tickets
All Friday night we were busy monitoring the different API-calls from the ticketpage to Paylogic. We found out that the ticket page refreshed every 2 minutes with a delay of 6 seconds to send back the answer. The trick was to refresh the ticket page in your browser at exactly 10h. 57m. 54sec., whereafter the …
Continue reading “Using the DevTools to get first in line to buy Tomorrowland tickets”