Source: https://support.google.com/accounts/answer/185833
sudo vim /etc/postfix/main.cf
Source: https://support.google.com/accounts/answer/185833
sudo vim /etc/postfix/main.cf
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft
, elem.offsetTop
, elem.offsetWidth
, elem.offsetHeight
, elem.offsetParent
I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).
Use ssh keys and define host aliases in ssh config file (each alias for an account).
A couple of weeks ago I played (and finished) A Plague Tale, a game by Asobo Studio. I was really captivated by the game, not only by the beautiful graphics but also by the story and the locations in the game. I decided to investigate a bit about the game tech and I was surprised to see it was developed with a custom engine by a relatively small studio. I know there are some companies using custom engines but it's very difficult to find a detailed market study with that kind of information curated and updated. So this article.
Nowadays lots of companies choose engines like Unreal or Unity for their games (or that's what lot of people think) because d
const components = [ | |
{ | |
name: 'Button', | |
styles: { | |
color: 'white', | |
backgroundColor: 'black', | |
borderRadius: '20px' | |
} | |
}, | |
{ |
// Use this: https://contrast-ratio.com/ | |
/** | |
* Gets relative luminance from 8-bit RGB color | |
*/ | |
function getRelativeLuminance(r8bit, g8bit, b8bit) { | |
const rsRGB = r8bit / 255; | |
const gsRGB = g8bit / 255; | |
const bsRGB = b8bit / 255; |
#!/bin/bash | |
url="$1" | |
# Check if received parameter | |
if [ -z "$url" ] | |
then | |
echo "URL to apply .diff must be supplied" | |
exit | |
fi | |
echo "Applying ${url}..." |
#!/usr/bin/env python3 | |
# | |
# MIT License | |
# | |
# Copyright (c) 2020 Victor Gama de Oliveira <[email protected]> | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
{ | |
"odata.metadata":"http://ott.online.meo.pt/Catalog/v7/$metadata#Channels", | |
"odata.count":"152", | |
"value":[ | |
{ | |
"Id":98910, | |
"Title":"11", | |
"IsAdult":false, | |
"InPromotion":false, | |
"PromotionDescription":null, |
{ | |
"config":{ | |
"url":"http://localhost:3000/api/v1.0/bff-plataforma/clientes", | |
"method":"post", | |
"data":"{\"nome\":\"lucas\",\"email\":\"[email protected]\",\"telefone\":\"(24) 99868-4321\",\"renda\":\"8.391.823,12\"}", | |
"headers":{ | |
"Accept":"application/json, text/plain, */*", | |
"Content-Type":"application/json;charset=utf-8" | |
}, | |
"baseURL":"http://localhost:3000/api", |