Skip to content

Commit 007e203

Browse files
committed
updates to localhost tunnels and powershell pages
1 parent b724672 commit 007e203

File tree

3 files changed

+29
-5
lines changed

3 files changed

+29
-5
lines changed

content/pages/02-development-environments/10-powershell.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ of a Python programmer's
2020

2121
### PowerShell resources
2222
* [A Python Developer's Guide to Powershell](https://akr.am/blog/posts/a-python-developers-guide-to-powershell)
23+
explains the PowerShell scripting language then shows how to combine a
24+
Python script and a PowerShell script to automate web scrapining downloads.
2325

2426
* [ChatOps with PowerShell](https://www.youtube.com/watch?v=XIMOFnfdOx0)
2527

28+
* [PowerShell in Azure Functions](http://www.brianbunke.com/blog/2018/02/27/powershell-in-azure-functions/)
29+
2630
* [Getting Started with Windows PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/getting-started/getting-started-with-windows-powershell)

content/pages/02-development-environments/18-environment-variables.markdown

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,10 @@ by Python applications to affect a program's execution.
1818
* [Why you shouldn't use ENV variables for secret data](https://diogomonica.com/2017/03/27/why-you-shouldnt-use-env-variables-for-secret-data/)
1919

2020
* [Environment variables in Windows](https://www.digitalcitizen.life/simple-questions-what-are-environment-variables)
21+
22+
* One answer I found very useful when learning about getting environment
23+
variables in Python code is
24+
[knowing the difference between os.getenv and os.environ.get](https://stackoverflow.com/questions/16924471/difference-between-os-getenv-and-os-environ-get).
25+
Either one can be used in your applications but there are slight
26+
differences that can make one better than the other in various
27+
situations.

content/pages/02-development-environments/19-localhost-tunnels.markdown

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,26 @@ meta: Localhost tunnels allow anyone with a tunneling URL to connect to a server
88

99

1010
# Localhost tunnels
11-
Localhost tunnels allow anyone with a tunneling URL to connect
12-
to a server running on your local development system.
11+
A localhost tunnel establishes a connection between your local machine
12+
and a remote connection. The connection is intended to proxy traffic
13+
from a publicly-addressable IP address and URL to your local machine.
14+
Localhost tunnels are most useful for allowing a tester to connect
15+
to a server running on your local development system so they can try
16+
out an in-development application you are building but have not yet
17+
[deployed](/deployment.html).
1318

1419

1520
### Localhost tunnel services
16-
* [ngrok](https://ngrok.com/)
21+
There are numerous localhost tunnel services that have similar features.
22+
The following services are listed in order from ones I have had the most
23+
experience with to the ones I have not used.
1724

18-
* [Localtunnel](https://localtunnel.github.io/www/)
25+
* [ngrok](https://ngrok.com/) is the service I use most often. It is
26+
easy and worth the small fee to upgrade your account with a few
27+
extra features such as fixed, customizable subdomains.
1928

20-
* [Burrow](https://burrow.io/)
29+
* [Localtunnel](https://localtunnel.github.io/www/) is a localhost
30+
tunnel written in Node.js.
31+
32+
* [Burrow](https://burrow.io/) provides another service, albeit one
33+
that I have not used myself.

0 commit comments

Comments
 (0)