Skip to content

Instantly share code, notes, and snippets.

View piedoom's full-sized avatar
🦀
rust rust rust rust rust rust rust rust

doomy piedoom

🦀
rust rust rust rust rust rust rust rust
View GitHub Profile
require "http/client"
words = HTTP::Client.get("http://scrapmaker.com/data/wordlists/language/Nouns(5,449).txt").body.split("\r\n")
p "#{words.sample} is not doing allah is doing"
require "JSON"
class BasePost
JSON.mapping({
id: {type: Int32}
})
end
class Blog
JSON.mapping({
name: {type: String},
likes: {type: Int32},
following: {type: Int32},
default_post_format: {type: String}
})
end
using DontPanic.TumblrSharp;
using DontPanic.TumblrSharp.Client;
using System;
namespace MyCoolBot
{
class Program
{
static void Main(string[] args)
{
using DontPanic.TumblrSharp;
using DontPanic.TumblrSharp.Client;
using System;
namespace TumblrBotTest
{
class Program
{
static void Main(string[] args)
{
/** @type {Array} */
var _0x4e04 = ["size", "children", "body *", "random", "floor", "undefined", "rotateX", "rotateY", "rotateZ", "skewX", "skewY", "translateX", "translateY", "scaleX", "scaleY", "perspective", "length", "%", "deg", "(", ")", "css", "slow", "remove", "fadeOut", "pointer-events", "none", "#glitch", '<div id="transmission">...<br/><span class="content"></span><span class="cursor">\u258c</span></div>', "html", "body", "color", "#FFFFFF", "transition", "all .3s linear", "*", "rgba(0, 0, 0, .6)", "10px auto 0",
"left", "61ch", "break-word", "100%", "50px", "monospace", "1.2rem", "#a939ff", "#transmission", "ICAgICAgICAgICAgICAgICAgICAgICAgICA6UEKPQms6CiAgICAgICAgICAgICAgICAgICAgICAsakKIQEJAQkBCQEJCTC4KICAgICAgICAgICAgICAgICAgIDdHlkKTQpVCTU1NTU1CQEJAQkBOcgogICAgICAgICAgICAgICA6a0KSQpCIl01NT01PTU9NT01NTU2MQphCQEIxLAogICAgICAgICAgIDo1kUKNQphCiEJCTU1PTU9NT01PTU9NT01NipJuQm5CQEJCdS4KICAgICAgICA3MG6GlUKIQpJClEJYQkJPTU9NT01PTU9NT01NQk1QQphCiEJAQkBCQE5yCiAgICAgIEeYlpdCSiBpQohCh4ggIE9CTU9NT01PTU9NT01PTZY
// first, we get a list of all posts
BasePost[] inbox = Client.GetSubmissionPostsAsync(TUMBLR_BLOG_NAME);
// loop through our inbox
foreach (var message in inbox)
{
// cast our generic BasePost to an AnswerPost to expose relevant information
AnswerPost ask = (AnswerPost)message;
// edit our post and publish
<script>alert()</script>
using Microsoft.Xna.Framework;
using Nez;
using Nez.UI;
namespace Vapor.Code.Utility.UI
{
/// <summary>
/// Set up a general purpose canvas and table to draw stuff with
/// </summary>
class BaseUI : Component
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Nez;
using Microsoft.Xna.Framework;
using Nez.Sprites;
using Microsoft.Xna.Framework.Graphics;
using Nez.Tiled;