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
export APISERVER=https://${KUBERNETES_SERVICE_HOST} | |
export SERVICEACCOUNT=/run/secrets/kubernetes.io/serviceaccount | |
export NAMESPACE=$(cat ${SERVICEACCOUNT}/namespace) | |
export TOKEN=$(cat ${SERVICEACCOUNT}/token) | |
export TOKEN=$(cat ${SERVICEACCOUNT}/token) | |
export CACERT=${SERVICEACCOUNT}/ca.crt | |
curl --cacert ${CACERT} --header "Authorization: Bearer ${TOKEN}" -X GET ${APISERVER}/api |
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
f9abbdf7c17d8b10431def98b9ff7c148885b8b71b336a2ed378a493b5b7952f |
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
hello demo |
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
inline bool LockMemAccess() | |
{ | |
bool bSuccess = false; | |
// Process token and user | |
HANDLE hToken = nullptr; | |
PTOKEN_USER pTokenUser = nullptr; | |
DWORD cbBufferSize = 0; | |
// Access control list | |
PACL pACL = nullptr; |
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
#pragma once | |
#include <string> | |
#include <utility> | |
namespace | |
{ | |
constexpr int const_atoi(char c) | |
{ | |
return c - '0'; | |
} |
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
some file |
This file has been truncated, but you can view the full file.
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
{ | |
"Code": 1000, | |
"LogicalServers": [ | |
{ | |
"Name": "IS#1", | |
"EntryCountry": "IS", | |
"ExitCountry": "IS", | |
"Domain": "node-is-01.protonvpn.net", | |
"Tier": 2, | |
"Features": 4, |
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
{ | |
"United_States_Phone_Codes_And_Regions": [ | |
{ | |
"Phone_Dialcode": "772", | |
"Country_Code_I": "US", | |
"Country_Currency": "USD", | |
"Country_Lang": "English", | |
"Country_Code_Full": "United States of America", | |
"State_of_Number": "Florida", | |
"State_of_Number_Short": "FL", |
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
[ | |
{ | |
"sign": "006E1EF0", | |
"suffix": "*.ppt", | |
"format": "PPT" | |
}, | |
{ | |
"sign": "A0461DF0", | |
"suffix": "*.ppt", | |
"format": "PPT" |
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
package main | |
import ( | |
"bufio" | |
"bytes" | |
"encoding/base64" | |
"fmt" | |
"log" | |
"net/http" | |
"regexp" |