This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as pulumi from '@pulumi/pulumi'; | |
import * as aws from '@pulumi/aws'; | |
const functionName = 'createOrder'; | |
const compiledAppPath = '../src/backend/create-order-lambda/dist'; | |
const projectTag = { Project: 'some-project-name-1' }; | |
const lambdaRole = new aws.iam.Role(`${functionName}LambdaRole`, { | |
assumeRolePolicy: { | |
Version: '2012-10-17', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import { connect } from 'react-redux' | |
import Raven from 'raven-js'; | |
Raven.config(process.env.SENTRY_URL).install() | |
type Props = { | |
children: any, | |
user: any | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<img/> | |
<table class="table"> | |
<thead> | |
<tr> | |
<th>Campo</th> | |
<th>Nombre</th> | |
<th>Descripción</th> | |
<th style="width: 1%; text-align: right"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="tab-pane" id="productos"> | |
<buscar-producto | |
style="margin-bottom: 10px" | |
ref="buscarProducto" | |
v-show="!readOnly" | |
:categorias="categorias" | |
:solo-producto="true" | |
@productoSeleccionado="productoSeleccionado" | |
:handler="handler" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
module.exports = { | |
devtool: 'source-map', | |
resolve: { | |
extensions: ['.js', '.vue'], | |
modules: [ | |
path.resolve('./resources/assets/js'), | |
path.resolve('./node_modules') | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
init() { | |
this._super(); | |
this.set('model', 3); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
actions: { | |
ohai(val) { | |
console.log(`on ${this.constructor.toString()} recieved: ${val}`); | |
return true; | |
} | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'rhyek', | |
valueA: null, | |
optionsA: ['a', 'b', 'c'] | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @module app/authenticators/application */ | |
import Ember from 'ember'; | |
import OAuth2PasswordGrant from 'ember-simple-auth/authenticators/oauth2-password-grant'; | |
const { isEmpty, RSVP, run, assign } = Ember; | |
/** need ember-browserify */ | |
import UUID from 'npm:node-uuid'; | |
const refreshTokenTabKey = 'refresh-token-tab'; | |
const shouldInvalidateRefreshTokenTabKey = 'should-invalidate-refresh-token-tab'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Retention(RetentionPolicy.RUNTIME) | |
@Target(ElementType.FIELD) | |
public @interface IdentityColumn {} | |
public class MyRushObject extends RushObject { | |
@RushIgnore | |
public transient boolean _didRegisterObjectId = false; | |
@RushIgnore | |
private transient String _identityValue; |