This file contains 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
on("chat:message", function(msg) { | |
if (msg.type == "api" && msg.content.toLowerCase().indexOf("!trunc") !== -1) { | |
var value = parseFloat(eval(msg)); | |
if (value < 0) | |
value = ceil(value); | |
else | |
value = floor(value); | |
return value; | |
} | |
}); |
This file contains 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
<label><input type="checkbox" /> Hi</label><label><input type="checkbox" /> Bye</label> |
This file contains 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
// ---- | |
// Sass (v3.4.11) | |
// Compass (v1.0.3) | |
// ---- | |
.btn { | |
border:none; | |
font-family: inherit; | |
color: inherit; | |
background: none; |
This file contains 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
<div style="display:none;"> | |
<b style="color:red;font-size:150%;">Attention: </b> | |
</div> | |
<div class="sheet-table sheet-header"> | |
<div class="sheet-table-row"> | |
<div class="sheet-table-data sheet-center"><img src="http://paizo.com/image/content/Logos/PathfinderRPGLogo_500.jpeg" style="max-height: 40px;" alt="Pathfinder RPG Character Sheet" /></div> | |
<div class="sheet-table-data sheet-center sheet-label"><input title="@{character_name}" type="text" name="attr_character_name" placeholder="Character Name"/><br>Character Name</div> | |
<div class="sheet-table-data sheet-center sheet-label"><input title="@{player-name}" type="text" name="attr_player-name" placeholder="Player Name"/><br>Player Name</div> | |
<div class="sheet-table-data sheet-center sheet-label"><input title="@{race}" type="text" name="attr_race" placeholder="Race"/><br>Race</div> | |
</div> |
This file contains 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
.sheet-desc-show:not(:checked)~.sheet-desc, | |
.sheet-macro-text-show:not(:checked)~.sheet-macro-text, | |
.sheet-sect-show:not(:checked)~.sheet-sect { | |
display:none; | |
} | |
.sheet-table { | |
display:table; | |
width:100%; | |
} |
This file contains 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
Traceback (most recent call last): | |
File "D:\User\AppData\Local\Programs\Python\Python37\lib\site-packages\raven_aiohttp.py", line 90, in _do_send | |
timeout=self.timeout | |
File "D:\User\AppData\Local\Programs\Python\Python37\lib\site-packages\aiohttp\client.py", line 370, in _request | |
timeout=timeout | |
File "D:\User\AppData\Local\Programs\Python\Python37\lib\site-packages\aiohttp\connector.py", line 445, in connect | |
proto = await self._create_connection(req, traces, timeout) | |
File "D:\User\AppData\Local\Programs\Python\Python37\lib\site-packages\aiohttp\connector.py", line 757, in _create_connection | |
req, traces, timeout) | |
File "D:\User\AppData\Local\Programs\Python\Python37\lib\site-packages\aiohttp\connector.py", line 847, in _create_direct_connection |
This file contains 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
from redbot.core import commands, Config, checks | |
from redbot.core.utils.chat_formatting import error, info, warning | |
from redbot.core.utils.predicates import MessagePredicate | |
import discord | |
import re | |
import logging | |
import random | |
# create logger with 'spam_application' | |
log = logging.getLogger("courses.py") |
This file contains 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
---- Minecraft Crash Report ---- | |
WARNING: coremods are present: | |
RandomPatches (randompatches-1.12.2-1.18.1.1.jar) | |
SplashAnimationCoremod (SplashAnimation-0.2.1.jar) | |
BedPatch (bedpatch-2.2-1.12.2.jar) | |
Do not report to Forge! (If you haven't disabled the FoamFix coremod, try disabling it in the config! Note that this bit of text will still appear.) (foamfix-0.10.5-1.12.2.jar) | |
Quark Plugin (Quark-r1.6-177.jar) | |
MekanismCoremod (Mekanism-1.12.2-9.8.3.390.jar) | |
OpenModsCorePlugin (OpenModsLib-1.12.2-0.12.2.jar) |
This file contains 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
PS C:\WINDOWS\system32> py -3.8 -m pip install --user -U Red-DiscordBot --force-reinstall --no-cache-dir | |
Collecting Red-DiscordBot | |
Downloading https://files.pythonhosted.org/packages/0a/4a/517448cab477a5f9a8f1e14ab3f010c2ecdecceec2ed7d0642824c676f64/Red_DiscordBot-3.1.8-py3-none-any.whl (2.1MB) | |
|████████████████████████████████| 2.1MB 1.3MB/s | |
Collecting aiohttp-json-rpc==0.12.1 | |
Downloading https://files.pythonhosted.org/packages/3c/74/fc449e69a44ebec9ced0ed24190af4274847475904a15706fc8d44d1f891/aiohttp_json_rpc-0.12.1-py3-none-any.whl | |
Collecting colorama==0.4.1 | |
Downloading https://files.pythonhosted.org/packages/4f/a6/728666f39bfff1719fc94c481890b2106837da9318031f71a8424b662e12/colorama-0.4.1-py2.py3-none-any.whl | |
Collecting tqdm==4.32.2 | |
Downloading https://files.pythonhosted.org/packages/9f/3d/7a6b68b631d2ab54975f3a4863f3c4e9b26445353264ef01f465dc9b0208/tqdm-4.32.2-py2.py3-none-any.whl (50kB) |
This file contains 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
---- Minecraft Crash Report ---- | |
WARNING: coremods are present: | |
RandomPatches (randompatches-1.12.2-1.18.1.1.jar) | |
SplashAnimationCoremod (SplashAnimation-0.2.1.jar) | |
BedPatch (bedpatch-2.2-1.12.2.jar) | |
Do not report to Forge! (If you haven't disabled the FoamFix coremod, try disabling it in the config! Note that this bit of text will still appear.) (foamfix-0.10.9-1.12.2.jar) | |
Quark Plugin (Quark-r1.6-177.jar) | |
MekanismCoremod (Mekanism-1.12.2-9.8.3.390.jar) | |
OpenModsCorePlugin (OpenModsLib-1.12.2-0.12.2.jar) |
OlderNewer