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
# Namespace / Service | |
- A pod can access a service in its own namespace by just using service name. | |
A pod can access a service in a different namespace by using below format. | |
<svc-name>.<ns-name>.<svc>.<cluster.local> | |
e.g db-service.dev.svc.cluster.local | |
- When a service is created, a DNS entry is added automatically in this format: | |
db-service.dev.svc.cluster.local | |
Here db-service is service name, dev is namespace, svc represents service and cluster.local is domain. | |
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
# Good Links | |
http://www.yamllint.com/ | |
https://youtu.be/02AA5JRFn5w | |
######################################### | |
minikube | |
######################################### | |
minikube start | |
minikube status | |
minikube stop |
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
#!/usr/bin/swift | |
// DISCLAIMER | |
// This script modifies an unencrypted file associated with the trial version of Final Cut Pro. | |
// Under the DMCA (17 U.S.C. § 1201), this modification does not qualify as circumvention of a technological | |
// protection measure (TPM), as it does not involve bypassing encryption, authentication, or similar protections. | |
// Distributing this code is therefore legal under the DMCA. | |
// This script is intended for educational and research purposes, such as exploring trial-related file structures, |
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
#!/bin/bash | |
#### Media file processing script for Filebot | |
# This script gets triggered by some means (inotify, auditd, cron, etc.) and processes media files in some locations. | |
# It will run the filebot amc.groovy script against these files and output them into user defined locations for HTPC use. | |
# | |
# Known Limitations: | |
# Not dealing with music files, just video files. I use beets for music tagging. | |
# Not dealing with unique video types just yet, such as comedy specials, concerts, etc. Filebot might match it okay but I am not confident about it. |
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
# take one | |
# subdirectory (one server, multiple services) | |
location /btsync/ { | |
rewrite ^/btsync/gui(.*) /btsync$1 last; | |
proxy_pass http://127.0.0.1:8888/gui/; | |
proxy_redirect /gui/ /btsync/; | |
proxy_buffering off; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; |