Skip to content

Instantly share code, notes, and snippets.

Nikki Stevens drnikki

Block or report user

Report or block drnikki

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@drnikki
drnikki / archive-all-facebook-messages.js
Created Apr 22, 2018 — forked from elibosley/archive-all-facebook-messages.js
Archive all of the messages in your Facebook Messages Inbox
View archive-all-facebook-messages.js
function archive_all(testOnly) {
messages = $("._5blh")
console.log("Found", messages.length, "messages on messsenger.");
if (!testOnly) {
for (i = 0; i < messages.length; i++) {
try {
messages[i].click()// open dialog
$("li:contains('Archive')").last().click()
@drnikki
drnikki / gist:4fe73512cf0d5269d5a65be93c1d4060
Created Jan 4, 2018
community metrics thread from 4 jan 18 dd&i meeting
View gist:4fe73512cf0d5269d5a65be93c1d4060
:three: Community metrics - should this group be working towards specific, measurable goals? What metrics would be meaningful and how would we collect them? The issue has more ideas and prompts for discussion: `https://www.drupal.org/project/diversity/issues/2929249`
What are the things we (as DD&I) want to have an impact on and how can we measure those? What is most meaningful to us? @agentrickard is with us to discuss further.
83 replies
agentrickard [44 minutes ago]
The first question is one of scope: Is this issue about metrics for Drupal, or about metrics for DD&I initiatives?
rubyji [43 minutes ago]
I’m not against the idea of measuring, but this can be SO incredibly fraught with complexity and unintended consequences, so I’d approach this cautiously. Especially the idea of having numeric “goals.”
View test.py
# export PYTHONIOENCODING=UTF-8
# -*- coding: utf-8 -*-
# Replace this string with your API key.
api_key = '----'
# Replace this string with your Library ID
library_id = ----
library_type = 'user'
# Import the libraries we'll need and initialize
@drnikki
drnikki / gist:483fbb3f933427b1a0af9b96237b0615
Created Dec 18, 2017
item['data'] from zotero API using python wrapper
View gist:483fbb3f933427b1a0af9b96237b0615
{ u'DOI': u'10.1007/s00146-013-0473-z',
u'ISSN': u'9783902823205',
u'abstractNote': u"The paper discusses the limitations of engineering ethics as frequently implemented in practice, with a focus on how activities are carried out without considering whether the activities are themselves ethical and the gap between legality and ethics. This leads to the following two central ideas of the paper. The first is the need for engineers to both be aware of and critique their own values and to be able to widen their perspective to that of the 'other' i.e. marginalised and minority groups and the environment. The second is the relationship between individual and collective responsibility and the need for support for ethical engineers.",
u'accessDate': u'',
u'archive': u'',
u'archiveLocation': u'',
u'callNumber': u'',
u'collections': [],
u'creators': [ { u'creatorType': u'author',
u'firstName': u'Marion',
@drnikki
drnikki / oct-30-gov-notes.md
Last active Oct 31, 2017 — forked from AlannaBurke/oct-30-gov-notes.md
Oct 30 Governance Meeting Notes/Takeaways
View oct-30-gov-notes.md

Attendees: Alanna (leading), Nikki, Tara, Fatima, Lyndsey, Heather, Rachel (7 total)

We need a clear values statement, which should include why this statement is necessary - why not having one is adversely affecting the community and what the purpose is.

Instead of worrying about getting the whole community on board, the statment should reflect how things are going forward, full stop.

We need a very clear CoC, which should include as much as we possibly can (look at examples like Geek Feminism) (most agreed to this, some did not) to be clear so there is no question what is not allowed and what the consequences will be. Use language like "includes but is not limited to"

Implementation details to be worked out later (do you agree to CoC by creating a d.o account? downloading Drupal? etc)

View gov1.txt
drnikki [8:55 AM]
Just a reminder that our first governance discussion is going to be right here in 5 minutes.
1 reply Today at 8:55 AM View thread
drnikki
[9:00 AM]
:zero: Welcome to this meeting to discuss Drupal Community Governance! This is one of a series of meetings we are holding in this channel to connect people who are interested in governance with each other, provide a forum for people to share their thoughts, and empower the community to determine the next steps. Additional background can be found at: https://www.drupal.org/association/blog/evolving-community-governance-survey-results-and-a-call-to-action
:one: This meeting is text-only. There is no audio or video component.
:two: The entire slack transcript will be recorded and available after this meeting. This means that we’ll be copying and pasting the chat, including usernames, and pasting it into a gist (or other format) to be linked at the bottom of the scheduling google doc - https://docs.google.com/document/d/1jDNAoZtU4S6hrAA6BlS3Fhx
View oss.md

All of this is probably more relevant to communities making tech products, but hope this helps:

Non-academic

typical go-to code of conduct http://contributor-covenant.org/

Mozilla has been doing thinking and writing about OSS community D&I and there's implications for community structure, leadership and interactions https://medium.com/mozilla-open-innovation/a-time-for-action-innovating-for-diversity-inclusion-in-open-source-communities-6922fef4675e https://medium.com/mozilla-open-innovation/reflection-inclusive-organizing-for-open-source-communities-9c44f0b689c1 http://contributor-covenant.org/

@drnikki
drnikki / phpmd_drupal_ruleset.xml
Created Feb 21, 2017 — forked from therealssj/phpmd_drupal_ruleset.xml
PHP Mess Detector Ruleset for Drupal.
View phpmd_drupal_ruleset.xml
<?xml version="1.0"?>
<ruleset
name="PMD Ruleset for Drupal"
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd"
>
<rule ref="rulesets/unusedcode.xml" />
<rule ref="rulesets/codesize.xml">
<exclude name="ExcessiveMethodLength" />
View gist:bf48f30b73cd1a09e67080faaa2d88d1
BADCamp Links
Nelson the bald hedgehog:
http://metro.co.uk/2016/10/20/bald-hedgehog-gets-daily-massages-with-almond-oil-to-keep-his-skin-soft-and-smooth-6203518/
Legal Justice Hackathon
http://www.techforjustice.org/legal-justice-hackathon/
Volunteer at Crisis Text Line
http://crisistextline.org/volunteer
@drnikki
drnikki / probo.md
Last active Mar 2, 2016
Drupal 8 probo setup
View probo.md

Repo configuration

The repo contains drupal core, some vagrant configuration for local development, a db starting place, and some scripts. The repo root looks like:

- drupal
-- sites/default/settings.php
- db
- scripts
- vagrant

Local development

You can’t perform that action at this time.