You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This gist provides practical examples of SQL window functions to enhance your data analysis skills. Through these examples, you'll learn how to use various window functions to perform complex calculations like ranking, running totals, moving averages, and more.
1. Assign Row Numbers
SELECT id, salesperson, amount,
ROW_NUMBER() OVER(ORDER BY amount DESC) AS row_num
FROM sales;
title: Infinite Virtual Scroll with the Angular CDK
lastmod: 2018-10-21T18:16:07-07:00
publishdate: 2018-10-21T18:16:07-07:00
author: Jeff Delaney
draft: false
description: Build an Infinite Virtual Scroll with the Angular CDK
tags:
- angular
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
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
Reference: Forward port to LXC guest using UFW, answer by Steve Zahn. March 17, 2014.
The lxd service can be used to manage lxc system containers on Linux hosts, very much like Docker does for application containers. One Docker feature that LXD lacks is a native parameter for routing container ports so they can be accessed on the network beyond the lxd host.
Routing using the iptables command
On an lxd host protected by the standard iptables kernel firewall, the following command will route external traffic to a specific port of a specific container: