Skip to content
Sign upLog in
Profile icon

Rahul Choubey

@RahulChoubey1
​Hi, j'existe.
GitHub
  • Assembly x64

    Cover page
    Made with Blank Repl

    This is a template for the 64-bit Netwide Assembler, with convenience functions and a sample program.

    Recent comments (0)
  • Factorial Efficiency

    Cover page
    Made with Node.js

    This shows the efficiency of several factorial functions.

    Recent comments (0)
  • Chainer

    Cover page
    Made with TypeScript
    Recent comments (1)
    RahulChoubey1
    RahulChoubey1
    7 months ago

    Just watch the letters fly! Look for patterns! Waste your time!

Repls
Community
RahulChoubey1
RahulChoubey1
published a Repl
28 days ago
0
Ultimate Quiz
Ultimate QuizThis is a quiz site.
#quiz
#extensible
RahulChoubey1
RahulChoubey1
published an Update
7 months ago
0
Client BlokChain
Client BlokChainNot much, except force you, the client, to submit to the chain.
BlokChain!
This one forces you to run the hashing, thus reducing server load. And if you can't read JSON, cry about it XD
RahulChoubey1
RahulChoubey1
published an Update
7 months ago
0
Chainer
Chainer: A Satisfying Chain Simulator!
Just watch the letters fly! Look for patterns! Waste your time!
RahulChoubey1
RahulChoubey1
published an Update
7 months ago
1
Fastify Template
Fastify TemplateThis is a template for Fastify, a speedy Node.js web engine.
Fastify Template!
Since express is thoroughly overrated, I decided to leave a template for something more...fast.
RahulChoubey1
RahulChoubey1
published a Repl
11 months ago
0
hChat
hChatThis is a chat I made. Feel free to uhh… chat ig
RahulChoubey1
RahulChoubey1
shared a Post
1 year ago
3
In my NoSQL testing program, I want to automatically attach a unique ID to each entry in my database, ie. no manual ID attachment. How would I do so?
no sql
Node.js
ruiwenge2
ruiwenge2
try using uuid: const {v4:uuid} = require("uuid"); const id = uuid(); // generate id 1 year ago
RahulChoubey1
RahulChoubey1
shared a Post
1 year ago
5
This thing interprets Python using Skulpt. It was difficult to understand what methods the Sk object had and what they did. Now, you can learn from th
Trashy Python Interpreter
HTML, CSS, JS
maxina
maxina
uh you didnt build this yourself did you https://skulpt.org/js/skulpt.min.js1 year ago
InvisibleOne
InvisibleOne
Pretty cool1 year ago
Coder100
Coder100
What is a skulpt1 year ago
RahulChoubey1
RahulChoubey1
shared a Post
2 years ago
1
So I'm making a pretend pizza order app, and I want to use GraphQL to retrieve order data on path /graphql. Each order should have an id attribute wit
ScentedIncompatibleDeadcode
Node.js
dudeactualdev
dudeactualdev
@RahulChoubey1 tbfh, im not sure. Also whats ur github user?1 year ago
RahulChoubey1
RahulChoubey1
shared a Post
2 years ago
1
So, in this repl, I want it so that if I'm the user, typing /.env will serve the .env file. But for other users, it should return a 403. But even Expr
WhirlwindNavyLinks
Node.js
Coder100
Coder100
HEY WHY ARE YOU NOT RESPONDING YOU MEANIE2 years ago
Coder100
Coder100
anyways ez app.get("/.env", (req, res) => { if (req.header("X-Replit-User-Name") == "WHATEVER UR NAME IS") res.type("text/plain").send(""); else DO WHATEVER YOU WANT WITH NON USERS }); `2 years ago
Coder100
Coder100
well u know that if you serve .env the secret will no longer be public lol2 years ago
RahulChoubey1
RahulChoubey1
shared a Post
2 years ago
3
So, my old QWERTY project died a traumatic death, with blood but no trace of the murderer, so… I THREW THE PARSER OUT THE WINDOW AND DID IT AGA
QWERTY!
Bash
RahulChoubey1
RahulChoubey1
oh hi angrydoge2 years ago
RahulChoubey1
RahulChoubey1
shared a Post
2 years ago
1
So I have a project called QWERTY(shown here). I once posted it but the old parser died, so I threw it out the window and started fresh. After some gr
QWERTY!
Bash
RYANTADIPARTHI
RYANTADIPARTHI
if it is a total remake, and all, then i guess you can repost it.2 years ago
SenatorBinks
SenatorBinks
Yeah @RahulChoubey1, just don't repost it multiple times (after that one)2 years ago
Coder100
Coder100
yeah sure, that's completely fine. If enough changes has been made (subjective, up to you), and enough time has passed (also subjective, up to you), feel free to repost! Maybe add remastered and link the original ;)2 years ago
RahulChoubey1
RahulChoubey1
shared a Post
2 years ago
1
I want to integrate the Google authorization onto my test page; however, it seems that it doesn't respond at all. How do I fix this?
Google Login Test
HTML, CSS, JS
RowanFromBJC
RowanFromBJC
I use Google Firebase auth without OAuth2, it's way simpler.2 years ago
Coder100
Coder100
image I like how you just copied and pasted from the docs while blindly NOT LOOKING AT WHAT YOU HAVE TO REPLACE2 years ago
RahulChoubey1
RahulChoubey1
shared a Post
2 years ago
3
After quite a lot of hard work, some rebirths, and a good bit of tinkering, here it is! QWERTY! This language was made with Python. See README for iss
QWERTY!
Bash
RahulChoubey1
RahulChoubey1
shared a Post
2 years ago
1
In OnlineGDB there is a text option that allows the user to input everything before the code is run. Is there such an option on Repl?
CodeLongAndPros
CodeLongAndPros
So sorry about the bad answers, but this is what you want; Make a new file called input, and one called .replit In the .replit file add this: run="python3 main.py < input" and then type your input in the file input2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
could you explain more clearer on what you mean by input everything before code is run?2 years ago
programmeruser
programmeruser
I think there was a way to do this but it got removed.2 years ago
RahulChoubey1
RahulChoubey1
shared a Post
2 years ago
1
I had… some troubles when making my language, QWERTY, in C, so I used pyparsing to make it better! It currently has some functionality: outputln pop
RahulChoubey1
RahulChoubey1
shared a Post
2 years ago
1
I'm having a problem with my code. I have defined a class and defined its prototype method, print. However, when I try to call it, it says it's not de
ES6 experiments
Node.js
19wintersp
19wintersp
print() is a prototype method: you're calling it as if it were static. To use it, you need to execute print on an instance of h, for example, H. You need to change h.print() to H.print().2 years ago
RahulChoubey1
RahulChoubey1
shared a Post
2 years ago
16
I was working on a repl, and at some point, my cursor was at first halfway in a character, and then one character behind! (The functional cursor was i
Ker08
Ker08
I found another way to fix it by toggling the text size.10 months ago
mpwteach
mpwteach
This is for sure a Chromebook bug. One way to temporarily fix it is to: go to Settings/Device/Displays change the display size to 95%, and reload the replit then go back and set the display size to 100%, do NOT reload page Unfortunately, reloading the page restores the bug...1 year ago
MohammedPurno
MohammedPurno
go to Settings>Keybinds>Default And everything's fixed lol! just a little help1 year ago
RahulChoubey1
RahulChoubey1
shared a Post
2 years ago
1
There are many questions about getting the mouse positions in pygame. I know how, but unpacking and repacking is not functionally the same as the orig
what's pygame?
Pygame
RYANTADIPARTHI
RYANTADIPARTHI
For the type of get_pos(), i think it's a tuple, to receive coordinates, or a int for the coordinate numbers2 years ago
RahulChoubey1
RahulChoubey1
shared a Post
2 years ago
1
.env files are great for storing secrets, making them good for programs that need secret data. I would like to use one, but how can it be of use if it
BD103
BD103
A program itself can access .env files, but nobody except you can view and edit the files. I hope that helps :)2 years ago
RayhanADev
RayhanADev
Hiya @RahulChoubey1 Could you please explain what exactly you would like to attain. A .env file can be accessed by the owner correct, and to use said file you would type process.env.[variable] replacing [variable] with the name of the key in the .env file. I think that may answer your question but feel free to bug me if I got it wrong :D.2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
I thing those kind of files are like for encrypting data, which the owner only wants to see. No on uses it, except him.2 years ago