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 / 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)

@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 Install Selenium on the VM
mkdir /var/selenium
cd /var/selenium
# get selenium jar
wget http://selenium-release.storage.googleapis.com/2.46/selenium-server-stan dalone-2.46.0.jar
#install java
sudo apt-get install openjdk-7-jre-headless.
# get headless browser
sudo apt-get install firefox.
@drnikki
drnikki / google_twunter_lol
Created Jul 30, 2012 — forked from jamiew/google_twunter_lol
All the dirty words from Google's "what do you love" project: http://www.wdyl.com/
View google_twunter_lol
easterEgg.BadWorder.list={
"4r5e":1,
"5h1t":1,
"5hit":1,
a55:1,
anal:1,
anus:1,
ar5e:1,
arrse:1,
arse:1,
@drnikki
drnikki / git last
Created Nov 30, 2011 — forked from joshuajabbour/git last
Shows all local and remote commits for X user over the last Y days. Add to your .gitconfig -- Usage: `git last Y X` (author name can be partial)
View git last
[alias]
last = "!fn() { S=1; A=`git config --get user.name`; if [ -n \"$1\" ]; then S=\"$1\"; shift; fi; if [ -n \"$1\" ]; then if [ \"$1\" != \"me\" ]; then A=\"$1\"; fi; shift; fi; git log -i --since=\"$S days ago\" --author=\"$A\" --branches --remotes --format='%C(yellow)%t%Creset %s (%an)' \"$@\"; }; fn"
@drnikki
drnikki / .gitconfig
Created Nov 30, 2011 — forked from joshuajabbour/.gitconfig
Git Config: Rename this file ".gitconfig" and place inside your home directory.
View .gitconfig
##
# This file should be renamed ".gitconfig" and placed inside your home directory.
##
[user]
name = YOUR_NAME
email = YOUR_EMAIL
[github]
user = YOUR_GITHUB_USERNAME
token = YOUR_GITHUB_TOKEN
@drnikki
drnikki / about.md
Created Aug 10, 2011 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
View about.md
You can’t perform that action at this time.