Skip to content

Instantly share code, notes, and snippets.

View kakarot-dev's full-sized avatar
:electron:
Working on nothin

Axel kakarot-dev

:electron:
Working on nothin
  • India
  • 05:15 (UTC +05:30)
View GitHub Profile
@kakarot-dev
kakarot-dev / nvim.sh
Last active March 25, 2024 17:23
to install my nvim config: https://github.com/kakarot-dev/nvim
brew install neovim
brew install lazygit
git clone https://github.com/kakarot-dev/nvim ~/.config/nvim
@kakarot-dev
kakarot-dev / tmux-setup.sh
Last active March 22, 2024 05:20
Update Tmux to 3.3a. I just copy pasted and changed values.. Had to install autotools-dev, automake, libtool(brew)
sudo apt-get install autotools-dev
sudo apt-get install automake
brew install libtool
ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize
echo alias tmux=\"tmux -u\" >> ~/.bashrc # enable unicode for better looks
exec $SHELL
@kakarot-dev
kakarot-dev / policy.md
Created September 26, 2023 09:59
Alfina - Privacy Policy

Privacy Policy

Introduction

Welcome to Alfina Discord Bot, a bot dedicated to engaging users in fun and interactive discussions about anime. In this Privacy Policy, "Creators," "we," or "us" refer to the owners of the source code, while "You" refers to the person reading this Privacy Policy or accessing our services. "Owner" or "bot owner" refers to anyone with access to the website/service files or Alfina's program/service files.

This Privacy Policy governs your use of Alfina's services and provides insight into:

  • The information we collect about you as a user when you browse this website.
  • How we collect and utilize this information.
@kakarot-dev
kakarot-dev / TOS.md
Last active September 27, 2023 06:08
Alfina - TOS

Alfina Bot Terms of Service

By using the Discord bot "Alfina" (the "Bot") provided by Empowrai (the "Organization"), you agree to comply with the following terms and conditions. If you do not agree to these terms, you should not use the Bot.

1. Usage and Purpose

The Bot is designed to provide specific functionalities within Discord servers, as determined by its developers. You may use the Bot in your Discord server, subject to the conditions outlined in this document.

2. Acceptable Use

#include <iostream.h>
#include <stdio.h>
#include <conio.h>
void main() {
int i,sum = 0;
cout << "Sum of first 10 numbers: ";
for (i = 1; i <= 10; i++) {
sum = sum + i;
}
@kakarot-dev
kakarot-dev / evenodd.cpp
Last active December 5, 2022 16:58
Arihant CS1 Unit Test program
#include <iostream.h>
#include <stdio.h>
#include <conio.h>
void main() {
clrscr();
int n;
cout << "Enter an integer: ";
cin >> n;
@kakarot-dev
kakarot-dev / days.cpp
Last active December 5, 2022 16:57
Arihant C++ Unit Test Program
#include <iostream.h>
#include <conio.h>
#include <stdio.h>
void main() {
clrscr();
int day;
cout << "Enter number in the range 1 - 7 to get the corresponding day: ";
cin >> day;
switch(day) {
@kakarot-dev
kakarot-dev / answers-q1.json
Last active December 5, 2022 11:46
Answers for CS-1 Q1
{
"A": {
"1": "c",
"2": "c",
"3": "a",
"4": "b"
},
"B": {
"1": [
"While loop: It checks the condition, and only then can we execute the statement(s).",
import { afk } from '../../mongoose/schemas/afk-message';
await afk.findOneAndUpdate({ // Update AFK message
guildId,
userId
}, {
guildId,
userId,
{
"include": ["src"],
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"module": "commonjs",
"target": "es2017",
"moduleResolution": "node",
"importHelpers": true,
"sourceMap": true,