Skip to content

Instantly share code, notes, and snippets.

View cooperka's full-sized avatar

Kevin C cooperka

View GitHub Profile
@mneedham
mneedham / neo4j-with-apoc.js
Last active June 21, 2018 22:37
Spin up a Neo4j AWS AMI with APOC installed
const uuidv4 = require('uuid/v4');
const AWS = require("aws-sdk");
console.log("Creating a Neo4j server");
let uuid = uuidv4();
let serverParams = {};
serverParams.keyName = `neo4j-ami-keypair-${uuid}`;
serverParams.groupName = `neo4j-ami-graph-security-${uuid}`;
@tkrotoff
tkrotoff / FrontendFrameworksPopularity.md
Last active August 4, 2025 07:20
Front-end frameworks popularity (React, Vue, Angular and Svelte)
@paul-krohn
paul-krohn / docker_x11_macOS.md
Last active April 19, 2025 05:42
Docker X11 macOS

Preamble

There is a longstanding issue/missing feature/bug with sockets on Docker on macOS; it may never work; you'll need to use a network connection between Docker containers and X11 on macOS for the foreseeable future.

I started from this gist and made some adjustments:

  • the volume mappings aren't relevant/used, due to the socket issue above.
  • this method only allows X11 connections from your Mac, not the entire local network, which would include everyone on the café/airport WiFi.
  • updated to include using the host.docker.internal name for the the container host, instead.
  • you have to restart XQuartz after the config change.