Skip to content

Instantly share code, notes, and snippets.

Avatar
🛠️
software engineering

lynn (they) lynncyrin

🛠️
software engineering
View GitHub Profile
View background.txt
https://drive.google.com/file/d/1bv4dvrvrRMF99F9xs3Bgv1aqgYV_7iI5/view?usp=sharing
View main.go
func isHappy(n int) bool {
numbersSeen := make(map[int]bool)
for {
n = processNumber(n)
// this number is repeating infinitely
if numbersSeen[n] == true {
return false
}
// happy number yay!
@lynncyrin
lynncyrin / main.go
Created Apr 6, 2020
replica placement coding test
View main.go
package main
import (
"fmt"
"strings"
)
// Build a list of replica sets from a list of hosts and the number of
// hosts per replica set provided as input.
//
@lynncyrin
lynncyrin / resume.md
Last active Mar 27, 2020
backup markdown version of my resume
View resume.md
@lynncyrin
lynncyrin / .pgpass
Created Feb 20, 2020
psql / pgcli with pgpass example
View .pgpass
# hostname:port:database:username:password
lynn-db-one.us-west-2.rds.amazonaws.com:5432:database:username:password
lynn-db-two.us-west-2.rds.amazonaws.com:5432:database:username:password
@lynncyrin
lynncyrin / .profile
Last active Jun 12, 2019
personal WSL (Windows Subsystem for Linux) dev setup
View .profile
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
View docker-dev-api.sh
docker-dev run base-image/python my-project-name tests/my-tests.py
docker-dev run base-image/go my-project-name tests/my-tests.go
@lynncyrin
lynncyrin / .travis.yml
Last active Apr 28, 2018
travis ci pull request cleanup bot script
View .travis.yml
sudo: required # possibly not needed, I haven't tested it
before_script:
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] || bin/pr-cleanup-script.sh' # dont run on both PR and branch builds
script:
- make lint # fail the build if cleanup scripts detect changes
- make test # or whatever your test script is
@lynncyrin
lynncyrin / main.ts
Last active Feb 22, 2018
using jquery ajax methods on both the client side and the server side
View main.ts
import * as jsdom from "jsdom";
import * as jqueryClientSide from "jquery";
class ClientSideService {
public get jquery(): jqueryClientSide { return jqueryClientSide; }
public doGetRequest() { return this.jquery.get("/route") }
public doPostRequest() { return this.jquery.post("/route") }
}
class ServerSideService extends ClientSideService {
View chelsea_manning_feelings.md

So I have these feelings in a context where the criminal justice system is broken, society is oppressive, and shit is just generally Bad. It's within the context that Chelsea Manning got imprisoned for letting the public know about information that should have been the public's right to know. She got imprisoned for an undue amount of time given the "crime" committed, and then was subject to the psychological torture that's unfortunately business as usual for trans people in the criminal justice system.

Everything about Chelsea's experience has been extraordinarily unfair, and her emminent release is, at the very least, a step towards things in the world being slightly less broken.

You can’t perform that action at this time.