Skip to content

Instantly share code, notes, and snippets.

View codersquid's full-sized avatar

Sheila Miguez codersquid

View GitHub Profile
@codersquid
codersquid / foo.md
Last active August 29, 2015 14:26
this is an example

header

  • one
  • two
  • three

hello

foo

@codersquid
codersquid / archive.py
Created August 10, 2015 15:12
example scripts so that you can see making an item on archive.org with metadata for that item
#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
I had a script to upload some conference files to archive.org a while back, and I can't remember
if this is the file I used. It could be. It's very krufty. Also, the internetarchive package has
reved a few times since.
this is only for an example
"""
@codersquid
codersquid / djangotalks.csv
Last active August 29, 2015 14:27
Schedule info for Djangocon Europe 2015 provided for pyvideo/pyvideo issue #127 https://github.com/pyvideo/pyvideo/issues/127
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 4 columns, instead of 1. in line 7.
title,speaker,time,description
Welcome,missing,09.00,Welcome to Cardiff
Baptiste's adventures in Djangoland,Baptiste Mispelon,09.20,"Our keynote speaker describes how he tackled burnout by travelling around Europe, eating Welsh cakes, pierogi and stroopwafel."
Avoiding monoliths,Hanna Kollo,10.10,"Hanna explains how to take advantage of Django's flexibility to build modular systems, when working with large projects with ever-changing requirements."
Injecting Django into the work environment,Abdulrahman Alotaibi,10.30,Abdulrahman discusses what makes users willing to switch from one framework or language to another.
Cardiff University Wellbeing service,missing,10.50,A brief introduction to the support the Wellbeing service is offering at the event
Pushing the pony’s boundaries,Ola Sitarska,11.30,"Ola is a Django core developer and has spent five years pushing Django's admin to its limits. She'll discuss some of the things you can do, and some you really should try, with this amazing toolbox."
the Cardiff Maths
@codersquid
codersquid / intro_api.ipynb
Last active October 18, 2015 23:52
Intro API Lesson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@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>
#!/bin/bash
ID=400000 # some large uid outside of typical range, and outside of already mapped ranges in /etc/sub{u,g}id
_UID=$(id -u)
GID=$(id -g)
GROUP=$(id -gn)
# give lxd permission to map your user/group id through
sudo usermod --add-subuids ${_UID}-${_UID} --add-subgids ${GID}-${GID} root
# create a profile to control this, name it after $USER