Skip to content

Instantly share code, notes, and snippets.

View phyllisstein's full-sized avatar

Daniel P. Shannon phyllisstein

View GitHub Profile
{
"slug": "punk-hardcore-photos-sunday-matinee",
"byline": [
{
"names": [
{
"twitter": "",
"facebook": "",
"name": "Caryn Rose",
"instagram": "",
[64290:1024/082914.178063:INFO:CONSOLE(83)] "Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' https://*.vscode-cdn.net 'nonce-icgVV3j6VgF5uX05ewOoIA==' 'unsafe-hashes' 'sha256-zCS+ubUbQ2s89oA2fBkOFRlQUjbq1DjjsiGY9OlmDMk=' 'sha256-0oUKC05+rMUna2WV/1dh4gYJXRAMAEtVgf+n8LpKnfE='". Either the 'unsafe-inline' keyword, a hash ('sha256-TMLnGHcHuaP1IGfOIlow4y9VuEmkzaBSGhTQHF7CzWM='), or a nonce ('nonce-...') is required to enable inline execution.
", source: https://file+.vscode-resource.vscode-cdn.net/tmp/code-git-lens-extensions/eamodio.gitlens-13.0.3/dist/webviews/settings.js (83)
@phyllisstein
phyllisstein / .dockerignore
Last active August 15, 2022 14:02
Dockerize Node app without installing or linking node_modules.
**/node_modules/**
**/.git/**
**/dist/**
import { babel, css } from '@nymag/configs/webpack/loaders/index.js'
import {
client,
development as developmentEnvironment,
} from '@nymag/configs/webpack/environments/index.js'
import {
context,
entrypoints,
resolveExtensions,
resolveModules,
require 'active_support/all'
map_recircs = {}
map_venues = {}
average_recirc = 0
MapStack.all.each do |map|
next unless map.map_cards.present?
title = map.title.parameterize(separator: '_').to_sym
@phyllisstein
phyllisstein / components.jsx
Last active July 12, 2022 15:03
Two patterns for sharing MapStack UI.
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ⭑ Approach Two ⭑ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
// ~~~~~~~~~~~~~~~~~~~~~ Component Components Component ~~~~~~~~~~~~~~~~~~~~~ //
/**
* Our package exposes a number of React components purpose-dedicated to
* building a map; the downstream app composes the React components we expose.
* The Unison component, not our code, would call ReactDOM::render. This is the
* pattern one normally sees with React libraries.
*/
import { MapsStack, Map, Pin } from '@voxmedia/maps-ui'
@phyllisstein
phyllisstein / my-ublock-backup.txt
Last active April 23, 2022 04:51
uBlock Origin to 11
{
"timeStamp": 1644729994336,
"version": "1.41.1b0",
"userSettings": {
"cloudStorageEnabled": true,
"externalLists": "https://abp.oisd.nl/\nhttps://gist.githubusercontent.com/beep/9d78b409c54dd33d6722c0ed5e45c8b2/raw/aa29bd8c9e5d721f4855dad24b4e6adbe1f10ff3/ublock-twitterneue.txt\nhttps://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/experimental.txt\nhttps://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt",
"firewallPaneMinimized": false,
"hyperlinkAuditingDisabled": false,
"importedLists": [
"https://abp.oisd.nl/",
@phyllisstein
phyllisstein / Dockerfile
Created May 3, 2021 22:27
ARM64 ElasticSearch 6
################################################################################
# This Dockerfile was generated from the template at distribution/src/docker/Dockerfile
#
# Beginning of multi stage Dockerfile
################################################################################
################################################################################
# Build stage 0 `builder`:
# Extract elasticsearch artifact
# Install required plugins
@phyllisstein
phyllisstein / gitprezto.plugin.zsh
Created December 9, 2020 14:33
Prezto's Git aliases without Prezto-specific shell functions.
#
# Defines Git aliases.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
#
# Settings
#
{
"timeStamp": 1606577731183,
"version": "1.31.1b6",
"userSettings": {
"advancedUserEnabled": false,
"alwaysDetachLogger": true,
"autoUpdate": true,
"cloudStorageEnabled": true,
"collapseBlocked": true,
"colorBlindFriendly": false,