IMightBeMe
@IMightBeMe
I might be me; we just never know.
1
Vite + TypescriptA vanilla Vite template using Typescript.
10
0
1
Introduction
Pickle Simulator!!!! At this point, you're probably wondering, what the heck even is Pickle Simulator? Well take some time and imagine t
Python
MrVoo Bootiful :> Maybe change up the inputs since replit renders them weird though, like print it and then have an empty input1 year ago
6
Pickle Simulator - KajamPickle Simulator!!!! At this point, you're probably wondering, what the heck even is Pickle Simulator? Well take some time and imagine that you're a young entrepreneur looking to make their way into the pickle business. That's exactly it, you're tasked with managing a humble pickle shop in this turn-based simulator!
Please look at the README for instructions.
231
6
6
Relentlessly I like the idea of this game! Something I recommend though is a "press any key to continue" type statement because I didn't realize that I had to do that.1 year ago
I recently started using TS as I enjoyed node and vanilla javascript. The problem is, though, that replit doesn’t have good support for it and takes a
Coder100 Yeah typescript and replit just don't go together very well
the typescript compiler here is pretty slow, I recommend instead making a bash language repl and doing it yourself:
First, type this code to set it up:
npm init -y
npm i typescript
touch index.ts
then, you might want to add a config file. Afterwards, for your bash, do something like this:
node .
and then, in the shell (the other one)
do: npx tsc -w2 years ago
I'm trying to make a calculator in HTML to get my JS skills better. I thought I finished everything for addition to work, but when I put in 1 + 1, in
HTML, CSS, JS
Coder100 you got the switch operations wrong.
They look like this:
switch(operation) {
case "plus":
// ...
break;
}
do not forget the break;.2 years ago
IMayBeMe Put the script tag linking index.js above the html button and make sure the file names match2 years ago
InvisibleOne The issue is that your script source is looking for index.js but your js file is named script.js
change that on line 31 of your HTML file.2 years ago
0
Join the Empire?A fun website where people can join the empire.
20
0
0
I've been making something in Flask for the past couple of days and now, when editing my HTML, I realized that Emmet Abbreviations aren't working anym
Password Generator
So this is just a web app that I made in Flask that generates a random password. I just copied my code from the very inefficient p
Python
I have been wanting to make something cool in flask but I have no ideas. Leave some in the comment and I might do yours!
Edit: I'm not going to mark
InvisibleOne It would be cool to see something made using the new REPLAPI made by JBloves272 years ago
Wumi4 Maybe a portfolio, or a simple note app, or a password manager/generator, or a Weather App. I also lack of ideas now.2 years ago
The Empire's Pretty Chill. Maybe You Could, Like, Join it or Something?
This is a site I made in flask with some help from @IMayBeMe. It was inspired
Python
I made a password generator but there is always the chance that there might be a duplicate password and that is something that I don't want. How would
Coder100 passwords = []
while len(passwords) < 10:
password = gen_password()
if password in passwords: continue
else: passwords.append(password)
this is just pseudo-code. Replace the function with the actual function.2 years ago
SixBeeps There are a few ways to prevent duplicates.
You can put any passwords you generate into an array, then for every password that you generate, make sure it's not in the array already. Take some Pythonic pseudocode:
already_generated = []
get_password():
p = generateapassword()
while (p in already_generated):
p = generateapassword()
already_generated.append(p)
Another, much faster way is to hash the passwords and store them in a hash table. Though that takes a bit of knowledge in hash2 years ago
Yesterday I became an explorer and, while coding, I noticed the HTTP pane next to the shell.
image
Does anyone know what this is and the use of it?
SixBeeps It's for making HTTP requests. I'm sure there's a practical use for it, but I can't think of any at the moment.
For example, the command get header user-agent this-browser https://repl.it/ returns 200 OK.2 years ago