Let's look at some basic kubectl output options.
Our intention is to list nodes (with their AWS InstanceId) and Pods (sorted by node).
We can start with:
kubectl get no
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
diff --git a/ngx_http_unzip_module.c b/ngx_http_unzip_module.c | |
index 771e1dc..00ea0f1 100644 | |
--- a/nginx-unzip-module/ngx_http_unzip_module.c | |
+++ b/nginx-unzip-module/ngx_http_unzip_module.c | |
@@ -224,7 +224,7 @@ static ngx_int_t ngx_http_unzip_handler(ngx_http_request_t *r) | |
zip_stat_init(&zip_st); | |
/* let's check what's the size of a file. return 404 if we can't stat file inside archive */ | |
- if (0 != zip_stat(zip_source, unzipextract_path, 0, &zip_st)) { | |
+ if (0 != zip_stat(zip_source, unzipextract_path, ZIP_FL_NODIR|ZIP_FL_NOCASE, &zip_st)) { |
import Foundation | |
import Alamofire | |
import RxSwift | |
import RxCocoa | |
protocol ClientProtocol { | |
func request<Response>(_ endpoint: Endpoint<Response>) -> Single<Response> | |
} |
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
Pivot tables can be confusing and a little hard to wrap your head around at first. In this quick article we are going to dive into what a pivot table is, how to create one and finally how to use the pivot table. Let's dive in!
A pivot table is used to connect relationships between two tables. Laravel provides a Many To Many
relationship where you can use a pivot table.