- Go to https://www.chess.com/analysis
- Paste the position under
Load FEN
- At the bottom right, click on
Finish vs. Computer
- Note: computer level is automatically maxed out
- Orbs /
commands
/ jobs allow for DRY in the same YAML file- The new and better job workflow dependency graph is great!
- I have never tried YAML anchors with GitHub Actions, but they help out in CircleCI
- "Retry from failed" was a really nice addition as well
- Contexts are amazing!
- AWS re:Invent 2018: [REPEAT 2] Optimizing Your Serverless Applications (SRV401-R2)
- Default to 1024 MB Lambda functions for cost and runtime optimization
- Lambda functions with over 1.8 GB is multi core
- Using AWS Lambda with Other Services
- Example events from other services
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
SELECT | |
'mysql' dbms, | |
t.TABLE_SCHEMA, | |
t.TABLE_NAME, | |
c.COLUMN_NAME, | |
c.ORDINAL_POSITION, | |
c.DATA_TYPE, | |
c.CHARACTER_MAXIMUM_LENGTH, | |
-- Add this | |
c.IS_NULLABLE, |
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
'use strict'; | |
const assert = require('chai').assert; | |
const nock = require('nock'); | |
const request = require('supertest'); | |
const uniqueValue = 'da64daaf-182b-4af6-a4af-09727bf8d5aa'; | |
const app = require('../../src/server'); | |
describe('server', function() { | |
afterEach(function() { |
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
return Promise.all( | |
Array(5).fill(0).map(i => | |
request(app) | |
.get('/') | |
.then(res => assert.equal(res.text, uniqueValue)); | |
) | |
); |
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
'use strict'; | |
const assert = require('chai').assert; | |
const nock = require('nock'); | |
const request = require('supertest'); | |
const uniqueValue = 'da64daaf-182b-4af6-a4af-09727bf8d5aa'; | |
const app = require('../../src/server'); | |
describe('server', function() { | |
it('GET / once', function() { |
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
'use strict'; | |
const request = require('superagent'); | |
const express = require('express'); | |
const app = express(); | |
app.get('/', function(req, res) { | |
request | |
.get('https://www.example.com') | |
.then(response => res.send(response.text)) |
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
'use strict'; | |
const assert = require('chai').assert; | |
const nock = require('nock'); | |
const request = require('supertest'); | |
const uniqueValue = 'da64daaf-182b-4af6-a4af-09727bf8d5aa'; | |
const app = require('../../src/server'); | |
describe('server', function() { | |
it('GET / once', function() { |
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
'use strict'; | |
const assert = require('chai').assert; | |
const nock = require('nock'); | |
const request = require('supertest'); | |
const uniqueValue = 'da64daaf-182b-4af6-a4af-09727bf8d5aa'; | |
const app = require('../../src/server'); | |
describe('server', function() { | |
it('GET / once', function() { |
NewerOlder