Skip to content

Instantly share code, notes, and snippets.

// React Server Components
import {db} from './db.server';
function MyComponent() {
const data = db.query('SELECT * FROM my_table');
return (
<ul>
{data.map(item => (
<li key={item.id}>{item.name}</li>
const VARIANTS = {
[FormType.CREATIVE]: 'realigned',
default: 'default'
}
variant={VARIANTS[this.state.activeSection] ?? VARIANTS.default}
{"lastUpload":"2021-02-16T22:17:49.442Z","extensionVersion":"v3.4.3"}
<!DOCTYPE html>
<html>
<style>
body {
text-align: center;
}
#player {
margin: 40px auto;
Steps to run backfill: 
If this is on 10 nodes or less input the NIDs on https://transformer.groupninemedia.com/ui
If on staging, stage the transformer on a subdomain in jenkins, (ex. qa.transformer.groupninemedia.com)
Message Mike Priscilla and ask him to set up the transformer for a backfill (what he’s doing is adjusting the value IS_OOB to true on /status (ex. https://transformer.groupninemedia.com/status)
Hit these urls in your browsers (for the appropriate brand) and watch for the spinning icon in your chrome tab (Modify the url to be your staging subdomain - include space in Thrillist Editorial):
Terms:
setopt clobber
function gentokbrand() {
FILE=/Users/$(whoami)/projects/conex/packages/style-guide/src/properties/brands/$2/$1.json
if [ -f $FILE ]; then
echo "Adding JSON to $FILE."
echo "---------------- CURRENT VALUES ---------------- "
echo $(jq '.' $FILE)
cat $FILE | jq --arg filename $1 --arg prop1 $3 --arg prop2 $4 '.[$filename][$prop1] = $prop2' > tmp.json && mv tmp.json $FILE
{
node: nodeById(id: "4445919") {
...article
}
}
fragment article on NodeVenue {
fieldClosed
fieldAddress1
#!/usr/bin/env python
# Name: hobokenssids.py
# Purpose: Removes Common SSID's From OSX.
# By: Chris Bradshaw
# Date: 30.01.17
# Modified 30.01.17
# Rev Level 0.6
# -----------------------------------------------

Keybase proof

I hereby claim:

  • I am chrisbradshaw on github.
  • I am chrisbradshaw (https://keybase.io/chrisbradshaw) on keybase.
  • I have a public key whose fingerprint is 46C2 05FA 4020 132E 3E66 A667 3240 190E A935 9896

To claim this, I am signing this object: