This file contains hidden or 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
NAnt 0.91 (Build 0.91.3881.0; alpha2; 17/08/2010) | |
Copyright (C) 2001-2010 Gerry Shaw | |
http://nant.sourceforge.net | |
Buildfile: file:///O:/opencover/default.build | |
Target framework: Microsoft .NET Framework 4.0 | |
Target(s) specified: sonarqube-build | |
sonarqube-build: |
This file contains hidden or 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
-- I acknowledge that someone showed me this and I have stolen it :) | |
declare @tz varchar(100) = 'AUS Eastern Standard Time'; | |
--declare @tz varchar(100) = 'GMT Standard Time'; | |
select id, update_time_utc as [updatedTimeUtc], | |
CONVERT(datetime, SWITCHOFFSET([update_time_utc], DATEPART(TZOFFSET, [update_time_utc] AT TIME ZONE @tz))) as [updatedTimeLocal] | |
from [your_table] |
This file contains hidden or 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 AWS from 'aws-sdk'; | |
export const TABLE_NAME = 'table_name_here'; | |
export const documentClient = new AWS.DynamoDB.DocumentClient({ | |
region: process.env.TARGET_REGION, | |
}); | |
export const updateRecord = (attributes: any, key: any) => { | |
const map = new Map(Object.entries(attributes)); |
This file contains hidden or 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
version: '2' | |
services: | |
api: | |
volumes: | |
- "nfsmount:${CONTAINER_DIR}" | |
volumes: | |
nfsmount: | |
driver: local | |
driver_opts: |
OlderNewer