Skip to content

Instantly share code, notes, and snippets.

@braco
braco / gutenberg-module.js
Last active June 30, 2019 20:01
Repeating components in Wordpress Gutenberg
```
edit: repeater({
editing: true,
renderComponent: ({ attributes: { name }, setAttributes }) =>
<MyComponent
name={
<PlainText
value={ name }
placeholder={'Name'}
onChange={ value => setAttributes( { name: value } ) }
@KeithP
KeithP / .ebextensions\01-increase-timeout.config
Created October 23, 2014 20:38
Increase Elastic beanstalk timeout to 30 minutes
option_settings:
- namespace: aws:elasticbeanstalk:command
option_name: Timeout
value: 1800
@patrickhammond
patrickhammond / android_instructions.md
Last active March 29, 2024 20:14
Easily setup an Android development environment on a Mac

Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.

Prerequisites (for Homebrew at a minimum, lots of other tools need these too):

  • XCode is installed (via the App Store)
  • XCode command line tools are installed (xcode-select --install will prompt up a dialog)
  • Java

Install Homebrew:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"