Paul Fears

@paulfears (63)
19 year old UCSC dropout. Living in Missouri for now.
How to add classes in Java?
posted to Ask

you can add a class in java by creating a separate java file and with the class you want to import in it. Then simply call the class it does not require the import function.
Here is an example:
https://repl.it/@paulfears/import-custom-class-java

Why I can't run my second file
posted to Ask by AshkiKudzma

that is because multible files are designed to be object oriented
you can run the other file by turning it into a class or function and importing it with the import command

or you could add this to main.py

import os
print(os.popen("otherfile.py").read())

3 line calculator
posted to Share by SwaagatB

did you try

while True: print(eval(input("Type your Calculations: ")))

should work in one line

CompressionDecompression
posted to Share by abhisarshukla

sweet could you paste the link please

Myncraft
posted to Share by JacobRogers

makes me sad stuff like this doesn't have more upvotes.

How overly ambitious would it be to create a social media site using relp.it's editor?
posted to Ask by webmunchster

Totally possible. Could try firebase to hold all the data.

How import java.swing and java.awt
posted to Ask by cham

this may be a long shot, but have you tried creating an applet and embedding the applet in a html/css/javascript repl

Is there a way to become root on here?
posted to Ask by Elitemagikarp

the closest Ive come is
os.popen("su")
os.popen("1234")

Assembly Viewer
posted to Share by paulfears

here is an example url you can try:

https://repl.it/@mrkem598/C-Lang-Hello-World

Repl.it IRL
posted to Share by yevb

one script prints hello world in python perl and c
https://repl.it/@paulfears/hello-world-in-3-languages

Dang
posted to Share by mculaton

@mculaton
there were a couple errors here they are fixed. good program.

https://repl.it/@paulfears/Turtle

CREATE Your Future: A Choose Your Own Path Game!
posted to Share by CindyLin070902

Best ascii art Ive seen in a while. good job

ZombieHordeFight V.3
posted to Share by jimxin2595

@jimxin2595 The game is pretty good have you considered putting the minions in a list that way every time the minion spell is cast you could just add a minion to the list.

Is there any support of perl ?
posted to Ask by eoiles

you can use this to run perl but it is limited. I don't know perl so youll have to tell me how much so

https://repl.it/@paulfears/full-perl-language

or if your feeling really smart you could use the linux console again I don't know how much perl it lets you run it allowed me to print hello world though

https://repl.it/@paulfears/linuxterminal

Python3's Tkinter
posted to Ask by AntonBBobanavt

I had the same problem of not being able to run Tkinter online, but I eventually bought a raspberry pi and they support Tkinter out of the box

How do you pronounce repl.it
posted to Ask by JohnsonTheGreat

I say Read, Eval, Print, Loop, every time

Ebay scraper
posted to Ask by RomaBoiko
meme bot, uses web crawling to make memes
posted to Share by paulfears

@richtan: Thanks I'm glad you like it. If I remember right your bot isn't too bad either. I think I upvoted.

meme bot, uses web crawling to make memes
posted to Share by paulfears

@mcko7304: Thanks I love feedback. especially when its good ;-)

HackerTyper Bot
posted to Share by muddskipper

@mohanadalaas: don't be like that. You should let your code speak for itself. I get you are excited about your work but it wouldn't hurt to slow down a little

Dictionary Bot
posted to Share by paulfears

@ashtro4: Thanks glad you like it

Dictionary Bot
posted to Share by paulfears

@darkceptor44: &APOS is a html safety thing that prevents cross side scripting however whenever there is an apostrophe in a response it will show up as &APOS. So since this bot isn't really vulnerable to cross side scripting I replaced &APOS with an apostrophe to make a better user experience. The syntax looks a little funky however it is just a piece of code that means replace &APOS with an apostrophe

image encrypt (Stegongraphy)
posted to Share by paulfears

@arvinsingh1: sorry the file upload is for getting the text out of an image