Skip to content

Instantly share code, notes, and snippets.

View BinaryMuse's full-sized avatar
🏳️‍🌈
Just gayin' up the place the best I can

Michelle Tilley BinaryMuse

🏳️‍🌈
Just gayin' up the place the best I can
View GitHub Profile
@BinaryMuse
BinaryMuse / README.md
Last active July 6, 2023 19:02 — forked from fafnirical/change-photo.md
Change your profile photo for all meetup groups

I haven't found a way to set your main profile photo on meetup.com such that it overrides any old photos you have set in individual groups. This script will do just that — set your group specific profile photo to your main photo for every group you're in.

Here's what to do:

  1. Go to your main profile page: http://www.meetup.com/profile/
  2. Ensure you've set your main profile photo to the photo you want to use in all your groups.
  3. Open your browser's developer tools (often F12 on Windows, cmd+opt+i on macOS), copy the following code, paste it in the Console tab, and press enter:
(async function() {
@BinaryMuse
BinaryMuse / appEntryPoint.js
Created December 31, 2016 08:26 — forked from markerikson/appEntryPoint.js
Webpack React/Redux Hot Module Reloading (HMR) example
import React from "react";
import ReactDOM from "react-dom";
import configureStore from "./store/configureStore";
const store = configureStore();
const rootEl = document.getElementById("root");
@BinaryMuse
BinaryMuse / Architecture.md
Created March 24, 2016 02:45 — forked from evancz/Architecture.md
Ideas and guidelines for architecting larger applications in Elm to be modular and extensible

Architecture in Elm

This document is a collection of concepts and strategies to make large Elm projects modular and extensible.

We will start by thinking about the structure of signals in our program. Broadly speaking, your application state should live in one big foldp. You will probably merge a bunch of input signals into a single stream of updates. This sounds a bit crazy at first, but it is in the same ballpark as Om or Facebook's Flux. There are a couple major benefits to having a centralized home for your application state:

  1. There is a single source of truth. Traditional approaches force you to write a decent amount of custom and error prone code to synchronize state between many different stateful components. (The state of this widget needs to be synced with the application state, which needs to be synced with some other widget, etc.) By placing all of your state in one location, you eliminate an entire class of bugs in which two components get into inconsistent states. We also think yo
@BinaryMuse
BinaryMuse / README.md
Created January 23, 2014 04:13 — forked from mbostock/.block
@BinaryMuse
BinaryMuse / README.md
Last active January 4, 2016 05:08 — forked from mbostock/.block

A simple example drawing a great arc as a LineString. The projection is rotated to avoid interrupting the arc. See also an earlier example with multiple great arcs.

event = require('pilot/event')
Anchor = require('ace/anchor').Anchor
doc = ace_editor.session.getDocument()
editablePositions = [[1, 0, 2, 0]] # allow editong only the second row
jQuery.each editable, (index, row) ->
editablePositions.push [new Anchor(doc, row[0], row[1]), new Anchor(doc, row[2], row[3])]
Range = require('ace/range').Range
@BinaryMuse
BinaryMuse / output
Created November 20, 2012 18:37 — forked from anonymous/output
super hack
module Homepage
module V2
class Board
include Redis::Objects
value :name
value :exists
counter :views
@BinaryMuse
BinaryMuse / atcs-controls.js
Created September 22, 2012 18:24
atcs-controls.js
var connect = require('connect');
var fs = require('fs');
var querystring = require('querystring');
var util = require('util');
var pageMarkup = 'Error';
var staticFiles = new Array();
try {
staticFiles['/'] = fs.readFileSync('page.html', 'ascii');
staticFiles['/jquery-1.7.1.min.js'] = fs.readFileSync('jquery-1.7.1.min.js', 'ascii');
@BinaryMuse
BinaryMuse / kinetic.bezier.js
Created September 16, 2012 04:15 — forked from gzoller/kinetic.bezier.js
Kinetic Plug-Ins
/**
* KineticJS Bezier Extension
* Compatible with KineticJS JavaScript Library v3.8.0
* Author: Greg Zoller
* Date: Apr 12 2012
*/
///////////////////////////////////////////////////////////////////////
// Bezier
///////////////////////////////////////////////////////////////////////
@BinaryMuse
BinaryMuse / gist:3231471
Created August 1, 2012 23:14 — forked from swannodette/gist:3217582
sudoku_compact.clj
(ns sudoku
(:refer-clojure :exclude [==])
(:use clojure.core.logic))
(defn get-square [rows x y]
(for [x (range x (+ x 3))
y (range y (+ y 3))]
(get-in rows [x y])))
(defn init [vars hints]