MTU - monthly tracked user (each user is only counted once per month)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const path = require('path'); | |
const dir = './src'; | |
const rootDir = 'web'; | |
const targetPath = 'src/shared'; | |
const replaceDir = path.join('@jarden-digital/megablue-apps-shared'); | |
function walk(dir, callback) { | |
fs.readdir(dir, function (err, files) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cursor movement | |
h - move left | |
j - move down | |
k - move up | |
l - move right | |
w - jump by start of words (punctuation considered words) | |
W - jump by words (spaces separate words) | |
e - jump to end of words (punctuation considered words) | |
E - jump to end of words (no punctuation) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
// good opportunity to combine into a single statement | |
// qq w cw <esc> A, <esc> 0 j q | |
var a = 10; | |
var b = 20; | |
var c = 30; | |
var d = 40; | |
var e = 50; | |
// opportunity to simplify syntax |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Client configs, 16.04, | |
script-security 2 | |
up /etc/openvpn/update-resolv-conf | |
down /etc/openvpn/update-resolv-conf | |
# network manager, 16.04, install below package to enable import openvpn client configs | |
sudo apt install network-manager-openvpn-gnome | |
# Client configs, 18.04/18.10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/chrome-remote-desktop.orig b/chrome-remote-desktop | |
index a40063b..de1b3b0 100755 | |
--- a/chrome-remote-desktop.orig | |
+++ b/chrome-remote-desktop | |
@@ -66,11 +66,11 @@ XORG_DUMMY_VIDEO_RAM = 1048576 # KiB | |
# with large or multiple monitors. This is a comma-separated list of | |
# resolutions that will be made available if the X server supports RANDR. These | |
# defaults can be overridden in ~/.profile. | |
-DEFAULT_SIZES = "1600x1200,3840x2560" | |
+DEFAULT_SIZES = "1920x1080" |
- HTML is downloaded and parsing starts
- Each element is parsed, styles registered, script executed (inline or external)
- When entire DOM is parsed, document.DOMContentLoaded event fires, in JQuery this is the $(document).ready(), shorthand "($function() {})"
- When DOM and assets (including parsing of all CSS and JS) is complete, window.load event fires
- Loading of JS blocks DOM parsing
NewerOlder