Skip to content

Instantly share code, notes, and snippets.

View txj-xyz's full-sized avatar
😁
probably coding

txj-xyz txj-xyz

😁
probably coding
View GitHub Profile
@txj-xyz
txj-xyz / index.html
Created July 7, 2022 18:53
setMovable(false) Aero-Shake bug
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'">
<link href="./styles.css" rel="stylesheet">
<title>Hello World!</title>
</head>
<body>
@txj-xyz
txj-xyz / custom.css
Created April 8, 2018 20:45
initial push
.container-RYiLUQ { background-color: #f3f3f3; }
.inner-ptMwR- { color: black; }
.channel-3YGMy1 { color: black; }
.name-3gtcmp { color: #2a2c31; }
.button-3WJ5FX { background-color: #2a2c31; }
.container-iksrDt { color: #2a2c31; background: #f3f3f3; }
.nameSpeaking-3ROx9q { color: #2a2c31; }
.container-3lnMWU { color: #2a2c31; background: #f3f3f3; }
.nameHovered-28u_Fz { color: red; }
.nameHoveredVoice { color: red; }
@txj-xyz
txj-xyz / removeBlocked.js
Created March 27, 2018 22:03
added user blocking support
'use strict';
(function() {
var styleOverrides = [
// remove blocked users messages automagically.
".message-group-blocked { display:none; }"
];
var style = document.getElementsByClassName("guildlistOverrideStyle")[0];
if (!style) {
style = document.createElement("style");
@txj-xyz
txj-xyz / link_grabber.php
Created March 19, 2018 23:37
Grabs all links from a URL.
@txj-xyz
txj-xyz / TXJComputerSpecs2018.md
Last active July 28, 2018 17:28
Computer Specs 2018
<?php
$json = '{
"Message360": {
"ResponseStatus": 0,
"Errors": {
"Error": [
{
"Code": "ER-M360-EML-104",
"Message": "Please enter a correctly formatted email address.",
.message-group-blocked{
display:none;
}
@txj-xyz
txj-xyz / evaldiscordie.js
Last active May 22, 2016 06:24
evaldiscordie.js
if(msg[0] == "!eval2" && e.message.author.id === "67757683851132928"){
try{
e.message.channel.sendMessage("```javascript\n" + eval("require('util').inspect(" + args + ")") + "```")
return
}catch(err){
e.message.channel.sendMessage(":thumbsdown: `" + err + "`")
return
}
}
if(msg[0] == "!eval" && e.message.author.id === "67757683851132928"){
if(msg[0] == config.prefix + "tag" && e.message.author.id === config.bot_owner){
var entryName = String(msg[2])
var objName = String(msg[1])
var entry = tagsfile["commands"][objName];
var existsEntry = tagsfile["commands"][entryName]
if(msg[1] == "add"){
if(!args2) return;
if(existsEntry) return e.message.edit("exists :thumbsdown:")
var obj = require("./blocklist.json");
var newentry = args2;
@txj-xyz
txj-xyz / discordCompact.css
Last active June 8, 2016 11:35
For ShitDiscord Overlays
.guild-header header {
height: 45px;
font-size: 15px;
padding: 0 18px;
box-shadow: none;
}
.guild-header header span { line-height: 46px; }
.guild-header header button { margin-top: -2px; }