Skip to content

Instantly share code, notes, and snippets.

View Shark-with-a-Drill's full-sized avatar

Amjad Afzal Shark-with-a-Drill

View GitHub Profile
@Shark-with-a-Drill
Shark-with-a-Drill / export-google-docs-to-restructured-text.js
Created February 7, 2023 06:10 — forked from simonw/export-google-docs-to-restructured-text.js
Google Apps script to convert a Google Docs document into reStructuredText
function onOpen() {
var ui = DocumentApp.getUi();
ui.createMenu('Convert to .RST')
.addItem('Convert to .RST and email me the result', 'ConvertToRestructuredText')
.addToUi();
}
// Adopted from https://github.com/mangini/gdocs2md by Renato Mangini
// License: Apache License Version 2.0
String.prototype.repeat = String.prototype.repeat || function(num) {
@Shark-with-a-Drill
Shark-with-a-Drill / proxmox-install.sh
Created March 21, 2025 06:27 — forked from willwm/proxmox-install.sh
Fresh Proxmox Server install script
#!/bin/bash
# TODO: Remove pve-enterprise, add pve-no-subscription repo to sources.list(*)
# Update packages, install essentials
apt update
apt install -y build-essential git zsh htop
# Update Proxmox Appliance Manager (https://forum.proxmox.com/threads/no-turnkey-fresh-install-5-1-35.38199/)
pveam update