Some stuff in the console: utils, printing, games and other fun
Make a directory and its parents if needed - Think `mkdir -p`
Avatar style for DiceBear
Local Lambda development environment
`Start a promise chain
Winston-lite-esque Log lib for terminal and browser debugging, with piles of unignorable log tags and marker styles.
Stylish, intuitive and user-friendly prompt system. Fast and lightweight enough for small projects, powerful and extensible enough for the most advanced use cases.
a streaming interface for archive generation
Fun with Iterables
A generalized and simple hooking API for adding extensibility to applications
Create a deferred promise
TypeScript SDK for Pump Agent Payments
Locutus other languages' standard libraries to JavaScript for fun and educational purposes
Tiny ES6 class to run functions after a given delay. Uses just on timer at any time and setImmediate to launch
Parse and stringify the HTML `<img>` srcset attribute
Compose promise-returning & async functions into a reusable pipeline
Console wrapper to make logging fun again
No description provided.
Run promise-returning & async functions in series, each passing its result to the next
Opal Runtime for Asciidoctor.js
The magical sticky regex-based parser generator 🧙
Opal Runtime for Asciidoctor.js
Real profanity words banned by Google, extracted from their hidden API before shutdown. Now available as an easy-to-use Node.js library for content filtering.
A JavaScript package to detect and filter profanity
The Irbtools make working with Ruby's IRB console more fun & productive.
htty is a console application for interacting with web servers. It's a fun way to explore web APIs and to learn the ins and outs of HTTP.
A fun Ruby console game where you control a robot on a grid platform using text commands.
Give all lower case letters in a string an accent. This gem was inspired by Cam Newton's social media messages(instagram, twitter). Just a fun little project during my time at the Flatiron School to learn how RubyGems work. Use rake console to run in irb so you can test it out.
Get the latest search results streaming to your console: $ tweettail railsconf rubysolo: protip: it helps to actually READ the error message. #railsconf voxxit: So, everyone, how is #railsconf coming? When is the big 3.0 announcement? JesseGoldberg: @GavinStark I don't have as much to chat about as you do while you are at RailsConf. wndxlori: Anyone else not eaten yet #railsconf zenmatt: Great dinner and coversation with @heroku at n9ne in the palms. #railsconf Adkron: Damn you #railsconf why can I not visit you this year. I'm missing all the gitjour goodness. pengwynn: Meeting a lot of great folks at the open gov hackathon at #railsconf #gov20 davidjrice: Enjoying ordering taxis to our hotel... &quot;for the wynn!&quot; #railsconf quick noms at stripburger then whiskeys at the stage door with ey ftw! cricketgeek: as pointed out by @jnewland at sushi this evening... http://pic.im/2LY #railsconf paulog: had fun at gilt groupe coctail party. props. #railsconf Amuse_Bouche: I hope my two favorite people in the world form an alliance! (Swoon) RT: @dhh Loved talking to @tferris at #railsconf. So much resonates. abie: At open gov BOF #railsconf matthewcarriere: running a saas bof was great... I hope it gets some more time this week. #railsconf jdar: @tullytully RT @dgou:for the benefit of people at #railsconf keynote, here is penelope trunk on tim ferris: http://bit.ly/b81E yorzi: Reading: &quot;Rails 3 and the Real Secret to High Productivity: RailsConf 2009 - May 04 - 07, 2009, Las Vegas,NV&quot; ( http://tinyurl.com/czmkxn ) Or let it sit there all day with the -f option (like "tail -f"): tweettail -f railsconf
<!-- TABLE OF CONTENTS --> <details open="open"> <summary>Table of Contents</summary> <ol> <li> <a href="#about-the-project">About The Project</a> <ul> <li><a href="#built-with">Built With</a></li> </ul> </li> <li> <a href="#getting-started">Getting Started</a> <ul> <li><a href="#prerequisites">Prerequisites</a></li> <li><a href="#installation">Installation</a></li> </ul> </li> <li><a href="#usage">Usage</a></li> <li><a href="#roadmap">Roadmap</a></li> <li><a href="#contributing">Contributing</a></li> <li><a href="#license">License</a></li> <li><a href="#contact">Contact</a></li> <li><a href="#acknowledgements">Acknowledgements</a></li> </ol> </details> <!-- ABOUT THE PROJECT --> ## About The Project [![Product Name Screen Shot][Screenshot of gameplay and test list]](https://www.dropbox.com/s/mu1rrbx2mqowjkn/studio-game.png?dl=0) This game is a project built following the [Pragmatic Studio Ruby Course](https://online.pragmaticstudio.com/courses/ruby/). I absolutely adored going through this course, because it was unlike other courses in that the main focus wasn't syntax, but how to build a principle-driven, object-oriented program that contains many of the skills we'd need to build real-world projects. The instructors purposefully created exercises to let us build a program using the skills they demonstrated by building a different program. This wasn't a copy and paste kind of course. This game was actually my second run-through, where I test-drove everything from the start based on the objectives only. Skills I valued developing further with this project: - Test-driven development (50+ tests). - Using inheritance to model "is-a" relationships. For example, a clumsy player *is a* kind of player. - Using mixins (modules) to reuse behaviours that are common between classes, but should not be modeled with an inheritance relationship. A good tip was to look for 'able' behaviors in a class to extract, like 'playable', 'printable', 'taxable' etc. - Using a file block which lets you add in class usage examples that are only run when you run the class file specifically. - Overriding default methods (like sort, and renaming things so that they keep a specific format) Things I struggled with: - Testing behaviour that uses blocks. I had a lightbulb moment when I realised I should test the behaviour performed inside the block on a single item. Testing the output of an entire block is like testing Ruby syntax works. Alternatively, test the before and after state of something that changes as a result of using a block. Cooool. - Puts. It felt wrong to use puts to show the output in the console. I'd like to learn how to seperate the view logic for a command-line project later. Things I did to make it my own: - Wrote a lot more tests for my second run-through. - Noticed and extracted further 'able' behaviours into modules (like printing stats, formatting output and handling csv files). ### Built With * [Ruby (language)](https://www.ruby-lang.org/en/) * [RSpec (framework)](https://rspec.info/) * [Vim (text-editor)](https://www.vim.org/) <!-- GETTING STARTED --> ## Getting Started To get a local copy up and running follow these steps: ### Prerequisites This is an example of how to list things you need to use the software and how to install them. * gem ```sh npm install npm@latest -g ``` ### Installation 1. Install the gem ```sh gem install studio_game_2021 ``` <!-- USAGE EXAMPLES --> ## Usage To play a game from the command-line, open a new command project and run the command-line script like so: ```sh studio_game ``` Or, if you'd like to use the game as a library, here's an example of how to use it in `irb`. You can also check the bottom of each class or module file for further usage instructions ``` >> require 'studio_game/game' => true >> game = StudioGame::Game.new("Knuckleheads") => #<StudioGame::Game:0x007fdea10252d8 @title="Knuckleheads", @players=[]> >> player = StudioGame::Player.new("Moe", 90) => I'm Moe with health = 90, points = 0, and score = 90. >> game.add_player(player) => [I'm Moe with health = 90, points = 0, and score = 90.] >> game.play(1) ``` <!-- ROADMAP --> ## Roadmap I plan to customize this game further now that I have a solid foundation to explore from. It'll be fun to let the players interact with each other more, like swapping treasures, and maybe add some kind of board game with it's own features. That's my next focus. ## Contributing Feel free to fork this project and play around with it. Open to feedback-related pr requests. <!-- LICENSE --> ## License Distributed under the MIT License. See `LICENSE` for more information. <!-- CONTACT --> ## Contact Becca - [@becca9941](https://twitter.com/Becca9941) - becca@essentialistdev.com Project Link: [https://gitlab.com/EssentialistDev/studio-game](https://gitlab.com/EssentialistDev/studio-game) <!-- ACKNOWLEDGEMENTS --> ## Acknowledgements - [Pragmatic Studio](https://online.pragmaticstudio.com/courses/ruby/) for empowering me with awesome new development skills. - [Best-README-Template](https://github.com/Becca9941/Best-README-Template) for helping me write a README for this project.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.