Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.
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
#!/bin/bash | |
# | |
# Create Kubernetes user. Require cfssl. | |
# | |
# Usage: | |
# ./create-user.sh <kubernetes api host> <fulle name> <clusterrole> | |
# | |
# Example: | |
# ./create-user.sh k8s-api.my-domain.com "Jane Doe" my-project:admin |
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
package main | |
import ( | |
"fmt" | |
"os" | |
"os/signal" | |
"syscall" | |
"github.com/erikdubbelboer/gspt" | |
) |
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 (window) { | |
var DOUBLE_CLICK_DELAY = 550; | |
var OnlineNotifier = (function () { | |
var LOG_LEVEL = 01; | |
var POLL_TIMEOUT = 1E3; | |
var MIN_TIMEOUT = 60E3; | |
var MIN_TIMEOUT_TYPING = 5E3 | |
var DEBUG_CHECK_ALL = false; | |
var DEBUG_CHECK_ONLINE = false; | |
var DEBUG_CHECK_TYPING = false; |
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
const applicationTypesExt = { | |
'a' : 'application/octet-stream', | |
'ai' : 'application/postscript', | |
'bin' : 'application/octet-stream', | |
'cdf' : 'application/x-cdf', | |
'csh' : 'application/x-csh', | |
'dll' : 'application/octet-stream', | |
'doc' : 'application/msword', | |
'dot' : 'application/msword', |