Skip to content

Instantly share code, notes, and snippets.

View daggy1234's full-sized avatar
🏠
OSS

Arnav Jindal daggy1234

🏠
OSS
View GitHub Profile
from rpc_echo_python_client import Connection, HelloRequest
c = Connection("0.0.0.0:5000")
req = HelloRequest("Hello Request")
o = c.say_hello(req)

Fun fact : a lightbulb has been on since 1901 in a region of siberia. Ivan Popov discovered that electricity could be extracted from the ground in the region as the soil is mineral rich, and the water table is high. This discovery has allowed the earth to accomplish this remarkable feat

Fun fact : the covalent character of ionic bonds was discovered as a result of a similar mathematical error. George Smith made a mathematical error while calculating the lattice energy of a compound, and ended up with the result he expected despite the error. When his assistant discovered the error, he devised the theory used today

Fun fact : Hydrated salts were the result of a paranoid geologist. Johnathan Everard began the practice of baking samples obtained in the field to kill microbes, believing that doing so would prevent him from contracting tetanus. A difference in mass before and after baking observed with one of the samples led him to this path paving discovery

Fun fact : In 2015 Dalia Scott, a student at the M

@daggy1234
daggy1234 / .DS_Store
Last active August 13, 2022 06:58
Daggy Sublime Config
Bud1inusdsclTerminusdsclbool

Keybase proof

I hereby claim:

  • I am daggy1234 on github.
  • I am daggy1234 (https://keybase.io/daggy1234) on keybase.
  • I have a public key whose fingerprint is 2731 9695 EA53 0C14 B407 DD78 0F09 0C6A BF97 41E2

To claim this, I am signing this object:

This file has been truncated, but you can view the full file.
/*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
/*
Document
========
*/
/**
Use a better box model (opinionated).
*/
@daggy1234
daggy1234 / discord.css
Last active May 11, 2021 16:02
Powercord CSS
/* I do not own these CSS sinpets. This is just a config I like using. */
/* Sorry I forgot what this is */
.theme-dark .regionSelectModal-12e-57 {
background: var(--background-primary) !important;
}
.theme-dark .regionSelectModalOption-2DSIZ3 {
background: var(--background-secondary) !important;
border-color: var(--background-secondary-alt) !important;
}

Dpy Bot on a VPS

Hosting a bot on ubuntu is not that hard. For this tutorial we will be using ubuntu 20.0.4 and putty on a linux machine to host our bot.

Its a good idea to know git and basic bash before deploying your first app

Begin by connecting to your vps. You should follow the connection instructions on your VPS provider.

Find below the official (and good guides) for connecting to you machine.