Got this error when running ionic emulate: 2015-03-16 11:13:24.112 ios-sim[50548:9106309] stderrPath: /Users/bramus/Projects/ionic/todos/platforms/ios/cordova/console.log 2015-03-16 11:13:24.113 ios-sim[50548:9106309] stdoutPath: /Users/bramus/Projects/ionic/todos/platforms/ios/cordova/console.log 2015-03-16 11:13:24.140 ios-sim[50548:9106309] -[__NSArrayM localizedDescription]: unrecognized selector sent to instance 0x7fec20d08400 2015-03-16 11:13:24.140 ios-sim[50548:9106309] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[__NSArrayM localizedDescription]: unrecognized selector sent to instance 0x7fec20d08400’ *** First throw call stack: ( 0 …
Category Archives: Original Content
Young Fathers – Dead
Yesterday I went to see alt-J together with @joggink at Vorst Nationaal. Whilst chatting up before and after the – truth be told – not that great concert (singing off key from the start, ORLY?) one of the topics, of course, was music. During that talk I mentioned one of the, to me, musical revelations …
ANSI Control Functions and ANSI Control Sequences (Colors, Erasing, etc.) for PHP CLI Apps
As a side project for Monolog Colored Line Formatter (which int itself also is a side project for Mixed Content Scan) I just published is ANSI PHP. bramus/ansi-php is a set of classes to working with ANSI Control Functions and ANSI Control Sequences (ANSI Escape Sequences) on text based terminals. ANSI Control Functions control an …
Monolog Colored Line Formatter
Over a year ago I quickly whipped up a Colored Line Formatter for use with Monolog. As I’m building colorised output into Mixed Content Scan I – finally – took the time to actually put the darn thing out in the open. bramus/monolog-colored-line-formatter is a formatter for use with Monolog. It augments the Monolog LineFormatter …
Mavericks Multiple Screens vs Jumping Dock
When working with Dual/Multiple Screens in OS X Mavericks and having “Displays have separate spaces” switched on, I noticed that the dock would unpredictably switch monitors from time to time. Fed up with this I spent a Google Search Coupon on the issue and guess what: it’s not a bug, it’s a(n undocumented) feature. To …
Continue reading “Mavericks Multiple Screens vs Jumping Dock”
PHP 7: Immediately Invoked Function Expressions
PHP7 will continue to borrow some of the beloved JavaScript features and will support Immediately Invoked Function Expressions (IIFEs): <?php echo (function() { return 42; })(); Output for php7@20140901 – 20141101: 42 Since we can already return functions from inside other functions, Currying Partial Application is also possible in combination with the IIFE implementation: <?php …
Continue reading “PHP 7: Immediately Invoked Function Expressions”
Mixed Content Scan: Scan your HTTPS-enabled website for Mixed Content
With my recent move to HTTPS I wasn’t sure if there were any pages left on my site that had Mixed Content or not. If an HTTPS page includes content retrieved through regular, cleartext HTTP, then the connection is only partially encrypted. […] When a webpage exhibits this behavior, it is called a mixed content …
Continue reading “Mixed Content Scan: Scan your HTTPS-enabled website for Mixed Content”
Migrating your WordPress website from HTTP to HTTPS
In light of #https2015 I flipped the switch on bram.us earlier today: from today forth bram.us is only accessible over HTTPS. If you run a news site, or any site at all, we’d like to issue a friendly challenge to you. Make a commitment to have your site fully on HTTPS by the end of …
Continue reading “Migrating your WordPress website from HTTP to HTTPS”
PHP 5.6: “Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version.”
Since PHP 5.6, the use of $HTTP_RAW_POST_DATA is deprecated. Now, I’m not using this so I’m in the clear, or at least I thought I was … The default value for always_populate_raw_post_data in PHP 5.6 is doing more harm than good. Perfectly good code will spit out that error whenever it receives a request that …
In love with Ionic Framework
UPDATE: Want to get a solid introduction to Ionic? I recommend reading Learning Ionic, a book I tech reviewed. Ionic offers a library of mobile-optimized HTML, CSS and JS components for building highly interactive apps. Built with Sass and optimized for AngularJS. Whilst Sass is just an extra (you don’t really need it), the true …