Skip to content

Instantly share code, notes, and snippets.

View codersquid's full-sized avatar

Sheila Miguez codersquid

View GitHub Profile
@codersquid
codersquid / aws_memhack.md
Last active December 12, 2015 07:08
aaronsw memorial hacknight
@codersquid
codersquid / chipytalk_20130214.md
Last active December 13, 2015 20:18
links from my chipy open science talk on 2013/02/14
@codersquid
codersquid / welcome_space_patterns.md
Last active December 14, 2015 08:48
I want to observe the success and failure modes of communities so that the communities I am a part of are productive and welcoming

Goal: be able to have hackerspaces and events that are welcoming places where people are able to get things done as well as exchange knowledge and collaborate.

for example, the mission of Pumping Station: One is to foster a collaborative environment wherein people can explore and create intersections between technology, science, art, and culture. How can I personally help make sure this mission never becomes impossible in a community I am a member of?

I want to observe the success and failure modes of communities. What are the right search terms for this?

keywords

  • communities of practice
  • ???
// Using the Jenkins Groovy Post build plugin to execute the following after every build
// https://wiki.jenkins-ci.org/display/JENKINS/Groovy+Postbuild+Plugin
// It would be nice not to have to specify these here... the repo name should be available within the hudson
// api somehow, but I didn't know how to get it. The access token should maybe be saved in a config file, and
// read in at runtime?
GITHUB_REPO_NAME = 'myusername/myreponame'
GITHUB_ACCESS_TOKEN = 'my_github_api_v3_access_token'
@codersquid
codersquid / examplecors.xml
Created December 4, 2013 20:27
example files for setting up s3 bucket policies
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>http://*.researchcompendia.org</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>PUT</AllowedMethod>
<AllowedHeader>*</AllowedHeader>
</CORSRule>
<CORSRule>
@codersquid
codersquid / local.py
Last active October 18, 2018 11:24
troubleshooting for FilterError for Pycon/pycon
# Copy this to local.py and edit.
# Do not add local.py to source control.
# Pick one: import whatever your appropriate settings are for this environment
# (probably ``.dev`` for local development)
from .dev import *
#from .test import *
#from .staging import *
#from .production import *
{
"properties": {
"metadata": {
"required": "true",
"type": "object",
"description": "collection metadata",
"properties": {
"from": {
"type": "number",
"description": "the starting record if currently showing a subset - see query key"
@codersquid
codersquid / default.json
Last active August 29, 2015 13:58
compendiafied pizza.py
{
"rsvp_count": 50,
"verbose": "true",
"meetup_universal_constant": 0.65,
"appetite": 2.5,
"pizza_divisor": 8,
"toppings_distribution": {
"vegan": 0.03,
"meat": 0.33,
"veg": 0.45
@codersquid
codersquid / s3parse.ipynb
Last active September 11, 2017 19:37
simple script to parse s3 access logs -- is brittle and does not handle errors
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@codersquid
codersquid / sched.py
Created May 16, 2014 18:56
one-off script to load up a lot of room slots with breaks
#!/usr/bin/env python
import os
import argparse
import csv
from datetime import datetime
import time
"""