Skip to content

Instantly share code, notes, and snippets.

View kuzyn's full-sized avatar

kuzyn kuzyn

View GitHub Profile
@kuzyn
kuzyn / facebook-mass-delete-group-members.js
Last active March 3, 2016 15:03 — forked from AaronRM/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 = ['100009236033963','612270518']; // make sure each id is a string!
var usersToDeleteQueue = [];
var scriptEnabled = false;
var processing = false;
deleteAllGroupMembers.start = function() {
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
kuzyn@oceanbox:/etc/nginx/sites-available$ cat www
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
var socket = io.connect('/');
//////////////
// Handlers //
//////////////
// fire when socket.io is connected to the back-end
socket.on('connect', function() {
getEntries(3);
});
@kuzyn
kuzyn / keybase.md
Created September 23, 2018 10:26
keybase.md

Keybase proof

I hereby claim:

  • I am kuzyn on github.
  • I am kuzyn (https://keybase.io/kuzyn) on keybase.
  • I have a public key whose fingerprint is AB63 D607 DB10 E269 6552 8E00 38B6 2626 59BD 2677

To claim this, I am signing this object:

class TweetStream {
Queue tweetQueue;
ArrayList<Tweet> collection;
boolean firstSave = true;
TweetStream() {
collection = new ArrayList();