Skip to content

Instantly share code, notes, and snippets.

@GetVladimir
GetVladimir / Setup-iCloud+-Custom-Domain-Catch-All-email-with-Gmail.md
Last active December 20, 2025 21:30
How to setup iCloud+ Custom Domain Catch All email with Gmail

How to setup iCloud+ Custom Domain Catch All email with Gmail

I've recently tested on how to move the custom domain catch all email from G Suite to the new iCloud+ Catch All feature and wanted to share my experience.

The end result is having Custom Domain email and Catch All routing, that can be fully used via Gmail, including receiving and sending emails.


The steps

  • Setup your Custom Domain (or subdomain) with iCloud+
@kmplngj
kmplngj / pixoo64.yaml
Last active January 19, 2026 05:31
Home Assistant Configuration to add a Divoom Pixoo 64 as a light. Feel free to help me optimise this.
# Set pixoo_post_address in your secrets.yaml to your Pixoo64 rest api post address
# pixoo_post_address: http://192.168.foo.bar/post
# if you host Pixoo-Rest you could set url in the pixoo_rest_imageurl command
sensor:
- platform: rest
name: pixoo64 Data
resource: !secret pixoo_post_address
method: POST
payload: '{ "Command" : "Channel/GetAllConf" }'
value_template: "OK"
@trd86
trd86 / mouse-tap-sample.c
Last active February 19, 2025 03:42
Tap Dance and Mouse Key. You can define the hold to be CMD or layer.
#define ACTION_TAP_DANCE_MOUSE_LAYER(kc1, layer) \
{ .fn = {mousekey_tap, mousekey_finished, mousekey_reset}, .user_data = (void *)&((qk_tap_dance_pair_t){kc1, layer}), }
// Tap Dance declarations
enum {
TD_MB_CMD,
TD_MB_L1,
TD_RMB_L2
};
@alexandernl
alexandernl / gist:8090a79a7af4197c5f5571e8cc8c05b8
Created November 11, 2020 12:28
Convert daily New York Times frontpage to jpg
<?php
// set the output-file
$outputfile = "/var/www/nyt/nyt.jpg";
// set path to todays NYT frontpage
$pathToPdf="https://static01.nyt.com/images/".date('Y')."/".date('m')."/".date('d')."/nytfrontpage/scan.pdf";
// check if there is any today
$file_headers = @get_headers($pathToPdf);
@ex-preman
ex-preman / Code.gs
Last active April 17, 2025 02:09
CRUD Using Google Apps Script
function doGet(e) {
Logger.log(e);
var op = e.parameter.action;
var ss = SpreadsheetApp.open(DriveApp.getFileById("YOUR_SPREADSHEET_ID"));
var sn = "YOUR_SHEET_NAME";
var sheet = ss.getSheetByName(sn);
if (op == "insert")
return insert_value(e, sheet);
@brainysmurf
brainysmurf / README.md
Last active June 21, 2024 05:53
Things one can get used to for the V8 Google Apps Scripts engine

Things one can get used to for the V8 Google Apps Scripts engine

A bit of a monologue about various syntax changes and adjustments in learning and using the tool.

Logging is slooooooow

I know. Everyone knows.

That's why I wrote a library that writes to a spreadsheet instead. Ever since I started using it I'm far more productive. I don't know how people are still putting with that god-awful lagging logger.

@richardblondet
richardblondet / README.md
Last active February 27, 2026 06:08
Create a simple API backend with Google App Script and a Spreadsheet

Google App Script CRUD

Inspired by this gist.

Getting Started

  1. Create a new App Script project.
  2. Paste the content of the file google-app-script-crud.gs in the default Code.gs file.
  3. Create a new Spreadsheet.
  4. Copy the Spreadsheet ID found in the URL into the variable SHEET_ID located in line 1 of your file.
//https://gist.github.com/chemiadel/f1314bf8403eda071ca10c584947d1e7
//Sheet Name
SHEET_NAME="Emails"
function sendEmails() {
//Assign Spreadsheet, Sheet to object variables
var ss=SpreadsheetApp.getActiveSpreadsheet();
var sheet=ss.getSheetByName(SHEET_NAME);
@chemiadel
chemiadel / ExportAndEmailCustomSheetsAsPDF.gs
Last active February 9, 2025 15:35
Script export and send email of custom sheet on PDF for Google Sheets with GAS
//https://gist.github.com/chemiadel/bee4cb03481b580275d5296a3e7adc0d
function EmailPDF() {
//Get Active Spreadsheet
var spreadSheet=SpreadsheetApp.getActiveSpreadsheet();
//Get All Sheets of the spreadsheets
var sheets=spreadSheet.getSheets();
//Sheet wanted to export on PDF
@chemiadel
chemiadel / exportSpreadsheet.gs
Created October 6, 2017 10:14 — forked from Spencer-Easton/exportSpreadsheet.gs
Example on how to export a Google sheet to various formats, includes most PDF options
function exportSpreadsheet() {
//All requests must include id in the path and a format parameter
//https://docs.google.com/spreadsheets/d/{SpreadsheetId}/export
//FORMATS WITH NO ADDITIONAL OPTIONS
//format=xlsx //excel
//format=ods //Open Document Spreadsheet
//format=zip //html zipped