Skip to content

Instantly share code, notes, and snippets.

View AbdealiLoKo's full-sized avatar

AbdealiLoKo AbdealiLoKo

  • Corridor Platforms
  • Bengaluru
View GitHub Profile
@AbdealiLoKo
AbdealiLoKo / delete-slack-messages.js
Last active July 28, 2019 13:30 — forked from firatkucuk/delete-slack-messages.js
Deletes slack public/private channel and chat messages.
#!/usr/bin/env node
// To get stats on all channels, call:
// node ./delete-slack-messages.js
// To delete messages for a particular channel, get the Channel ID and pass as a param:
// node ./delete-slack-messages.js CHANNEL_ID
// Channel ID is on the the browser URL.: https://mycompany.slack.com/messages/MYCHANNELID/
// CONFIGURATION #######################################################################################################
@AbdealiLoKo
AbdealiLoKo / d3-3.3.6.js
Created July 6, 2018 04:37
Dagre-D3 files
d3 = function() {
var d3 = {
version: "3.3.6"
};
if (!Date.now) Date.now = function() {
return +new Date();
};
var d3_arraySlice = [].slice, d3_array = function(list) {
return d3_arraySlice.call(list);
};
@AbdealiLoKo
AbdealiLoKo / 00 - Intro to Jupyter.ipynb
Created September 24, 2016 10:24
WIkimedia Hackathon - Bits Pilani Hyderabad Campus
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AbdealiLoKo
AbdealiLoKo / file_metadata_bot.py
Last active June 23, 2016 22:46
A bot made with pywikibot and file-metadata
#!/usr/bin/python
# -*- coding: utf-8 -*-
from __future__ import (division, absolute_import, unicode_literals,
print_function)
import datetime
import os
import sys