Skip to content

Instantly share code, notes, and snippets.

View simonexmachina's full-sized avatar

Simon Wade simonexmachina

  • Melbourne, Australia
View GitHub Profile
@simonexmachina
simonexmachina / mergepbx-setup.sh
Last active October 15, 2015 06:45
mergepbx setup
# you can run this using:
# curl -o- https://gist.githubusercontent.com/aexmachina/8608764bfb56c4e244b0/raw/e53953bfb97993059661daf623579763ccc95f03/mergepbx-setup.sh | bash
set -o errexit # exit on most errors
brew install mergepbx
git config --global merge.mergepbx.name "XCode project files merger"
git config --global merge.mergepbx.driver "mergepbx %O %A %B"
git config --global core.attributesfile ~/.gitattributes
echo '*.pbxproj merge=mergepbx' >> ~/.gitattributes

I have a number of work and non-work-related podcasts this week:

JavaScript Jabber - The Evolution of Flux Libraries with Andrew Clark and Dan Abramov

A good interview with the authors of two Flux implementations: Flummox and Redux. Both of whom suggest that Redux is the ultimate Flux implementation, disposing of unnecessary concepts and leveraging the idea of "reducers" from Elm

Ted Radio Hour - Simply Happy

@simonexmachina
simonexmachina / gist:3df8377ea2bc0ecfd583
Created January 8, 2016 01:28
match IO error on CircleCI
bundle exec match appstore --readonly
+----------------+--------------------------------------------+
| Summary for match 0.2.4 |
+----------------+--------------------------------------------+
| git_url | [email protected]:jtribe/bwf-certificates.git |
| type | appstore |
| app_identifier | org.bwfbadminton.ShuttleTime |
| username | [email protected] |
| keychain_name | login.keychain |

Client QA

jtribe will move cards into the Client QA column when a build has been deployed and is ready for you to test. You can subscribe to this list so that you're alerted when new cards are ready for QA.

When you're ready to perform the QA, make sure that you've got the latest build:

  • iOS: you will receive a TestFlight notification when the new build is ready, use this to update the app
  • Android: you will have received an email invitation to become an Alpha tester at the start of these
import java.util.Map;
public class Test {
public static void main (String[] args) {
Map<String, String> env = System.getenv();
String envName = "ANDROID_HOME";
System.out.format("%s=%s%n", envName, env.get(envName));
}
}

Mobile Giving Foundation

References

prod Environment

@simonexmachina
simonexmachina / controllers.application.js
Last active October 3, 2016 23:57
computed.sort length
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
rowsSorting: ['name:desc'],
rows: [{name: 'a'}, {name: 'b'}, {name: 'c'}, {name: 'd'}],
sortedRows: Ember.computed.sort('rows', 'rowsSorting'),
actions: {
addRow() {
let rows = this.get('rows')
diff --git a/client/shared/components/filterList/filterList.js b/client/shared/components/filterList/filterList.js
index a2c459d9..203332fe 100644
--- a/client/shared/components/filterList/filterList.js
+++ b/client/shared/components/filterList/filterList.js
@@ -79,9 +79,7 @@ const FilterList = ({ FilterItem, parsedLocation, param, className }) => {
const maxParamFormatValue = filterParamsConfig[param].format
? filterParamsConfig[param].format(maxParamValue)
: maxParamValue
- const priceDisplayName = `${minParamFormatValue} - ${
- maxParamFormatValue

Keybase proof

I hereby claim:

  • I am simonexmachina on github.
  • I am aexmachina (https://keybase.io/aexmachina) on keybase.
  • I have a public key whose fingerprint is C99E 8EA3 9A10 90C7 5D71 6D67 D63F 6167 31A6 C4BD

To claim this, I am signing this object:

export default {
pageTitle: "Hello! World",
metaDescription: "Batman",
topArticle: <div></div>
}