Public Repls
Community
51
CodingCactusPortfolio Number 3!
This is my 3rd portfolio website, this version's main features involve a big cactus and extra greenness!
21
51
67
CodingCactus's Typing TestA while ago I made this post on Repl Talk: https://replit.com/talk/share/Typing-Speed-Test/35402. It did pretty well, however there are quite a few things wrong with it. Firstly, its written in Python (🤮) Mainly, the fact that it has a terrible manual leaderboard. So, with the aid of Repl Identity, I decided to do a complete overhaul of this project.
You may (unlikely) have seen me recently publish my Ruby implementation of Repl Identity (using the replit CLI tool), I use this gem here to make sure that the only data being added to the leaderboard is from people using the repl on the spotlight page (no forking, etc.).
The server uses MongoDB Atlas for a database. Replit is having issues with Atlas at the moment, so if you see an error when trying to save/access data, that will be this issue and unfortunately, I cannot do anything to prevent it.
33
67
5
repl-identity-rubySuper easy to use gem allowing your console repls to have a secure connection to a database in Replit (WITH EXAMPLES!)
Gem: https://rubygems.org/gems/repl_identity
The hub: https://github.com/Coding-Cactus/repl-identity-ruby
1
5
13
Discourse Category WatcherIncredibly simple Discourse category watcher. Literally just /watch [Discourse Domain] [Category ID] [Discord Channel]
You can add the bot to your server with this link: https://discord.com/api/oauth2/authorize?client_id=1059437148631220304&permissions=0&scope=bot%20applications.commands
3
13
5
Bad WebsiteA website filled with annoying modern web stuff. cookies are thrown at you which you have to catch to accept. If you try to reject them, it won't let you. Then, after you've pushed your way past that, you'll be attacked by a live chat with an "expert" who is really just an idiot. :)
0
5
17
Ruby FizzBuzz using ONLY Procs1-100 FizzBuzz program written entirely using Procs.
The rules
Only allowed to:
Reference variables (not assign them)
Create Procs (-> arg { body })
Call procs (proc[arg])
Why would you put yourself through this?
I just think it's really interesting how such a small feature set can achieve so much more than it would seem!
What's a Proc?
A Proc is block of code which can be called or stored in a variable, passed to a method, or another Proc. If you're coming from Python, think of Lambdas.
Did you write main.rb?
YES! Sort of, while main.rb was not typed out by hand, it was created through the expansion of helper variables which I wrote. For the easy-read Proc solution, look in readbale.rb.
Please read the README file as I go into a lot of detail explaining what I did so you can hopefully understand!
2
17
2
cactus carer-oldThe skill for Amazon Alexa which cares for your cacti!
Cactus Carer will keep track of when you last watered and fed all your cacti and tell you when you should be watering and feeding them to keep them alive.
As cactus care is based on seasons which change based on which hemisphere you are in, you can tell Cactus Carer which hemisphere you are in and it will alter its instructions to accordingly.
A few example commands are:
"Alexa, tell cactus carer I have a cactus called {name}"
"Alexa, ask cactus carer what does {name} need?"
"Alexa, tell cactus carer I watered {name}"
That's only 3 commands, the rest are available to see at https://cactus-carer.codingcactus.repl.co/#phrases-page
Along with a great Alexa interface, Cactus Carer also has an online dashboard which you can log in to at https://cactus-carer.codingcactus.repl.co/login
If you want to use Cactus Carer you can get it from the Amazon store at https://www.amazon.co.uk/dp/B09DSSXFX7
1
2
1
buy a cactusI'd buy a cactus if i were you
p.s. have you ever seen a nav cactus before? didn't think so
1
1
0
root without */Binary search between the smallest and highest possible roots of the number provided based upon how many digits it has such that a square with n digits' root will be between 10^(round(n/2)-1) and 10^round(n/2)-1. So faster than a brute force method.
0
0
185
slideyRecreation of the classic picture sliding puzzle thingy.
3 modes
4 images - or upload your own
Fancy background
Great fun!
Click a tile next to the empty one to slide it there
Recreate the image to win!
See https://github.com/Coding-Cactus/slidey
147
185
5
ruby sign-in/up/out with sinatra & mongoSimple template for a sign in/up/out system for your ruby Sinatra webapps using mongodb to store user info
1
5
20
classroomsA replacement for the - now disabled - replit classrooms product.
85
20
8
repltalkRuby wrapper for the repltalk gql api
7
8