- Create the folder
/etc/puppetlabs/puppet/ssl/manual_ca
- Add the contents of the gist into there
- Run
kubernetes-cert.sh
- Deploy the generated cert and private key onto your K8s master.
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
diff --git a/audio/audio.c b/audio/audio.c | |
index beafed209b..6f42a019b0 100644 | |
--- a/audio/audio.c | |
+++ b/audio/audio.c | |
@@ -2066,3 +2066,8 @@ void AUD_set_volume_in (SWVoiceIn *sw, int mute, uint8_t lvol, uint8_t rvol) | |
} | |
} | |
} | |
+ | |
+int64_t audio_get_timer_ticks(void) |
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
#include <yojimbo.h> | |
#include <miniz.h> | |
class PackedMessage : public yojimbo::BlockMessage | |
{ | |
public: | |
enum { MsgType = 0x00 }; | |
template <typename Stream> | |
bool Serialize(Stream& stream) |
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
#pragma once | |
#include <functional> | |
#include <vector> | |
template<typename... Args> | |
class Event | |
{ | |
public: | |
typedef std::function<void(Args...)> EventHook; |
NB; (An updated version of this guide can be found on the wiki)
- Visual Studio 2013 or 2015 (Community edition is enough)
- MSYSGit or Git for Windows as it's also called (
cinst git.install
if you have Chocolatey)
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
#include <iostream> | |
using namespace std; | |
int main(int argc, char* argv[]) { | |
// Node struct | |
struct Node { | |
int data; | |
Node *next; | |
}; |
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
gets.to_i # I don't care about the number :D | |
gets # Friendships: | |
direct_friends = {} | |
indirect_friends = {} | |
until /Queries/ =~ (data = gets) do # Until it reads the line Queries: | |
names = data.split # Split on space | |
# Create entries in the friend dictionaries if they don't exist |
Examples:
Ruby:
variable = 5
if variable > 4 then
puts variable.to_s + " is over 4"
puts "It's exactly five" if variable == 5
elsif variable == 4 then
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
Current Server: | |
IP: 88.206.179.92 | |
Port: 4567 | |
Message: | |
Header - 5 bytes, network order: | |
Flags - 1 byte: | |
SYN - 1 | |
ACK - 2 |