Reference: https://spark.apache.org/docs/latest/
- Install Java 8+, then add to
PATH
andJAVA_HOME
Reference: https://spark.apache.org/docs/latest/
PATH
and JAVA_HOME
// Async should be first priority over callbacks and promises | |
// | |
// High level idea: | |
// - Avoid .then .catch in promise | |
// - Syntatic sugar to make async programming similar to sequential code | |
const axios = require('axios'); | |
DEFAULT_URL = "https://jsonplaceholder.typicode.com" | |
async function getUser(id) { | |
let resp = await axios.get(`${DEFAULT_URL}/users/${id}`) |
#!/bin/bash | |
# Enable fractional scaling on Ubuntu 18.04 | |
# | |
# Problem: | |
# -------- | |
# - Ubuntu 18.04 runs on Gnome 3.28, whichs does not support fractional scaling (120%, 130%). | |
# - As a result, the text and icon on my 4K 27" monitor are very small. | |
# | |
# Usage: | |
# ------- |
bqkrtxgkmriwsiwcngtivpx.info | |
jdtmfupdyueqeldvhsjzdvzob.net | |
guhmpoxzivhba.com | |
nqqxqhuacaqhzurde.org | |
lgqsqgpqzijwid.info | |
ykolyecdcyk.biz | |
ztvflnxqzpxvpfobv.biz | |
zqrmkpivrbxccawozqwqpfzh.org | |
iqyqwhntrxfeq.org | |
ftadkbomxlnsib.info |
tail -n +11 /etc/passwd| sort -t$':' -k3 -n | awk -F":" \
'
BEGIN {
printf "GID | Name | User_dir | Bash_Access | Description \n"
printf "--- | ----------- | ----------------- | ------------------ | -----------------\n"
}
{
printf "%s | %s | %s | %s | %s\n",$3, $1, $6, $7, $5
I have a fast producer (client) and slow subscriber (server) due to slow Internet connection. How to decouple the connection such that server won't affect client performance?
In order to avoid drag down client IO, e.g. waiting for ACK from server, there are a few solutions:
""" | |
Mortgage Calculator for fun | |
https://en.wikipedia.org/wiki/Mortgage_calculator | |
What I want to know: | |
---- What's interest that I have to pay at payment N ? | |
---- What's principal that I have to pay at payment N ? |