Skip to content

Instantly share code, notes, and snippets.

View Moonshot120's full-sized avatar

Moonshot Moonshot120

View GitHub Profile
@Moonshot120
Moonshot120 / delete_all_tweets.py
Created June 17, 2020 02:16 — forked from davej/delete_all_tweets.py
This script will delete all of the tweets in a specified account.
# -*- coding: utf-8 -*-
"""
This script will delete all of the tweets in the specified account.
You may need to hit the "more" button on the bottom of your twitter profile
page every now and then as the script runs, this is due to a bug in twitter.
You will need to get a consumer key and consumer secret token to use this
script, you can do so by registering a twitter application at https://dev.twitter.com/apps
@requirements: Python 2.5+, Tweepy (http://pypi.python.org/pypi/tweepy/1.7.1)
@Moonshot120
Moonshot120 / SpokeImpersonator
Last active February 17, 2021 17:45
#Servicenow #ScriptIncludes
var ScopedImpersonator = Class.create();
ScopedImpersonator.prototype = {
initialize: function() {
},
impersonateUser : function(impersonate_to){
return gs.getSession().impersonate(impersonate_to);
},
type: 'ScopedImpersonator'
};
@Moonshot120
Moonshot120 / prettylogs.js
Created December 12, 2019 18:35
Prettier logs #Servicenow
var exampleObj = {
"name": "Tim",
"age": 31,
"groovy": true,
"dogs": [
{
"name": "Ezri",
"age": 1
},
{