Skip to content

Instantly share code, notes, and snippets.

Avatar

Shuga Shugabuga

View GitHub Profile
View twitter.txt
NOTE: All requests must have a proper oAuth authorization header.
List all current welcome messages:
GET https://api.twitter.com/1.1/direct_messages/welcome_messages/rules/list.json
Create new template:
POST https://api.twitter.com/1.1/direct_messages/welcome_messages/new.json
Data: {
@Shugabuga
Shugabuga / SmashAdditionsBotTransparency.txt
Created Sep 26, 2018
The message sent to Twitter regarding how @SmashAdditions functions and deals with user data and Twitter functionality..
View SmashAdditionsBotTransparency.txt
Hello. I am Shuga (the operator of Smash Additions Bot) and I am looking to ensure the continued operation of my Twitter bot account, @SmashAdditions, indefinitely. The bot has one simple goal: every hour, the account will automatically choose a random video game character from most known video games (sourced by GiantBomb [https://giantbomb.com]'s API and Wiki), put it in a template card resembling those released by Nintendo for fighters in the new Super Smash Bros game, and post the final composite image onto the Twitter account. The account uses the sourced images under licenses provided by GiantBomb and under fair use as parody. The account is not connected to any commercial interests and is purely an educational project to refine my skills in Python, Pillow, and the requests library with self-taught knowledge.
The application in question (that is, the one that posts the generated images to the @SmashAdditions Twitter account) does not do any analysis or data-mining with any users following or interacting
@Shugabuga
Shugabuga / follow_analysis.js
Last active Aug 27, 2018
A following analysis script for Mastodon.
View follow_analysis.js
var mode = 1
// mode 1: following
// mode 2: followers
if(mode == 1) {
console.warn ("Followed Users Breakdown:")
} else if(mode == 2) {
console.warn ("Follower Breakdown:")
}
@Shugabuga
Shugabuga / README.md
Last active May 9, 2018
Some Twitter DM experiment [Twitter Web // Full]
View README.md

The Shittiest Twitter Bot™️

The code is a mess.

Limitations

  • Can only process one command every 0.5 seconds.
  • Your window must remained focus
  • You cannot use the computer the bot is running on.
  • Not totally autonomous: must be open on a specific DM thread to work.
@Shugabuga
Shugabuga / readme.md
Last active Aug 8, 2020
Eclipse Repos
View readme.md

Eclipse Repos

Introduction

Repos for Eclipse are designed to make it easy to distribute your collection of ROMs to friends and family.

Due to legal reasons, distributing copyrighted ROMs is highly discouraged. Keep this in mind if you want to make a featured ROM.

Porting

@Shugabuga
Shugabuga / shugaGreeter.js
Last active Nov 13, 2017
Greeter for the JavaScript console.
View shugaGreeter.js
// Paste this into your JavaScript console. Seems to work in all browsers but Firefox.
console.log("%c_____%c Welcome to shuga.co!%c\nHi, I'm Shuga. Given that you are in the JavaScript console, I assume you're into computers in some degree. If so, you should check out my Twitter (@HeyItsShuga) or my GitHub (@Shugabuga), as I have some content that might interest you (such as cybersecurity and programming).", "background-image:url('https://shuga.co/inspectLogo.png');font-size:45px;font-family:'Times New Roman';color:transparent", "font-family:'PT Sans Caption';font-size:48px", "font-family:'PT Sans Caption';font-size:16px")
// Inspired off of console.image by adriancooney and James Martindale's implementation, but no code is shared.
View The Bot List.md

The Bot List

Summary

The Bot List is a list of accounts that are believed to be a part of the TweetsTool botting network.

These bots tend to like, retweet, follow, and reply to innocent's accounts, and has various accounts under its control.

It's like a list of suspected zombie accounts.

View favicon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Shugabuga
Shugabuga / README.md
Last active Jul 31, 2017
Ubuntu Logo Vector
View README.md
@Shugabuga
Shugabuga / index.py
Created Jul 18, 2017
AmIShadowBanned Source Code
View index.py
# Licensed under MIT. In addition to those terms, you must credit me (@HeyItsShuga) publicly, I suggest in the account's bio.
import twitter
import sched, time
def botProcess(sc):
api = twitter.Api(consumer_key='',
consumer_secret='',
access_token_key='',
access_token_secret='')
results = api.GetSearch(term='"Am I Shadowbanned"')
You can’t perform that action at this time.