Download Policies (Please Read):
- You are free to use this, free of charge.
- No attribution is needed, but would be nice.
- Please follow the usage policies at https://design.ubuntu.com/brand/ubuntu-logo
Download Policies (Please Read):
// 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. |
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:") | |
} |
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 |
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: { |
{ | |
"name": "Casa Dark", | |
"logo": "https://shuga.co/casa/CasaDark.png", | |
"author": "Shuga", | |
"description": "The default dark mode for the Casa home page.", | |
"styles": [ | |
{ | |
"containerBackground": "background:#222222", | |
"label": "color:#eeeeee", | |
"caption": "color:grey", |
#!/bin/bash | |
if [ -n "${2+set}" ]; then | |
echo "Music file at '$1' selected" | |
ffmpeg -i "$1" -filter:a "atempo=1.5, asetrate=r=48K" -metadata composer="nightcore.sh - by HeyItsShuga" -loglevel quiet -write_xing 0 $3 -vn "$2" | |
else | |
echo "nightcore <input.mp3> <output.mp3> [\"-flags\"]" | |
echo "Running nightcore.sh stable 1.0.1" | |
fi | |
############################################################ |