3
Apple Music Rich Presence for DiscordDiscord Rich Presence for Apple Music (works on Mac and Windows)
183
9
3
RohilPatel Instructions for installation are in the README of this project, and are on my [Github](https://github.com/rohilpatel1/Apple-Music-Rich-Presence)7 months ago
0
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!1
1
0
0
Area under the curve (left riemann sum)
this is a calculator that finds the area under the curve...almost...as an estimate12
1
0
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 ;)49
1
2
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
Node.js
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
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
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
HTML, CSS, JS
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
2
Express.js TemplateProvides a nice, easy to use express/ejs template.
66
0
2
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
HTML, CSS, JS
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 this2 years ago
zplusfour its awesome
btw, can you replace whitespaces with underscore?
because you can't store environment variables with whitespaces:
image2 years ago
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 use2 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
HTML, CSS, JS
BenjaminOBrien "60wpm 60/60 accuracy"
definitely not the most accurate considering you have a delay of pressing enter but good stuff2 years ago
Express.js Template
What this package includes
Ejs in HTML files
RenderFile Function
Default ejs templates
The RenderFile Function
Renders html fil
Node.js
EpicGamer007 the great thing about this is that now i can finally use emmett while writing html (ejs) files!2 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 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
`2 years ago
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.2 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
Bash
Whippingdot BRUH! I made an email with a password too short but it stored the email so I can't make an account now. BERUH2 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
C++
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::getline2 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
HTML, CSS, JS
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
C++
i made a todo list in cpp. cloning the repl is the way to save ut, but it works pretty well
C++
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 =)
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
C++
xxpertHacker Look into std::cin.get().
It doesn't force you to press enter after every single character.
Also, the title is super misleading, thought you actually listened to the mouse; these aren't clicks.2 years ago
Why doesn't the code increase rohilFile by 1 every time? I can't find my err...
C++
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); // 2 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
C++
xxpertHacker Please, use a loop instead of making the player type (./main).
Ruined the game tbh.2 years ago
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.py2 years ago