• 5ffd57393a85553ab55b
• 5cd28e2a812e5c65c9f7320e0726da18
• b6a6676a84b51c8200d0673a5b4a87c5
The quotes on this page come from this deleted question on Stackoverflow:
The quotes on this page come from this deleted question on Stackoverflow:
// Here is a simple class that contains loading methods. | |
// Nothing fancy, but the idea is simply to return a Promise | |
import { loadImg } from './load'; | |
class Sprite { | |
/* | |
@Example | |
import Sprite from './Sprite'; |
val textPaint = Paint().asFrameworkPaint().apply { | |
isAntiAlias = true | |
textSize = 24.sp.toPx() | |
color = android.graphics.Color.BLUE | |
typeface = Typeface.create(Typeface.MONOSPACE, Typeface.BOLD) | |
} | |
Canvas( | |
modifier = modifier.fillMaxSize(), | |
onDraw = { | |
drawIntoCanvas { |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
Picking the right architecture = Picking the right battles + Managing trade-offs
import { BatchExecuteStatementCommand, BatchExecuteStatementCommandInput, BatchGetCommand, BatchGetCommandInput, DeleteCommand, DeleteCommandInput, ExecuteStatementCommand, ExecuteStatementCommandInput, ExecuteTransactionCommand, ExecuteTransactionCommandInput, GetCommand, GetCommandInput, PutCommand, PutCommandInput, QueryCommand, QueryCommandInput, ScanCommand, ScanCommandInput, UpdateCommand, UpdateCommandInput } from "@aws-sdk/lib-dynamodb"; | |
import { Logger } from "@nestjs/common"; | |
import { DbClientsInstance } from "./db.clients"; | |
class DbDataOps { | |
private static instance: DbDataOps; | |
private constructor() { | |
console.log('DbDataOps init'); | |
if(DbDataOps.instance) { |
trigger: | |
branches: | |
include: | |
- master | |
- develop | |
- refs/tags/* | |
pool: | |
vmImage: 'ubuntu-18.04' |
Após instalar o MariaDB você consiga entrar no banco de dados sem senha ou mesmo digitando qualquer senha ele entra, faça os passos a seguir para resolver esse problema. | |
1 - Conectar no banco: | |
sudo mysql -u root | |
2 - Consultar usuário cadastrados na tabela user | |
SELECT user, host FROM mysql.user; | |
+------------------+-----------+ | |
| User | Host | |