Skip to content

Instantly share code, notes, and snippets.

View m2sh's full-sized avatar
🤔
hmm!

Mohammad Shahgolzadeh m2sh

🤔
hmm!
View GitHub Profile
@amanjuman
amanjuman / Install V2Ray Client on OpenWRT and Configure Vmess
Last active November 18, 2024 15:37
Install V2Ray Client on OpenWRT and Configure Vmess
### The original Author of this package had enabled CloudFlare JS verification. As a result, this automated script will not work.
### Therefore you have to download each package and install it manually.
## Change Directory
cd /tmp/
## Update opkg
opkg update
## If wget not installed already
@jDmacD
jDmacD / README.MD
Last active March 17, 2025 08:24
Raspberry Pi OS kernel compile for envoy support

These playbooks are for compiling the Pi OS kernel to make it compatible with Envoy which is used under the hood of Cilium, Consul Connect and maybe Istio. Enyoy will refuse to start on Pi OS due to a memory allocation error. Long discussion here. The two options are

  • Building Envoy from source (not fun)
  • Compile the Pi OS kernel with some extra flags (not fun, but doable)
  • Use Ubuntu or maybe Debian built for the Pi (not fun either)

Pi OS needs to be compiled with the following options:

CONFIG_ARM64_VA_BITS_39=n
CONFIG_ARM64_VA_BITS_48=y
CONFIG_ARM64_VA_BITS=48
@sinabakh
sinabakh / gist:b3e75f4c5ef39a8bffe505af8ff7c2e2
Created November 5, 2024 09:48
Share Google Slides & Sheets with a list of Gmails in a Google Sheet
// Sharing Sheets
// In the Google Sheet, click on Extensions > Apps Script.
function shareSheet() {
const sheet = SpreadsheetApp.getActiveSpreadsheet();
const emailsSheet = SpreadsheetApp.openById("YOUR_SPREADSHEET_ID"); // Link to your Google Sheets file with emails
const emails = emailsSheet.getSheetByName("Emails").getRange("A1:A").getValues().flat(); // Change Accordingly
emails.forEach(email => {
if (email) {
sheet.addEditor(email);