eval `ssh-agent`
You will receive an Agent Pid number
ssh-add ~/file
Replace name 'file' with your own ssh file name.
#facebook marketplace | |
from selenium import webdriver | |
from time import sleep | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support import expected_conditions as EC | |
from pymongo import MongoClient | |
class App: |
import time | |
from selenium import webdriver | |
from selenium.webdriver.common.action_chains import ActionChains | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.chrome.options import Options | |
chrome_options = Options() | |
chrome_options.add_argument("--no-sandbox") | |
chrome_options.add_argument("--disable-setuid-sandbox") | |
driver = webdriver.Chrome('/path/to/chromedriver', chrome_options=chrome_options) # Optional argument, if not specified will search path. |
print("Running Python app...") | |
# renaming files | |
# Pythono3 code to rename multiple | |
# files in a directory or folder | |
# importing os module | |
import os |
from pytube import YouTube | |
link = input("Enter the youtube URL...\n") | |
# trial video | |
# link = "https://www.youtube.com/watch?v=tvJ1RGlxe8Q" | |
yt = YouTube(link) | |
ys = yt.streams.get_highest_resolution() | |
print("Downloading... " + yt.title) |
gcc -std=gnu99 -Wall -Werror filename.c -o output |
Script for Christmas Skit [NOT FINISHED] [email protected]
Actors:
Use this or https://github.com/overdodactyl/ShadowFox | |
How to make firefoxes white flashes in new tab loading screens black | |
Working as of firefox version 69 and 8th september 2019 | |
Enable legacy css customisations | |
* Go to about:config | |
* Enable this flag: | |
`toolkit.legacyUserProfileCustomizations.stylesheets` |
Sometimes, it's necessary to try and connect to the QUT computers as a student, whether it be for using certain proprietary software, certain environments, or beefier computers?
This guide assumes you are not on campus and require a VPN client (Virtual Private Network) to behave as if you are at QUT.
PdfLatex is a tool that converts Latex sources into PDF. This is specifically very important for researchers, as they use it to publish their findings. It could be installed very easily using Linux terminal, though this seems an annoying task on Windows. Installation commands are given below.
sudo apt-get install texlive-latex-base