Skip to content

Instantly share code, notes, and snippets.

View abiriadev's full-sized avatar
|| -> Result<_, !> { Abiria()? }

Abiria abiriadev

|| -> Result<_, !> { Abiria()? }
View GitHub Profile
@abiriadev
abiriadev / .travis.yaml
Created June 10, 2021 11:26
my .travis.yaml
language: node_js
node_js: – 16.0.0
install: – npm install
script: node ./index.js
before_script: echo befor script
after_script:
ipsum
@abiriadev
abiriadev / scorebot.py
Last active June 25, 2021 19:16
scorebot.py
import discord, asyncio, os
from dotenv import load_dotenv
load_dotenv()
score = {}
client = discord.Client(intents=discord.Intents.all())
@abiriadev
abiriadev / react.py
Created June 25, 2021 19:05
discord.py reactions
import discord, asyncio, os
from discord.guild import Guild
from dotenv import load_dotenv
load_dotenv()
client = discord.Client(
intents=discord.Intents(
dm_reactions=True,
guild_reactions=True,
@abiriadev
abiriadev / increaseID.ts
Created July 6, 2021 10:58
increaseID.ts
export default (() => {
let id = 0
return () => ++id
})()
@abiriadev
abiriadev / scaffolding.scss
Created July 8, 2021 10:41
scaffolding border code
@mixin bo($color: red, $width: 2px, $style: solid) {
border-color: $color;
border-width: $width;
border-style: $style;
}
@abiriadev
abiriadev / utils.scss
Created July 8, 2021 17:33
flex center mixin
@mixin center($inline: 'no') {
@if ($inline == 'inline') {
display: inline-flex;
} @else {
display: flex;
}
justify-content: center;
align-items: center;
}
@abiriadev
abiriadev / butten.scss
Created July 9, 2021 01:01
material button css snippet
button {
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
@abiriadev
abiriadev / .prettierrc
Last active November 17, 2021 07:45
my .prettierrc config file
{
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"semi": false,
"singleQuote": true,
"quoteProps": "as-needed",
"jsxSingleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
@abiriadev
abiriadev / #8724.aheui
Created September 8, 2021 10:30
#8724.aheui
밝발따뮿타다뭉
풍앏뗠빵뼝벽멍
망망희뱕뵥빠볃