- MongoDB image running in ECS on EC2 t2.small
- Task has a volume added that is "shared" and should thus survive the recreation its container
- tasks container has the volume mounted on /data
- Insert a document
- (force) redeploy the task
const adminApp = admin.initializeApp(); | |
@Global() | |
@Module({ | |
providers: [ | |
{ | |
provide: Functions, | |
useFactory: () => { | |
if (process.env.FUNCTIONS_EMULATOR) { | |
// since functions emulator does not know queues or the port is blocked because of this very request |
export class FirebaseTransactionAdapter implements TransactionProviderPort { | |
private readonly logger = new Logger(FirebaseTransactionAdapter.name); | |
constructor( | |
@Inject(Firestore.prototype.runTransaction) | |
private readonly runTransaction: TransactionRunner, | |
) { | |
} | |
async executeTransaction( |
@Get() | |
async get( | |
@Req() req: Request, | |
@Query() orderQueryParams?: OrderQueryParam<IItemResponse> | |
): Promise<{ items: IItemResponse[] }> { | |
// your code here... | |
} |
Tell the others 3 facts about yourself whereas one is a lie. Let the others guess what was the lie.
Prepare 5 True/False questions on big sheats of paper. Expose one question at a time standing behind the "newbie" and let them guess what the question is. e.g.: I am developper. I like beer. I do a lot of sports. I am working here for more than 5 years, ...
Prepare a number of tasks for everyone participating in the meeting. Shuffle them and let everyone pick one of the tasks. While introducing themselfs they have to fulfill the task. You get a point for
Datastudio only provides ordering in 2 Dimensions. This is a problem when you want to order semantic versions of an application.
(major_version * 1000000) + (minor_version * 1000) + patch_version
; Needs to be run in AutoHotkey 1.1+ for better Unicode-Support | |
^!r::Send, {ALTDOWN}{Numpad0}{Numpad1}{Numpad7}{Numpad4}{ALTUP} | |
^!c::Send, {ALTDOWN}{Numpad0}{Numpad1}{Numpad6}{Numpad9}{ALTUP} | |
^!t::Send, {ALTDOWN}{Numpad0}{Numpad1}{Numpad5}{Numpad3}{ALTUP} | |
^!v::SendInput ✓ | |
^NumpadSub::SendInput — |
#IfWinActive, ahk_class CabinetWClass | |
^!n:: | |
KeyWait Alt | |
Send {AppsKey} | |
Send n | |
Send t | |
return | |
#IfWinActive |