Skip to content

Instantly share code, notes, and snippets.

@andrewpye
andrewpye / components.inner-component.js
Created March 26, 2019 08:54
Inner component block vs. inline
import Ember from 'ember';
export default Ember.Component.extend({
});

Keybase proof

I hereby claim:

  • I am andrewpye on github.
  • I am andrew_pye (https://keybase.io/andrew_pye) on keybase.
  • I have a public key ASDMnAtjaNs7WZDQeaY57-4ZITZqUIdZvPSRdqnHobUF1go

To claim this, I am signing this object:

@andrewpye
andrewpye / smile-vwo.md
Created April 27, 2021 12:55
Smile.io <> VWO integration issues

Code setup

We have this as the body of our app: image

Notes:

  • ${script} is where the content of our React app gets rendered;
  • ${asyncTrackingScript} is the script snippet copied from VWO UI;
  • if we place ${asyncTrackingScript} in the expected place in the DOM (i.e. just before the </head> tag), our app goes into an infinite loop of closing and reopening the widget we render (possibly due to our app setup).

Our VWOTracker component looks like this:

@andrewpye
andrewpye / install_apps_on_sony_alpha_camera_from_mac.md
Created August 6, 2022 13:24
Lessons learned/problems solved installing TimeLapse app on Sony a7Rii

Installing Jonas Juffinger's TimeLapse app on Sony a7Rii from an M1 MacBook (August 2022)

Introduction

I had previously installed jonasjuffinger's TimeLapse app on a Sony a7Rii via ma1co's Sony-PMCA-RE GUI some years ago. When I went to install it on a second a7Rii in August 2022, I found that the GUI no longer worked. This document outlines the steps needed to be able to install the app on the second camera.

Tips/TL;DR

  • use the console version of Sony-PMCA-RE on MacBook;
  • make Sony-PMCA-RE executable writeable;
  • run Sony-PMCA-RE via sudo;