LENOVO IdeaPad 5 Pro 14ACN6 82L7
~$ cat /etc/tlp.conf | grep STOP_CHARGE_THRESH_BAT0
STOP_CHARGE_THRESH_BAT0="1"
INFURA_URL=<your_url> | |
ETHERSCAN_API_KEY=<your_api_key> |
Nginx can be configured to route to a backend, based on the server's domain name, which is included in the SSL/TLS handshake (Server Name Indication, SNI).
This works for http upstream servers, but also for other protocols, that can be secured with TLS.
nginx -V
for the following:
...
TLS SNI support enabled
const key = (x, y) => { | |
return x + ',' + y | |
} | |
const unkey = k => { | |
return k.split(',').map(s => parseInt(s)) | |
} | |
/* Given an x, y coordinate and a hashmap "x,y" => boolean values that indicate whether or not the tile at that | |
coordinate is blocked, this function will calculate the bitmask sum of the given coordinate. */ | |
function computeBitmask(x, y, blockedCells) { |
//author @TraderX0 | |
//script to plot daily Open high and low | |
//version 1.1 | |
//last edited 22/11/2018 | |
//title | |
study(title="TraderX0__O_H_L", shorttitle="TraderX0_O_H_L", overlay=true) | |
// holds the daily price levels | |
openPrice = security(tickerid, 'D', open) |
This example is part of this article.
This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features:
video #22: Props
in Vue.js, data gets passed down as a prop from one component to another.
video #23: Primitive vs Reference Types
primitive types are STRINGS, BOOLEANS, and NUMBERS reference types are OBJECTS and ARRAYS
const Web3 = require('web3') | |
const Tx = require('ethereumjs-tx').Transaction | |
// connect to Infura node | |
const web3 = new Web3(new Web3.providers.HttpProvider('https://mainnet.infura.io/INFURA_KEY')) | |
// the address that will send the test transaction | |
const addressFrom = '0x1889EF49cDBaad420EB4D6f04066CA4093088Bbd' | |
const privateKey = new Buffer('PRIVATE_KEY', 'hex') |
DROP FUNCTION IF EXISTS fn_remove_accents; | |
DELIMITER | | |
CREATE FUNCTION fn_remove_accents( textvalue VARCHAR(10000) ) RETURNS VARCHAR(10000) | |
BEGIN | |
SET @textvalue = textvalue COLLATE utf8_general_ci;; | |
-- ACCENTS | |
SET @withaccents = 'ŠšŽžÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÑÒÓÔÕÖØÙÚÛÜÝŸÞàáâãäåæçèéêëìíîïñòóôõöøùúûüýÿþƒ'; |