Skip to content
Open navbar menu
Sign UpLog In
Profile icon

Rohil Patel

@RohilPatel
Dream big, Make big, Be big
GitHub
Website
  • Apple Music Rich Presence for Discord

    Cover page
    Made with Node.js

    Discord Rich Presence for Apple Music (works on Mac and Windows)

    Recent comments (9)
    YahyeHassan1
    YahyeHassan1
    1 year ago

    Eh

    CoderGautamYT
    CoderGautamYT
    1 year ago

    Nice

    RohilPatel
    RohilPatel
    1 year ago

    Instructions for installation are in the README of this project, and are on my Github

RohilPatel
RohilPatel
published a Repl
•1 year ago
3
Apple Music Rich Presence for Discord
Apple Music Rich Presence for DiscordDiscord Rich Presence for Apple Music (works on Mac and Windows)
RohilPatel
RohilPatel
Instructions for installation are in the README of this project, and are on my [Github](https://github.com/rohilpatel1/Apple-Music-Rich-Presence)1 year ago
CoderGautamYT
CoderGautamYT
Nice1 year ago
RohilPatel
RohilPatel
published an Update
•1 year ago
0
pi
pi
pi!
This is some code that evaluates pi. However, the series from 0 to infinity of (-1)^n (4/(2n+1)) takes a very long time to converge. That is why it isn't accurate and if you guys have any suggestions on how to make it faster so I can take the sum of more terms let me know!
RohilPatel
RohilPatel
published an Update
•2 years ago
0
Area under the curve (left riemann sum)
this is a calculator that finds the area under the curve...almost...as an estimate
RohilPatel
RohilPatel
published an Update
•2 years ago
2
C++ Base 10 to Binary Converter
This post is the first one I've done in a while. Sorry, I've been in school lol. Anyways, although this post looks like very little, it took a lot of time to make simply because of how much brain power needed to be put into this, since I did it manually. Essentially what this can do is convert your base 10 into base 2. Lemme know if you want this in reverse! or maybe any other base of ur choice ;)
RohilPatel
RohilPatel
shared a Post
•2 years ago
Get Your Weather In Your Terminal First off, where have you been??? Ok, our school was finally in person and I had not been in school for a while an
Aerial-CLI
Node.js
FlaminHotValdez
FlaminHotValdez
kinda off lol the high where I live is 87 and low is 60... repl gave me 99 and 55 (This is fahrenheit btw)2 years ago
Whippingdot
Whippingdot
maybe try to change it so you can input city names instead?2 years ago
OldWizard209
OldWizard209
I don't know why this is overrated. I see that you are using openweathermap's API, and putting in the latitude and longitude of the places. But openweathermap has loads of more functionality, like you can put in the city name rather than the latitude, longitude. I made this a while back with relatively elegant CSS, aswell as metric, imperial and kelvin options, but all I got was 3 upvotes image RESULT: image i am not hating or being bitter or anything, I am just saying you could take this a 2 years ago
RohilPatel
RohilPatel
shared a Post
•2 years ago
Google Api Usage and Setup Tutorial A while back I had made a tutorial on how to use the google api. It had recieved a lot of attention and I decided
Google API (Updated 5/7/2021)
HTML, CSS, JS
yeetboy123
yeetboy123
@RohilPatel please look at my other post2 years ago
yeetboy123
yeetboy123
Bruh this happened: image2 years ago
DillonB07
DillonB07
Not sure that this is supposed to happen? It is your demo code embedded in the post that I am using. Screenshot 2021-05-27 at 18.04.182 years ago
RohilPatel
RohilPatel
published a Repl
•2 years ago
2
Express.js Template
Express.js TemplateProvides a nice, easy to use express/ejs template.
RohilPatel
RohilPatel
shared a Post
•3 years ago
I use firebase quite frequently, and I don't really enjoy putting my object into .env, even though I have to. With this new project, which is more pr
JSON to Env
HTML, CSS, JS
BobTheTomatoPie
BobTheTomatoPie
I mean this in no offense, but compared to your other projects this is kinda low effort, cause I mean you make awesome stuff, but this is like 29 lines that just rearange the text basically, and please don't take this offensively, i'm just saying you could do better than this3 years ago
zplusfour
zplusfour
its awesome btw, can you replace whitespaces with underscore? because you can't store environment variables with whitespaces: image3 years ago
ch1ck3n
ch1ck3n
You know, people always give up when the first result of google search isn't very good, but there's about 500 good projects on repl.it that they can use3 years ago
RohilPatel
RohilPatel
shared a Post
•3 years ago
Typing WPM Test! Hey everyone, I made a words per minute test to calculate accuracy and speed! On my iPad, I scored 42 words per minute! See if you c
Words Per Minute
HTML, CSS, JS
tussiez
tussiez
Aww image3 years ago
BenjaminOBrien
BenjaminOBrien
"60wpm 60/60 accuracy" definitely not the most accurate considering you have a delay of pressing enter but good stuff3 years ago
nameless12321
nameless12321
45 ( i always get that exact score on wpm test ;-; )3 years ago
RohilPatel
RohilPatel
shared a Post
•3 years ago
#cpp
#javascript
#expresso
Express.js Template What this package includes Ejs in HTML files RenderFile Function Default ejs templates The RenderFile Function Renders html fil
Express.js Template
Node.js
EpicGamer007
EpicGamer007
the great thing about this is that now i can finally use emmett while writing html (ejs) files!3 years ago
JuanR4140
JuanR4140
so cool lol3 years ago
RohilPatel
RohilPatel
hi3 years ago
RohilPatel
RohilPatel
shared a Post
•3 years ago
Ok, so I know how to make a lexer, and I understand what an ast is, except I'm not entirely sure on how to put the code into the ast, like below: 6 *
Coder100
Coder100
http://craftinginterpreters.com3 years ago
Coder100
Coder100
no the 7 won't come until the interpreter stage. What happens is you have a grammar: expr = addition addition = mult ( "+" | "-" mult )* mult = literal ( "" | "/" literal ) literal = "(" expr ")" | number number is a number that you would have made in your lexer anyways, now that this has been made, you would be able to generate an easy ast like / \ 6 + / \ 5 2 `3 years ago
19wintersp
19wintersp
You're just taking spcecific tokens, and forming a hierarchy from them. Often, you'd construct the tree from brackets first, so that things like code blocks and bracketed expressions are grouped into one part. You could then divide it into individual statements, followed by splitting tokens of the same hierarchical level into subtrees.3 years ago
RohilPatel
RohilPatel
shared a Post
•3 years ago
Qyto THIS IS A PREVIEW TO WHAT QYTO WILL BE ABOUT Version Version 0.1 (Complete) Version 0.2 (Current Build) What is Qyto? Qyto is a soon-to-be s
Qyto-Preview
Bash
Whippingdot
Whippingdot
BRUH! I made an email with a password too short but it stored the email so I can't make an account now. BERUH3 years ago
DynamicSquid
DynamicSquid
no3 years ago
RohilPatel
RohilPatel
shared a Post
•3 years ago
Console Football Version 1.0 What does this update feature? Offensive plays, 4 downs, scoring, etc Features a "beautiful" console, ikr Whats to com
Console-Football v1.0
C++
ThanhTails
ThanhTails
how a awesome football game2 years ago
programmeruser
programmeruser
#pragma once #ifndef RANDOMNUM_H #define RANDOMNUM_H If you're using #pragma once you don't need #ifndef (which is much better). double randnum(double start, double end); double randnum(); int randint(); int randint(int start, int end); Why are you declaring function prototypes and defining them right after? (int)randnum(0.0, 20.0) C++ style casts (static_cast and the like) are preferred over C-style casts ((type)). std::endl "\n" is preferred over std::endl. std::cin >> userSelect; std::getline3 years ago
RohilPatel
RohilPatel
shared a Post
•3 years ago
Hey everyone! I made a Discord bot named Yelentrix What does it do? It basically is a money game; become the richest on the platform. Collect dail
Yelentrix Info
HTML, CSS, JS
Coder100
Coder100
What did I do?3 years ago
elipie
elipie
wai wai wai wai its in repl.it discord?3 years ago
RohilPatel
RohilPatel
shared a Post
•3 years ago
So i made a really bad library to show everyone what you can do in C++. It basically can "log" to the console, and it can use a "Math" class to take a
JSPP
C++
Coder100
Coder100
why are you classes not static3 years ago
FirewallHacker
FirewallHacker
uh... dosnet work but nice try 3 years ago
RohilPatel
RohilPatel
shared a Post
•3 years ago
i made a todo list in cpp. cloning the repl is the way to save ut, but it works pretty well
todos
C++
DynamicSquid
DynamicSquid
Why not just a .replit file?3 years ago
RohilPatel
RohilPatel
shared a Post
•3 years ago
I made a discord bot. Let me know if u want to use it by contacting me with discord, Leave urs in the chat below if u wanna see it =)
NoNameByProgram
NoNameByProgram
wait a minute why is process.env your token3 years ago
RohilPatel
RohilPatel
shared a Post
•3 years ago
Hi, i made a clicker. Except that its more a thing to count kepresses of the letter "c" when u click it. thx to @theboys619 and @Coder100 for helping
Cpp Clicker
C++
RohilPatel
RohilPatel
shared a Post
•3 years ago
Why doesn't the code increase rohilFile by 1 every time? I can't find my err...
Cpp Clicker
C++
Theboys619
Theboys619
Actually not only do you have to use std::stoi(x) you have another bug. Everytime you open an std::ofstream File it overwrites anything thats in there. So you have to read before opening the output stream of the file. Also I don't know if this is needed, but probably close your file streams using yourfile.close(); int getCurrent() { // This function should be slightly modified std::ifstream rohilFile("rohilFile"); std::string x; std::getline(rohilFile, x); int value = std::stoi(x); // 3 years ago
Coder100
Coder100
Inefficent way (and buggy) way of reading the value lol we have technology here3 years ago
RohilPatel
RohilPatel
shared a Post
•3 years ago
Hey there people, this is my first ever game posted to repl talk in a console. I usually try to avoid this, but since I am a slow learner, I need to
rps
C++
fishyCoding
fishyCoding
Very good game in general, gave u an upvote but.... dude! use rand!3 years ago
KENNETHTRIPP
KENNETHTRIPP
You should have it ask you to play again. I made a repl very similar to this here it is: https://repl.it/@KENNETHTRIPP/Rock-Paper-Scissors#main.py3 years ago