This document now exists on the official ASP.NET core docs page.
- Application
- Request Handling
This document now exists on the official ASP.NET core docs page.
############################################################################################################ | |
################## ############################# | |
################## ############################# | |
This Gist collection contains all localstack related examples | |
################## ############################# | |
################## ############################# | |
############################################################################################################ |
Microsoft.Extensions.Configuration.Json
Microsoft.Extensions.DependencyInjection
Microsoft.Extensions.Options.ConfigurationExtensions
Disclaimer: this step-by-step GIST has been created with no guarantees, I may have missed some steps because of distraction or chiptune improvised on-chair-dancing, so be patient and let me know if I must add or fix something.
This is the way for living long and prospering!
Download and install Raspberry Imager: https://www.raspberrypi.org/software/
Description | Command | |
---|---|---|
List pods with nodes info | kubectl get pod -o wide | |
List everything | kubectl get all --all-namespaces | |
Get all services | kubectl get service --all-namespaces | |
Show nodes with labels | kubectl get nodes --show-labels | |
Validate yaml file with dry run | kubectl create --dry-run --validate -f pod-dummy.yaml | |
kubectl run shell command | kubectl exec -it mytest -- ls -l /etc/hosts | |
Explain resource | kubectl explain pods | kubectl explain svc | |
Get pods | kubectl get pods | |
Check pod environment variables | kubectl exec wso2apim-pod env |
Example on how to run locally an AWS Lambda via API Gateway using localstack.
Based on...
##above is your settings## | |
[Custom Colors] | |
01=#000000 | |
02=#0A246A | |
03=#3A6EA5 | |
04=#52A5F8 | |
05=#0D8206 | |
06=#608020 | |
07=#648000 | |
08=#A46000 |
Picking the right architecture = Picking the right battles + Managing trade-offs
# http://thp.io/2007/09/x11-idle-time-and-focused-window-in.html | |
# http://www.freedesktop.org/software/ConsoleKit/doc/ConsoleKit.html#Session:idle-hint | |
import Xlib.display | |
display = Xlib.display.Display() | |
focus = display.get_input_focus() | |
print "WM Class: %s" % ( focus.focus.get_wm_class(), ) | |
print "WM Name: %s" % ( focus.focus.get_wm_name(), ) |