Skip to content

Instantly share code, notes, and snippets.

View nermolov's full-sized avatar

Taylor Ermolov nermolov

View GitHub Profile
@bobinska-dev
bobinska-dev / ImageInput.tsx
Last active December 8, 2023 03:22
Sanity Guide enriched images in the studio
import {
Button,
Card,
Dialog,
Flex,
Label,
Stack,
TextInput,
useToast,
} from '@sanity/ui'

channel operator quick reference

direct discussion about administrative action away from the main channel and into #reddit-diabetes-ops to minimise disruption. our -ops channel is the place where users should come to ask for our help. examples:

  • any sort of operator request or discussion of channel administration in the main channel
  • PMs asking why a ban was set
  • reports of harassment (unless the user is confiding in you)
  • any request for operator action

changing channel access permissions

@Daij-Djan
Daij-Djan / executeRequest.inc.php
Last active August 16, 2021 09:27
Proxy for ANY POST http request. The script can handle POST data, a custom content type, SSL, user/password credentials and 401 errors from the target.
<?php
//
// executeRequest
//
// uses cURL to run a http(s) request.
// data, contentType, user, password are all optional
//
function executeRequest($target, $data, $contentType, $user, $password, &$http_status) {
//try to send request to remote