Skip to content

Instantly share code, notes, and snippets.

View thiswillbeyourgithub's full-sized avatar

Olicorne thiswillbeyourgithub

View GitHub Profile
@thiswillbeyourgithub
thiswillbeyourgithub / phone_book_downloader.js
Last active April 11, 2025 11:37
Phone book downloader
/**
* Converts HTML phone book to CSV format
* @param {string} htmlContent - The HTML content to convert
* @returns {string} The converted CSV content
*/
function phoneBookCSVConverter(htmlContent) {
console.log('Starting CSV conversion...');
try {
// Create a DOM parser to work with the HTML content
@thiswillbeyourgithub
thiswillbeyourgithub / edge_vpn_file_scripts.sh
Last active April 13, 2025 18:14
Zsh scripts for edgevpn to send and receive files
#!/bin/zsh
#
# Note : I will probably not be using this script anymore, I made wormrot.sh : https://github.com/thiswillbeyourgithub/wormrot
#
# USAGE:
# 0. Create a new folder
# 1. Install edgevpn via 'curl -s https://raw.githubusercontent.com/mudler/edgevpn/master/install.sh | sudo sh'
# 2. Put this script in the same folder, with name "edge_vpn_file_scripts.sh"
# 3. Run "chmod +x edge_vpn_file_scripts.sh"
# 4. Put your edgevpn token inside the environment variable called EDGEVPNTOKEN
@thiswillbeyourgithub
thiswillbeyourgithub / terminalsize.py
Created July 4, 2021 10:02 — forked from jtriley/terminalsize.py
Get current terminal size on Linux, Mac, and Windows
#!/usr/bin/env python
import os
import shlex
import struct
import platform
import subprocess
def get_terminal_size():
""" getTerminalSize()