lsof -wni tcp:3000
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
| import cv2 | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| a = [] | |
| cap = cv2.VideoCapture('clip.mp4') | |
| ok, frame = cap.read() | |
| parameters_shitomasi = dict(maxCorners=100, qualityLevel=0.3, minDistance=7) |
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
| import base64, json | |
| import requests | |
| from requests.exceptions import HTTPError | |
| import random | |
| import time | |
| user = "[email protected]" | |
| password = "Complexpass#123" | |
| bas64encoded_creds = base64.b64encode(bytes(user + ":" + password, "utf-8")).decode("utf-8") |
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
| name: guild | |
| channels: | |
| - defaults | |
| dependencies: | |
| - backcall=0.2.0 | |
| - ca-certificates=2021.10.26 | |
| - certifi=2021.10.8 | |
| - colorama=0.4.4 | |
| - decorator=5.1.0 | |
| - ipython=7.29.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
| class meow { | |
| constructor(options) { | |
| this.maxexample = 2; | |
| this.word = ''; | |
| } | |
| async displayName() { | |
| return "אנגלית טכנית" | |
| } | |
| async findTerm(word) { |
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
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>Hello Webpack</title> | |
| </head> | |
| <body> | |
| <textarea name="" id="input" cols="130" rows="10">a AND b OR c</textarea> | |
| <div> | |
| <button type="button" id="submit">Submit</button> | |
| </div> |
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
| import pandas as pd | |
| # Create dummy Data Frame | |
| df = pd.DataFrame({ | |
| 'A': [1,2,-3], | |
| 'B': [2,-4,6], | |
| 'C': [3,5,-7] | |
| }) | |
| print(df.corr().unstack().sort_values().drop_duplicates()) |
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
| var viewer = new Cesium.Viewer('cesiumContainer', { | |
| terrainProviderViewModels : [], //Disable terrain changing | |
| infoBox : false, //Disable InfoBox widget | |
| selectionIndicator : false //Disable selection indicator | |
| }); | |
| //Enable lighting based on sun/moon positions | |
| viewer.scene.globe.enableLighting = true; | |
| //Use STK World Terrain |
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
| from Crypto.Cipher import AES | |
| import random | |
| MIN_CIPHER = 1000000000000000 | |
| MAX_CIPHER = 1000000000010000 | |
| PLAIN_TEXT = 'test some plain text here'.rjust(32) | |
| ### encrypt ### | |
| def generate_ciphers(ciphers_len): |
NewerOlder