Skip to content
Open navbar menu
Sign UpLog In
Profile icon

Obi The Epic!

@ObiVibKenobi
Just another coder.
Repls
Community
ObiVibKenobi
ObiVibKenobi
published an Update
1 year ago
0
MLDomainAndNewAccount
MLDomainAndNewAccount
Questions about replit and hosting
I have two questions: Are you allowed to make a second account if you stop using your old one and don't cycle farm? How can you get a .ml domain from a reliable hosting website (ie: lots of sketchy/not very well known domain services offer .ml, while most good ones don't, and since .ml is free, I kind of want it, so how can I host it on something like heroku?) If anyone can answer either, that would be great, thanks!
MrVoo
MrVoo
@ObiVibKenobi Making another account is perfectly fine, you could make ten more if you wanted to (but you probably shouldn't :>) as long as you don't cycle farm. As for the domains, I can't help with that :P1 year ago
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
Hi everyone! This is my second program in the series! This time, I learned some basics of C# and made a Fibonacci sequence. Join the challenge if you
Mathematics 2 - C#
C#
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
Hyperplay Hyperplay is an HTML playground. How to use it It's pretty simple: Type your HTML into the box, and the output shows up right next to your c
HTML-Playground
HTML, CSS, JS
maxina
maxina
And how did you make the numbers on the side for the lines 0_02 years ago
maxina
maxina
I have a question for you: how do you make different colors for different text in the text area?2 years ago
elburg
elburg
seems pretty cool.2 years ago
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
Hi everyone! I am gonna start making repls that do math in a ton of different languages, as part of a series, and here’s the first one! C++ Quadratic
Mathematics 1 - C++
C++
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
Hi! I am trying to make something with sqrt using cmath But, whenever it prints the result, it returns -nan I believe nan is not-a-number, but I don’t
19wintersp
19wintersp
Could you provide some code? It's difficult to diagnose when there's no context.2 years ago
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
Hi, so I recently saw fake-bank-spammer, and I decided that instead of spamming fake banks, I would rather plant some trees. So I did a curl in bash f
Coder100
Coder100
try printing out the result of the page and make sure you aren't actually getting blocked by a proxy like cloudflare2 years ago
programmeruser
programmeruser
https://repl.it/@programmeruser/fake-bank-spammer2 years ago
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
I’m making a Netflix clone, and if you look at the gifs on the homepage in mobile view (inspect or look at repl’s side view), you will see that the gi
Netflix Clone [ No Functionality ]
HTML, CSS, JS
RYANTADIPARTHI
RYANTADIPARTHI
uh, did you solve it?2 years ago
JBloves27
JBloves27
Well, it seems ok to me. wdym?2 years ago
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
Hi! I’m really bored and don’t know what to code, any suggestions?
programmeruser
programmeruser
Learn C/C++ and low-level systems programming. (This is practically the same answer I give to every one of these questions.)2 years ago
Bookie0
Bookie0
hey there! Here are some great ideas to get you started: pacman battleship choice making game quiz (like harry potter quiz, math quiz, star wars quiz) personality quiz (like which house are you in HP, are you a nerd/jock/popular/idiot etc) tic tac toe pong uno dice rolling game name/place/idea/story generator HTML webpage about yourself text based adventure game simulator (Life sim, cooking sim, teacher sim, fighting sim, etc.) hotel managment game game like Among Us game like Scribble typing 2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
3d game.2 years ago
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
Hi! Recently I saw a rain console animation in C++. I’m horrible at C++, so I made something similar in Node.js. There are 4 modes: Roller coaster, Sn
Falling Stars
Node.js
Coder100
Coder100
.private2 years ago
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
Don’t kill me. I did it. Gram The grammatical programming language NOW BEFORE YOU ALL DECIDE THAT IM FAKE, HEAR ME OUT Addressing concerns Grammar Gra
Gram
Python
maxina
maxina
I am confused about what this is2 years ago
TheDragonCode
TheDragonCode
Screen Shot 2021-01-05 at 7.17.51 PM2 years ago
programmeruser
programmeruser
Nice, my posts barely get any upvotes.2 years ago
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
2020 - Reflection Now that 2020 has come to an end, it's important to reflect on the year and remember all that has happened. Reflection Feel free to
2020Reflection
Node.js
amgas13
amgas13
Sooooo cool! Love it!!! Super cool and refelctive 2 years ago
JBloves27
JBloves27
Hmmm, pretty cool! I like it very much! Just one thing, I would probably use something else than Node.js because you're using the program in the console, just a suggestion ;)2 years ago
TsunamiOrSumth
TsunamiOrSumth
sorry for deleting your 69 cycle count but I had to updoot, this is amazing2 years ago
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
Hi there! This is my first C++ Program, and I just started learning a day or two ago. It isn't very complex or impressive, but I thought I would share
LuckyOreos
LuckyOreos
Good job!!! I’m pretty ok with C++ but python’s mainly my thing!!! But I also love your user!!! One of my fave Star Wars characters is obi wan so yeah. But I also do a lot of Star Wars related repl. Like actually almost all my repls are about it not including the ones I forked. But yeah I might be making something about Obi Wan2 years ago
MrH0lmes
MrH0lmes
Good job, mr!2 years ago
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
HolidayDoodler What is it? Holiday doodler is a project that draws some of the popular winter-related things, including a snowman, a present, and a sn
HolidayDoodler
Python
FloCal35
FloCal35
Happy Holidays!!!2 years ago
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
Hi! If you’re reading this, thanks! I recently began a project that may take a while, and decided to add in a log in system. It’s pretty easy to use R
EpicGamer007
EpicGamer007
pretty simple, all you gotta do,(i will be using replauth for this example), // check request headers to make suer they are logged in if(req.get('X-Replit-User-Name') == '' || req.get('X-Replit-User-Name') == null) { //if they are not logged in res.redirect("login") } else { // they are logged in res.send("whatever page u want to send"); } this assumes you are using express2 years ago
Squirrel777
Squirrel777
Maybe you can use sessionStorage to prevent that and to redirect to the login page2 years ago
alanchen12
alanchen12
When someone accesses the URL, you can check if they are logged in or not.2 years ago
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
ChristmasCatch! Welcome to ChristmasCatch, a variation on 'snake,' with a Christmas theme! How To Play You could play as the grinch or santa, to use t
ChristmasCatch
Node.js
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
Im making a variation on snake. Its a holiday version, but the images I am using for the thing are really small. Anyone know how I could make them big
ChristmasCatch
Node.js
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
Uhh so the question might sound confusing but-- basically, I made an express server with a few HTML files. I tried to use a CSS file on that HTML file
EpicGamer007
EpicGamer007
You need to host it. do something like, app.get('/style.css', (req, res) => { res.sendFile("path/to/your/css/file/style.css"); }); in your nodejs file then in your html file, do, `` or however you link css. 2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
Do you mean link css files in HTML? if so, it's like this. ``2 years ago
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
function drawSnakePart(snakePart) { grinchboardctx.fillStyle = snakecolor; grinchboard_ctx.fillRect(snakePart.x, snakePart.y, 10, 10);
badst
badst
see: https://developer.mozilla.org/en-US/docs/Web/API/CanvasAPI/Tutorial/Usingimages2 years ago
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
constructor(filename) { this.file = fs.open(filename, 'r+', (err, fd) => { return; }) } I’m using this for a project and the file is alway
Coder100
Coder100
Why not fs.readFileSync?2 years ago
Coder100
Coder100
Why are you using fs.open? 2 years ago
19wintersp
19wintersp
It will be undefined if you do not specify filename as a parameter. This looks like part of a class declaration: if you instantiated that class like new MyClass(), filename will be undefined; if you did new MyClass("myfile.txt"), filename will be "myfile.txt".2 years ago
ObiVibKenobi
ObiVibKenobi
shared a Post
2 years ago
bascially someone gave me a code for hacker plan if i claim it, what happens? Because i claimed it, and i just realized that i will probably have to p
Bookie0
Bookie0
You won't have to pay. Contact [email protected] for more info/if you have more questions. You can always check your billing info by going to account >> billing. ;)2 years ago
programmeruser
programmeruser
If you claim it, you don't have to pay. I think the only way to cancel it is to contact [email protected]2 years ago