This file contains 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
0.0.0.0 googlevideo.com | |
0.0.0.0 gvt1.com | |
0.0.0.0 video.google.com | |
0.0.0.0 video.l.google.com | |
0.0.0.0 youtu.be | |
0.0.0.0 youtube.ae | |
0.0.0.0 youtube.al | |
0.0.0.0 youtube.am | |
0.0.0.0 youtube.at | |
0.0.0.0 youtube.az |
This file contains 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
Add-Type @" | |
using System; | |
using System.Runtime.InteropServices; | |
public class Tricks { | |
[DllImport("user32.dll")] | |
public static extern IntPtr GetForegroundWindow(); | |
[DllImport("user32.dll")] | |
[return: MarshalAs(UnmanagedType.Bool)] |
This file contains 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
license: mit |
This file contains 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
license: mit |
This file contains 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
scrape_configs: | |
- job_name: 'your_kubernetes_pod' | |
dns_sd_configs: | |
- refresh_interval: 15s | |
names: | |
- {headless-service-name}.default.svc.cluster.local | |
relabel_configs: | |
# Change default port we get from DNS (0) to expected port ({your_pod_port}) | |
- source_labels: [__address__] | |
action: replace |
This file contains 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
(function () { | |
function n(n) { | |
function t(t, r, e, u, i, o) { | |
for (; i >= 0 && o > i; i += n) { | |
var a = u ? u[i] : i; e = r(e, t[a], a, t) | |
} | |
return e | |
} | |
return function (r, e, u, i) { | |
e = d(e, i, 4); var o = !w(r) && m.keys(r), a = (o || r).length, c = n > 0 ? 0 : a - 1; |
This file contains 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
{ | |
"variables": { | |
"aws_access_key": "", | |
"aws_secret_key": "" | |
}, | |
"builders": [ | |
{ | |
"type": "amazon-ebs", | |
"access_key": "{{user `aws_access_key`}}", | |
"secret_key": "{{user `aws_secret_key`}}", |
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
module LocalCommand | |
class Config < Vagrant.plugin("2", :config) | |
attr_accessor :command | |
end | |
class Plugin < Vagrant.plugin("2") | |
name "shell_local" |