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
| [T]he difference between a bad programmer and a | |
| good one is whether he considers his code or his | |
| data structures more important. Bad programmers | |
| worry about the code. Good programmers worry about | |
| data structures and their relationships. | |
| -- Linus Torvalds | |
| ~~~ | |
| Clarity and brevity sometimes are at odds. | |
| When they are, I choose clarity. | |
| -- Jacob Kaplan-Moss |
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
| diff --git a/bot/cogs/pavlov.py b/bot/cogs/pavlov.py | |
| index e535051..be542fb 100644 | |
| --- a/bot/cogs/pavlov.py | |
| +++ b/bot/cogs/pavlov.py | |
| @@ -9,7 +9,7 @@ import aiohttp | |
| import discord | |
| from discord.ext import commands | |
| -from bot.utils import Paginator, aliases, servers | |
| +from bot.utils import Paginator, aliases, servers, config |
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
| yarn.lock schema=yarn |
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
| const ffffff = 16777215 // hex -> decimal | |
| const decimal = Math.floor(Math.random() * ffffff) | |
| const hex = '#' + decimal.toString(16) |
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
| Verifying my Blockstack ID is secured with the address 14ZqTZFQYuBWEWs51BiarZ6oeCCjfFBwKp https://explorer.blockstack.org/address/14ZqTZFQYuBWEWs51BiarZ6oeCCjfFBwKp |
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
| someAsync() | |
| .then( | |
| (success) => { | |
| console.log('success1') | |
| }, | |
| (error) => { | |
| console.log('failed1') | |
| }) | |
| .catch(error => { |
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
| /* | |
| * You define global sass variable called "$theme" | |
| * currently specified in sassLoader option in webpack.config | |
| * | |
| */ | |
| @mixin themify($property, $default, $light-theme) { | |
| @if $theme == 'light' { | |
| :root { | |
| --#{$property}: $light-theme; |