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/expect | |
# + INSTALL: | |
# - install fortclient: sudo apt-get install <FortiClient installation deb file> | |
# - setup fortclient case x64: sudo /opt/forticlient-sslvpn/64bit/helper/setup | |
# - setup fortclient case x32: sudo /opt/forticlient-sslvpn/32bit/helper/setup | |
# - install: sudo apt-get install expect or sudo apt-get install ppp expect | |
# + USAGE: | |
# - Line 13: ADD IP AND PORT BY REPLACING 'IP:PORT', USE ':' BETWEEN IP AND PORT | |
# - Line 13: ADD VPN USER BY REPLACING 'USER' |
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 os | |
import cv2 | |
import time | |
import base64 | |
import socketio | |
import threading | |
from datetime import datetime | |
# all images .jpg in folder and subfolders of 'path_to_send_images' generates | |
# a connection to upload images via socket for corresponding path in client machine |
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 datetime | |
string_1 = "nao passei no teste" | |
string_2 = "aeiou" | |
vector_str = [string_1, string_2] | |
# My solution | |
def rem_vowel_developed_Gabriel(vector_str): | |
vowels = ['a','e','i','o','u'] | |
vector_str_2 = [] |