Skip to content

Instantly share code, notes, and snippets.

View rtwalz's full-sized avatar
🥸

riley rtwalz

🥸
  • San Francisco, CA
View GitHub Profile
@rtwalz
rtwalz / index.js
Created July 23, 2018 17:18
Extremely simple reverse proxy in Node.js using Express and Request
var express = require('express');
var app = express();
var request = require('request');
app.get('/', function(request, response) {
response.send("OK")
});
//now you can go to domain.com/(URI ENCODED VERSION OF A URL) to access that page
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rtwalz
rtwalz / locales.json
Created May 15, 2023 21:00
The delimiter for arguments in Google Sheets formulas varies based on country and locale. It can either be a comma or semi-colon. The only way to detect the proper delimiter is by retrieving the spreadsheet's locale using `SpreadsheetApp.getActiveSpreadsheet().getSpreadsheetLocale();`, then mapping that value using the data below. I manually got…
{
"en_US": ",",
"es_AR": ";",
"hy_AM": ";",
"en_AU": ",",
"az_AZ": ";",
"be_BY": ";",
"es_BO": ";",
"pt_BR": ";",
"bg_BG": ";",