Skip to content

Instantly share code, notes, and snippets.

View velddev's full-sized avatar
Fancying a drink

Mike velddev

Fancying a drink
View GitHub Profile
@velddev
velddev / verify.js
Last active August 27, 2022 16:37
verify miki custom command
// If the user is already verified and has the verified role, we do not need them to verify again
if (author.roles.has(664058556244557844)) then
say("you are already verified :)");
stop();
end
// all characters that will be used to create the verification code.
var codeList = ["A", "B", "C", "D", "E", "F", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0"];
@velddev
velddev / js.cs
Created August 22, 2020 19:29
playing with interpreters
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace random_interpreter
{
class Program
{
static void Main(string[] args)
{
-- pkg cli
local fs = require("filesystem")
local http = require("http")
local shell = require("shell")
local args, ops = shell.parse(...)
local b =
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
.. "abcdefghijklmnopqrstuvwxyz"
@velddev
velddev / file.c
Last active December 18, 2019 19:17
C style weird unmaintainable string type???
#include <stdlib.h>
#include <stdio.h>
#define result(type) type ## Result
#define __decl_result(type) typedef struct type ## __result{ \
type *value; \
char* errorMsg; \
} type ## Result; \
\

Miki v0.4.2

Additions

General

  • Added cards api
  • Added imageboard api

Accounts Module

  • Added lb and leaderboard aliases.
  • Added leaderboard pages.

Keybase proof

I hereby claim:

  • I am velddev on github.
  • I am veld (https://keybase.io/veld) on keybase.
  • I have a public key whose fingerprint is D2DE 8D4C 87E3 A021 8111 6C7E EF82 8D93 388B CC2B

To claim this, I am signing this object:

@velddev
velddev / miki-patchlog-0199.txt
Last active February 11, 2017 21:56
Update log 0.1.99
Update 0.1.99
-------------------------------------------
So, as we all know. 0.1.98 was quite a buggy build. and a lot broke in API's. So here's a massive log that contains all the fixes of the last few weeks
Ask
Ask about your favourite person's day with our new >ask command!
Clean and purge
are back and more amazing than ever!