tmux new [-s name] [cmd]
(:new
) - new session
tmux ls
(:ls
) - list sessionstmux switch [-t name]
(:switch
) - switches to an existing session
import "reflect-metadata"; | |
import { APIGatewayEvent, Context } from "aws-lambda"; | |
import { BaseEntity, Column, Connection, Entity, getConnectionManager, PrimaryColumn } from "typeorm"; | |
import v4 = require("uuid/v4"); | |
@Entity() | |
export class TData extends BaseEntity { | |
@PrimaryColumn() | |
public id: string; |
This cheat sheet provides a detailed overview of the exposed lifecycle events and available commands (and entrypoints) of the Serverless framework, that can be hooked by plugins (internal and external ones). The document is structured by the commands invoked by the user.
Lifecycle events are shown as the globally available outer events (all providers) and sub lifecycle events that are provider specific in the called order. Currently only the AWS provider is shown. If you have information about the other provider,
<?php | |
require_once __DIR__ .'vendor/autoload.php'; | |
$config = [ | |
// Mandatory Configuration Options | |
'domain_controllers' => [ 'a.b.c' ], | |
'base_dn' => 'ou=users,dc=b,dc=com', | |
'admin_username' => 'uid=someuser,ou=something', | |
'admin_password' => 'somepass', |
root@lax /var/www/lg-api # sqlite3 db/db.sqlite | |
SQLite version 3.7.13 2012-06-11 02:05:22 | |
Enter ".help" for instructions | |
Enter SQL statements terminated with a ";" | |
sqlite> UPDATE `api` SET `key` = 'NEW_KEY_64_CHARS_GOES_HERE'; | |
sqlite> .exit |