Skip to content

Instantly share code, notes, and snippets.

@shaunagm
shaunagm / organizing_references.md
Last active March 20, 2021 20:31
Tech Worker Organizing Resources

Compiled by Shauna Gordon-McKeon, with contributions from Amanda Jaret, Marley Pulido-Vargas and Lauren Burke.

Quick Intro

The National Labor Relations Act gives most tech workers the right to organize and join a union. It also protects your right to take other collective actions to protect you and your coworkers on the job. Here are a few examples of actions that may be protected by the National Labor Relations Act:

  • Talking to your coworkers about your salary, benefits, or other working conditions.
  • Writing a petition on behalf of a group of coworkers to your boss to ask for a raise.
  • Publicizing a workplace issue that you and your coworkers share on social media.
  • Organizing a union with your coworkers and asking the company to recognize and bargain with the union.
@shaunagm
shaunagm / codelibs_iteration_3.rkt
Last active February 18, 2021 20:38
codelibs_iteration_3.rkt
#lang at-exp racket
(require (for-syntax racket/match))
(require (for-syntax racket/syntax))
(define-namespace-anchor anc)
(define ns (namespace-anchor->namespace anc))
; with adjusted macros from text madlibs
@shaunagm
shaunagm / madlibs_iteration_11.rkt
Last active February 17, 2021 22:03
Madlibs Iteration 11
#lang at-exp racket
(require (for-syntax racket/match))
(define prompt-responses
; Hash's list must be of cons of key value pairs such as (cons adjective null)
(make-hash (list )))
(define (ask prompt)
(display prompt)
@shaunagm
shaunagm / madlibs_iteration_10.rkt
Created February 17, 2021 19:18
Madlibs Iteration 10
#lang at-exp racket
(require (for-syntax racket/match))
(define prompt-responses
; Hash's list must be of cons of key value pairs such as (cons adjective null)
(make-hash (list )))
(define (ask prompt)
(display prompt)
@shaunagm
shaunagm / madlibs_iteration_7.rkt
Created February 16, 2021 23:45
Madlibs iteration 7
#lang at-exp racket
(define tree-prompts
(make-hash (list (cons `treetype (list "Type of thing: " null)) (cons `location (list "Location: " null)))))
(define tree-template (list "There once was a big " `treetype " tree in the " `treetype " old forest of " `location "."))
(define (run-prompt sym prompts)
(define prompt-info (hash-ref prompts sym null))
(if (null? (second prompt-info))
@shaunagm
shaunagm / madlibs_iter_4.rkt
Created February 16, 2021 22:15
Madlibs Iteration 4
#lang racket
(define cat-story (list
"There once was a cat named ~a who lived in ~a"
"Name: "
"Location: "))
(define pirate-story (list
"A pirate named ~a roamed the high seas of ~a in ~a ship. It was a ~a day when suddenly there came ~a from a distance."
"Name: "
@shaunagm
shaunagm / madlibs_iteration_5.rkt
Created February 16, 2021 20:56
Racket madlibs iteration 5
#lang at-exp racket
(define-namespace-anchor a)
(define ns (namespace-anchor->namespace a))
(define tree-story (list
`@~a{There once was a big @treetype tree in the old forest of @location.
It was tended by a @job named @name. @name was nearly @count years
old and she was very tired of tending her @treetype tree."}
(list `treetype "Type of thing: ")
@shaunagm
shaunagm / moreinfo.md
Created April 20, 2020 18:34
More info for references in PyCon 2020 talk, because I cannot contain myself

On the Triangle Shirtwaist Factory

From Philip Dray's There is Power In a Union:

"Better prepared to “save themselves,” at least in the short term, were the two owners of the Triangle factory, Isaac Harris and Max Blanck. Their trial in December 1912 on charges of first- and second-degree manslaughter took place amid still-volatile public sentiment: that the two villains be found guilty and harshly punished was a prospect awaited eagerly by virtually all New Yorkers. Families of the dead were especially riled that Harris and Blanck, in the eighteen months since the fire, had been allowed to carry on with their shirtwaist business, using a building on University Place not far from the Asch Building; they had hardly missed a production deadline.

The most damning charge against the partners was that they had locked the stairway doors in violation of existing safety codes, trapping the victims. Their defense attorney,

@shaunagm
shaunagm / pycon2020.md
Last active February 16, 2021 02:53
Resources & References for PyCon 2020 Talk: Organizing Your Workplace
@shaunagm
shaunagm / gist:49919f9f3bd5bb55855491d3ca8d8a0f
Created April 14, 2020 14:49
Python multiline cheatsheet
Multiline comments use """ """
To break up a statement, use \ at the end of each line except the last.
Anything wrapped in [] {} or () can be broken anywhere.