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
#include <algorithm> | |
#include <iostream> | |
#include <iterator> | |
#include <random> | |
#include <stdio.h> | |
#define N 100 | |
template <typename RandomAccessIterator, typename Predicate> | |
int bogo_sort(RandomAccessIterator begin, RandomAccessIterator end, Predicate p) { |
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
[Unit] | |
Description=Keep reverse portforward tunnel | |
After=network.target | |
[Service] | |
User=root | |
Restart=always | |
RestartSec=5 | |
Type=simple | |
ExecStart=/usr/bin/ssh -NTv \ |
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 -eu | |
usage_exit() { | |
echo "Usage: $0 [-d user] [-u user]" 1>&2 | |
echo " -d: disable deny access from user" 1>&2 | |
echo " -u: kick $1 and deny access from user" 1>&2 | |
exit 1 | |
} | |
kick_user(){ |
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
[ | |
// Cursor right / left | |
{ | |
"key": "right", | |
"command": "cursorRight", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+f", | |
"command": "cursorRight", |
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
--- | |
kind: Deployment | |
apiVersion: extensions/v1beta1 | |
metadata: | |
labels: | |
test-iperf3: server | |
name: iperf3-server | |
spec: | |
replicas: 1 | |
revisionHistoryLimit: 10 |
OlderNewer