What do you want to save?
Add Code snippet
New code examples
-
C# 2022-03-14 13:55:02
child component interact with parent component blazor
// 2 methods shown here [Parent.razor] @page "/ParentComponent" <h1>Parent Component</h1> <ChildComponent @bind-Password="_password" /> @code { private string _password; } [ChildComponent.razor] <h1>Chi... Add solution -
Python 2022-03-13 01:20:11
how to make a discord bot in python
import discord from discord.ext import commands bot = commands.Bot(command_prefix="!", description="The description") @bot.event async def on_ready(): print("Ready !") @bot.command() async def ping(ctx): await ctx... Add solution -
Javascript 2022-03-12 14:00:06
discord.js nickname command
const Discord = require('discord.js') exports.run = async (client, message, args) => { if (!message.member.hasPermission('MANAGE_NICKNAMES')) return message.reply(`You cannot use this command as you do not have the \`MANAGE_NICKNAMES\` permission`... Add solution -
Other 2022-03-11 16:40:03
DiscordUtils
import discord from discord.ext import commands import DiscordUtils intents = discord.intents.default() intents.members = True bot = commands.AutoShardedBot(command_prefix=">", intents=intents) tracker = DiscordUtils.InviteTracker(bot) @bot... Add solution -
Other 2022-03-11 10:05:07
create datepicker flutter
import 'dart:async'; import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', home: My... Add solution -
C# 2022-03-11 08:20:09
ef core linq
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace HelloApp { public class Program { public s... Add solution