The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
| CREATE TABLE IF NOT EXISTS `country` ( | |
| `id` int(11) NOT NULL AUTO_INCREMENT, | |
| `iso` char(2) NOT NULL, | |
| `name` varchar(80) NOT NULL, | |
| `nicename` varchar(80) NOT NULL, | |
| `iso3` char(3) DEFAULT NULL, | |
| `numcode` smallint(6) DEFAULT NULL, | |
| `phonecode` int(5) NOT NULL, | |
| PRIMARY KEY (`id`) | |
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
| //License CC0 1.0: https://creativecommons.org/publicdomain/zero/1.0/ | |
| class Deferred extends React.Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = { | |
| value: '' | |
| }; | |
| } | |
| componentDidMount() { |
1 - Download the RDS certificates (root plus region-specific intermediate ones) bundle:
wget -O config/rds-combined-ca-bundle.pem https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem2 - Add config/rds-combined-ca-bundle.pem to the repository and redeploy to Heroku.
3 - Update the DATABASE_URL env var:
| require 'active_record/connection_adapters/abstract/schema_definitions' | |
| class ActiveRecord::ConnectionAdapters::TableDefinition | |
| def publishing(*args) | |
| options = args.extract_options! | |
| column(:publish_up, :datetime, options) | |
| column(:publish_down, :datetime, options) | |
| end | |
| end |
| module SpecSupport | |
| module GraphHelper | |
| def execute_mutation(current_user: nil, context: {}, **inputs) | |
| context = Graph::Context.new( | |
| query: OpenStruct.new(schema: YourSchema), | |
| values: context.merge(current_user: current_user), | |
| object: nil, | |
| ) | |
| described_class.new(object: nil, context: context, field: nil).resolve(inputs) | |
| end |
This list is based on aliases_spec.rb.
You can see also Module: RSpec::Matchers API.
| matcher | aliased to | description |
|---|---|---|
| a_truthy_value | be_truthy | a truthy value |
| a_falsey_value | be_falsey | a falsey value |
| be_falsy | be_falsey | be falsy |
| a_falsy_value | be_falsey | a falsy value |
This list is based on aliases_spec.rb.
You can see also Module: RSpec::Matchers API.
| matcher | aliased to | description |
|---|---|---|
| a_truthy_value | be_truthy | a truthy value |
| a_falsey_value | be_falsey | a falsey value |
| be_falsy | be_falsey | be falsy |
| a_falsy_value | be_falsey | a falsy value |
| acm.amazonaws.com | |
| alexa-appkit.amazon.com | |
| apigateway.amazonaws.com | |
| application-autoscaling.amazonaws.com | |
| appstream.application-autoscaling.amazonaws.com | |
| appsync.amazonaws.com | |
| athena.amazonaws.com | |
| autoscaling.amazonaws.com | |
| batch.amazonaws.com | |
| channels.lex.amazonaws.com |
| import { Country, Photon } from '@prisma/photon'; | |
| import { findManyCursor } from './findManyCursor'; | |
| const photon = new Photon(); | |
| let data: Country[]; | |
| const createCountry = async (id: string) => photon.countries.create({ | |
| data: { | |
| id, |