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
/* @settings | |
name: Floating Sidebar Tabs | |
id: floating-tabs | |
settings: | |
- | |
id: floating-sidebar-tabs | |
title: Enable | |
description: Enables floating sidebar tabs. | |
type: class-toggle |
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
export class SampleSettingTab extends PluginSettingTab { | |
plugin: MyPlugin; | |
settingsPage: HTMLElement; | |
YOUR_TABS = { | |
'first-tab-id': { | |
name: 'First tab', | |
icon: 'coffee', | |
}, | |
'second-tab-id': { |
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
body { | |
display: flex; | |
} | |
.modal-container { | |
position: relative; | |
visibility: hidden; | |
justify-content: flex-end; | |
width: auto; | |
} |
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
const { SlashCommandBuilder } = require("@discordjs/builders"); | |
const rp = require("request-promise"); | |
const { MessageEmbed, MessageAttachment } = require("discord.js"); | |
const { ChartJSNodeCanvas } = require("chartjs-node-canvas"); | |
let chartEmbed = {}; | |
// This function will return MessageAttachment object from discord.js | |
// Pass as much parameter as you need | |
const generateCanva = async (labels, datas) => { | |
const renderer = new ChartJSNodeCanvas({ width: 800, height: 300 }); |
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
<%* | |
/* | |
# MetaEdit | |
Made by Christian B. B. Houmann | |
Discord: Chhrriissyy#6548 | |
Twitter: [https://twitter.com/chrisbbh](https://twitter.com/chrisbbh) | |
Feel free to @ me if you have any questions. | |
Link to Gist: [Quick edit for YAML properties and Dataview inline fields · GitHub](https://gist.github.com/chhoumann/2a90b203a4faaa35971a83f9e7f29d99) | |
Use that to check for updates. :) |
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
let cache; webpackChunkdiscord_app.push([["wp_isdev_patch"], {}, r => cache=r.c]); | |
var UserStore = Object.values(cache).find(m => m?.exports?.default?.getUser).exports.default; | |
var actions = Object.values(UserStore._dispatcher._actionHandlers._dependencyGraph.nodes); | |
var user = UserStore.getCurrentUser(); | |
actions.find(n => n.name === "ExperimentStore").actionHandler.CONNECTION_OPEN({ | |
type: "CONNECTION_OPEN", user: {flags: user.flags |= 1}, experiments: [], | |
}); | |
actions.find(n => n.name === "DeveloperExperimentStore").actionHandler.CONNECTION_OPEN(); | |
webpackChunkdiscord_app.pop(); user.flags &= ~1; "done"; |
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
cmd /c ""C:\Program Files (x86)\Git\bin\bash.exe" --login -i -- H:\Daily_Reports\yesterdayTogglReport.sh" |