This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "JSON" | |
class BasePost | |
JSON.mapping({ | |
id: {type: Int32} | |
}) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Blog | |
JSON.mapping({ | |
name: {type: String}, | |
likes: {type: Int32}, | |
following: {type: Int32}, | |
default_post_format: {type: String} | |
}) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DontPanic.TumblrSharp; | |
using DontPanic.TumblrSharp.Client; | |
using System; | |
namespace MyCoolBot | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DontPanic.TumblrSharp; | |
using DontPanic.TumblrSharp.Client; | |
using System; | |
namespace TumblrBotTest | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script>alert()</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |