- [Easy] raw HTML/CSS and little to none vanilla Javascript
- Flask for backend
- Use Heroku to host it for free
- [Intermediate] Use Jinja2 templating
- My website's source code
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
""" | |
AudioPlayer v2.3.7 | |
Author: Elijah Lopez | |
Make sure VLC .dll files are located in "vlc_lib/" | |
""" | |
import math | |
import os | |
import platform | |
import sys | |
import time |
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 subprocess | |
import shutil | |
import os | |
import zipfile | |
import threading | |
print('Cleaning up build directory') | |
shutil.rmtree('Builds', ignore_errors=True) |
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
using System.Collections.Generic; | |
using UnityEditor; | |
using UnityEditor.Build.Reporting; | |
using UnityEngine; | |
public class BuildScript | |
{ | |
[MenuItem("File/Build All")] | |
static void BuildAll() |
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 platform | |
from subprocess import Popen, PIPE, DEVNULL | |
def get_running_processes(look_for='', pid=None, add_exe=True): | |
# TODO: Linux implementation | |
cmd = f'tasklist /NH' | |
if look_for: | |
if not look_for.endswith('.exe') and add_exe: | |
look_for += '.exe' | |
cmd += f' /FI "IMAGENAME eq {look_for}"' |
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 threading | |
import time | |
# there's also a multiprocessing module which I haven't used because its easier to communicate between threads | |
# than it is to communicate between processes | |
# for each section uncomment the code and run it | |
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
""" | |
Investing Analytics | |
Author: Elijah Lopez | |
Version: 2.1 | |
Created: April 3rd 2020 | |
Updated: July 1st 2023 | |
https://gist.github.com/elibroftw/2c374e9f58229d7cea1c14c6c4194d27 | |
Resources: | |
Black-Scholes variables: |
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 time, pyautogui as kbm | |
from faker import Factory | |
import webbrowser | |
'''This program will go to a change.org link and fill out as many forms as you want''' | |
print('For more than 10 bots: Some sort of ipchanger is needed in the background, one that is undetectable') | |
__author__ = 'Elijah Lopez' | |
__version__ = '1.0' | |
__Date__ = 'April 26, 2017' |
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 http.server import HTTPServer, SimpleHTTPRequestHandler | |
import os | |
server_address = ('0.0.0.0', 8081) | |
httpd = HTTPServer(server_address, SimpleHTTPRequestHandler) | |
os.chdir('C:/') # optional | |
print('Running server...') | |
httpd.serve_forever() |
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
""" | |
================================= | |
Molar Mass Calculator | |
Author: Elijah Lopez | |
Version: 1.2.1 | |
Last Updated: April 4th 2020 | |
Created: July 8th 2017 | |
Python Version: 3.6+ | |
================================= | |
""" |
NewerOlder