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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: memory-demo | |
namespace: mem-example | |
spec: | |
containers: | |
- name: memory-demo-ctr | |
image: polinux/stress | |
resources: |
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 bs4 import BeautifulSoup | |
from selenium import webdriver | |
import random | |
import time | |
file1 = open("Hotel_List.txt", "w") | |
headers = { | |
'Accept': 'text/javascript, text/html, application/xml, text/xml, */*', |
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
def check_paranthesis(expression): | |
para_list = [] | |
is_paranthesis = True | |
paradict = dict() | |
paradict.update({')': '(', '}': '{', ']': '['}) | |
opening = ['(', '{', '['] | |
closing = [')', '}', ']'] |
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
#!/usr/bin/env python | |
import os, random, sys, hashlib, struct, thread, socket | |
from pyftpdlib.authorizers import DummyAuthorizer | |
from pyftpdlib.handlers import FTPHandler | |
from pyftpdlib.servers import FTPServer | |
from Crypto.Cipher import AES | |
from Crypto.PublicKey import RSA | |
from Crypto.Cipher import PKCS1_OAEP |