Skip to content

Instantly share code, notes, and snippets.

View lindsaymarkward's full-sized avatar

Lindsay Ward lindsaymarkward

View GitHub Profile
@evansneath
evansneath / Python3 Virtualenv Setup
Last active March 7, 2022 16:31
Setting up and using Python3 Virtualenv
To install virtualenv via pip
$ pip3 install virtualenv
Note that virtualenv installs to the python3 directory. For me it's:
$ /usr/local/share/python3/virtualenv
Create a virtualenvs directory to store all virtual environments
$ mkdir somewhere/virtualenvs
Make a new virtual environment with no packages
@vporoshok
vporoshok / tox.ini
Created August 28, 2014 07:08
My tox.ini with tests, coverage, flake8 and pylint (default without refactory, docstring check and review, use `tox -e refactory` to see how you can get better code)
[tox]
envlist = flake8,pylint,py27,coverage
skipsdist = True
[tox:hudson]
downloadcache = {toxworkdir}/_download
[testenv:flake8]
deps = flake8
@AaronRM
AaronRM / facebook-mass-delete-group-members.js
Last active March 23, 2018 14:51 — forked from michaelv/facebook-mass-delete-group-members.js
This javascript removes all users from a facebook group. It works with the new facebook layout. Paste this in the javascript console. Script tested in Firefox. Known issues: 1. when facebook responds slowly, the script might experience hickups.. 2. occasionially, the error 'this user is not a member of the group' pops up.. IMPORTANT: add your ow…
var deleteAllGroupMembers = (function () {
var deleteAllGroupMembers = {};
// the facebook ids of the users that will not be removed.
// IMPORTANT: add your own facebook id here so that the script will not remove yourself!
var excludedFbIds = ['1234','11223344']; // make sure each id is a string!
var usersToDeleteQueue = [];
var scriptEnabled = false;
var processing = false;
deleteAllGroupMembers.start = function() {