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
/** | |
* 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 |
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
#!/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 |
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/env python | |
import os | |
import shlex | |
import struct | |
import platform | |
import subprocess | |
def get_terminal_size(): | |
""" getTerminalSize() |