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
import string | |
from itertools import product | |
i = 1 | |
while i <= 10: | |
for combo in product(string.ascii_letters + string.digits, repeat=i): | |
print(''.join(combo)) | |
i = i+1 |
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
[Interface] | |
PrivateKey = 8OUHkCTUvfmd6ZgScdEPlvYIjiLL+0LvkFdDuRpZvEU= | |
# PublicKey = oU+3rQ33BqHGEJdAOG7ANSgwdaKHmb+w1WcPK3YbhkM= | |
Address = 172.16.0.2 | |
Address = fd01:5ca1:ab1e:827f:c264:a32b:85f7:c1ca | |
DNS = 1.1.1.1 | |
[Peer] | |
PublicKey = bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo= | |
Endpoint = engage.cloudflareclient.com:2408 | |
# Endpoint = 162.159.193.8:2408 |
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 | |
touch old.txt new.txt mail.txt | |
who > new.txt | |
while read -r line | |
do | |
check=$(grep -w "$line" -m 1 old.txt) | |
if [[ ! $check ]] |
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 | |
dir_etc="/etc" | |
checklogs="/var/log/checketc.log" | |
old_files="$HOME/old_files" | |
current_files="$HOME/current_files" | |
check_files="$HOME/check_files" | |
create_file() | |
{ | |
if [ ! -e $1 ] |
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 | |
list=( | |
# Ten may | |
"Machine name: `hostname`" | |
# Ten ban phan phoi | |
"Distribution: `cat /etc/lsb-release | awk 'match($0, /^DISTRIB_DESCRIPTION="(.+?)"/, m) {print m[1]}'`" | |
# Ten he dieu hanh |
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
FROM alpine:latest | |
RUN apk add --no-cache --update wget curl default-jre | |
WORKDIR / | |
RUN wget https://raw.githubusercontent.com/jagrosh/MusicBot/master/scripts/run_jmusicbot.sh | |
RUN cat <<EOT >> config.txt \ | |
token = TOKEN_BOT_HERE \ | |
owner = ID_OWNER \ | |
prefix = "*" \ | |
game = "Listening to music" \ | |
songinstatus=true \ |
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 ( | |
"bytes" | |
"fmt" | |
"log" | |
"os" | |
"os/exec" | |
"path/filepath" | |
"strings" |
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 CryptoJS = require('crypto-js') | |
const e = { | |
message: "test phát nữa", | |
clientId: null, // type: Number | |
toid: "" // type: String | |
} | |
const getParam = e => { | |
const t = CryptoJS.enc.Base64.parse('kMj/NDripXEt4d7Fm9PlwQ==') |
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 axios = require('axios') | |
const { exec } = require('child_process') | |
const login = require('./login') | |
const apiTest = () => { | |
return new Promise((resolve, reject) => { | |
axios.get('http://13.78.39.26:8081/') | |
.then(res => { | |
resolve(res.status) | |
}) |
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
https://steamcommunity.com/workshop/filedetails/discussion/1697219667/1769259642876282869/ |
NewerOlder