Skip to content

Instantly share code, notes, and snippets.

View noelje's full-sized avatar
🚀
Deploying stuff

Noel noelje

🚀
Deploying stuff
  • metaverse
View GitHub Profile
@noelje
noelje / tut.md
Created January 29, 2021 06:31 — forked from rain1024/tut.md
Install pdflatex ubuntu

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.

  • Install the TexLive base
sudo apt-get install texlive-latex-base
  • Also install the recommended and extra fonts to avoid running into the error [1], when trying to use pdflatex on latex files with more fonts.
@noelje
noelje / QUT Horizon Guide.md
Created January 20, 2021 09:33 — forked from byronmejia/QUT Horizon Guide.md
A QUT Student's guide to the Horizon (client).

VMware Horizon Client Tutorial

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.

@noelje
noelje / userChrome.css
Created January 19, 2021 10:49 — forked from regalstreak/userChrome.css
Make firefox white flashes in new tab loading screens go away
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`
@noelje
noelje / xmas.md
Last active December 9, 2020 08:48
xmas script

Script for Christmas Skit [NOT FINISHED] noel_emmanuel@pm.me

Actors:

  • Mary
  • Joseph
  • Jesus
  • 5 Shepherds
  • 3 wise men
  • King Herod
@noelje
noelje / errorcheck.c
Created September 11, 2020 06:00
error checking bash command for c compiling
gcc -std=gnu99 -Wall -Werror filename.c -o output
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)
@noelje
noelje / Python3 Bulk Filename Renamer
Last active July 14, 2020 13:26
A python script to rename all the files (eg. images) in an order (eg. 1.png, 2.png)
print("Running Python app...")
# renaming files
# Pythono3 code to rename multiple
# files in a directory or folder
# importing os module
import os
@noelje
noelje / git_ssh.md
Last active June 10, 2020 08:01
A gist showing how to initiate ssh on bash

How to initiate SSH for Github on Bash to clone Github repos etc.

(assuming that you already connected your Github acc with SSH)

eval `ssh-agent`

You will receive an Agent Pid number

ssh-add ~/file

Replace name 'file' with your own ssh file name.

@noelje
noelje / hiq_chat.py
Created April 8, 2020 00:24
HiQ Chat is QUT's chat support. You have to enter your details before the chat gets initiated. This script uses Selenium to automate the input process and begins the chat.
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.
#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: