A total order for all JavaScript values
Comparison of primitive values for JavaScript
Iterable and Iterator comparison functions for JavaScript
Lexicographical comparison functions for JavaScript
Comparison function from key function for JavaScript
Comparison of Date objects for JavaScript
A total order on simplicial complexes
This package provides an implementation of `compare(a, b)` function that establishes a total order on the set of all valid JSON values. This can be useful in scenarios where you need to compare JSON objects or values to determine their relative order.
Abstracted helper functions, based on total order. Inspired by Sedgewick.
A total order on simplicial complexes
Comparison function reversion for JavaScript
Binary serialization which sorts bytewise for arbirarily complex data structures
Binary serialization of arbitrarily complex structures that sort element-wise
A total order on simplicial complexes
Reuse objects and functions with style
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.
Validate XML, Parse XML, Build XML without C/C++ based libraries
A collection of order related linting rules for Stylelint.
Module to help building SARIF log files
A CSS reset for TypeScript, improving types for common JavaScript API's
Sorts CSS declarations fast and automatically in a certain order.
PostCSS plugin to keep rules and at-rules content in order.
chai plugin to match objects and arrays deep equality with arrays (including nested ones) being in any order
Laravel plugin for Vite.
Analytic test functions (Ishigami, Sobol' G, Morris) with closed-form sensitivity indices for validation and benchmarking.
CRDTs as categorical colimits, built on comp-cat-rs
Virtualized table widget with egui and iced backends for OxiUI
Shapley effects estimator for global sensitivity analysis (Song-Nelson-Staum 2016).
A multimap with at the same time keeps the total insertion ordering of all elements
It allows to provide free order means 100% discount on order total
You can use active_cart as the basis of a shopping cart system. It's not a shopping cart application - it's a shopping cart framework.
A Solidus shipping costs calculator based on total order weight
You can use active-cart as the basis of a shopping cart system. It's definately not complete, you need to build a website around it.
You can use active_cart as the basis of a shopping cart system. It's not a shopping cart application - it's a shopping cart framework. Forked from active_cart and uses state_machine.
payment help returns you with the strings of information depending on the profile details and your order total price with help of bank api database
Allows to calculate shipping costs based on total item weigh and quantity in the order
Temporally Ordered IDs. Generate universally unique identifiers (UUID) that sort lexically in time order. Torid exists to solve the problem of generating UUIDs that when ordered lexically, they are also ordered temporally. I needed a way to generate ids for events that are entering a system with the following criteria: 1. Fast ID generation 2. No central coordinating server/system 3. No local storage 4. Library code, that is multiple apps on the same machine can use the same code and they will not generate duplicate ids 5. Eventually stored in a UUID field in a database. So 128bit ids are totally fine. The IDs that Torid generates are 128bit IDs made up of 2, 64bit parts. * 64bit microsecond level UNIX timestamp * 64bit hash of the system hostname, process id and a random value.
Tired of changing dns names or ips in your deploy.rb? You found a solution! This gem uses EC2 tags in order to define servers in your deploy script. You can set project, environment and roles tags per instance to have total control.
Tired of changing dns names or ips in your deploy.rb? You found a solution! This gem uses EC2 tags in order to define servers in your deploy script. You can set project, environment and roles tags per instance to have total control.
## Studio Game Demo App I made this app following along with The Pragmatic Studio's Ruby course found here: https://pragmaticstudio.com/courses/ruby. ## Install the gem I published the gem for this app on RubyGems.org. In order to install it, run `gem install studio_game_dylan_attal-1.0.0.gem` ## Run the app In order to run the app run the following command `studio_game` ## Summary This is a console app that simulates a game. Players are loaded from the `players.csv` file be default. Each player has a name and a starting health value, i.e.: `Larry,100` If the user wants, they can provide a different CSV file to load the players. For example, I've provided a file `my_favorite_players.csv` as an alternate list of players. The user should provide the file like so `studio_game bin/my_favorite_players.csv` Before the game is played, the user gets to decide how many rounds to play. At this point, the user can also terminate the program by typing in `quit` or `exit`: `How many game rounds? ('quit to exit')` Once the user provides the number of rounds, the game is played automatically. The user then sees 1. Which players are involved ``` There are 5 players in Knuckleheads: I'm Boba with a health = 100, points = 0, and score = 100. I'm Jango with a health = 90, points = 0, and score = 90. I'm Din with a health = 80, points = 0, and score = 80. I'm Klutz with a health = 105, points = 0, and score = 105. I'm Berserker with a health = 50, points = 0, and score = 50. ``` 2. Which treasures there are to find ``` There are 6 treasures to be found: A pie is worth 5 A bottle is worth 25 A hammer is worth 50 A skillet is worth 100 A broomstick is worth 200 A crowbar is worth 400 ``` 3. The results of each round ``` Round 1 Rolled a 3 (StudioGame::Die) Rolled a 4 (StudioGame::Die) Boba has been skipped Boba found a skillet worth 100 points. Boba's treasures: {:skillet=>100} I'm Boba with a health = 100, points = 100, and score = 200. Rolled a 3 (StudioGame::Die) Rolled a 2 (StudioGame::Die) Jango got blammed! Jango found a bottle worth 25 points. Jango's treasures: {:bottle=>25} I'm Jango with a health = 80, points = 25, and score = 105. Rolled a 1 (StudioGame::Die) Rolled a 6 (StudioGame::Die) Din got w00ted! Din found a crowbar worth 400 points. Din's treasures: {:crowbar=>400} I'm Din with a health = 95, points = 400, and score = 495. Rolled a 1 (StudioGame::Die) Rolled a 4 (StudioGame::Die) Klutz has been skipped Klutz found a bottle worth 12.5 points. Klutz's treasures: {:bottle=>12.5} I'm Klutz with a health = 105, points = 12.5, and score = 117.5. Rolled a 1 (StudioGame::Die) Rolled a 4 (StudioGame::Die) Berserker has been skipped Berserker found a hammer worth 50 points. Berserker's treasures: {:hammer=>50} I'm Berserker with a health = 50, points = 50, and score = 100. ``` Once the user quits, they see the final results of all the rounds: ``` How many game rounds? ('quit to exit') quit Knuckleheads Statistics: 2 strong players: Boba (115) Klutz (120) 3 wimpy players: Jango (85) Din (75) Berserker (40) Berserker........... 690 Boba................ 620 Din................. 575 Jango............... 235 Klutz............... 207.5 Boba's point totals: 100 total skillet points 5 total pie points 400 total crowbar points 505 grand total points Jango's point totals: 50 total bottle points 100 total skillet points 150 grand total points Din's point totals: 400 total crowbar points 100 total hammer points 500 grand total points Klutz's point totals: 12.5 total bottle points 25.0 total hammer points 50.0 total skillet points 87.5 grand total points Berserker's point totals: 50 total hammer points 200 total broomstick points 400 total crowbar points 650 grand total points ``` ## Rules of the game Each round, each player rolls the die. If a player rolls between 1 and 2, then they are `blammed`, meaning they lose `10 health`. If a player rolls between 3 and 4, then they are `skipped`, meaning they do not gain or lose points that turn. If a player rolls between 5 and 6, then they are `w00ted`, meaning they gain `15 health`. Each round, players can find treasure worth different points. Treasures are found randomly. Every game, there are two special players added: 1. `ClumsyPlayer`: this player's treasure points are cut in half. 2. `BerserkPlayer`: once this player is `w00ted` five times, it cannot be `blammed` in that game anymore—if this player rolls between 1 and 2, they are `w00ted` instead of `blammed`.
Welcome to Banco ! Banco has been developed to summarize statements downloaded from your bank. Install as a Rubygem, navigate to the directory your .csv files are in and execute from the command line with 'banco'. Banco will only accept comma seperated value files (.csv) and will produce a summary for the period uploaded from the file. Remove the header line from your downloaded bank statement, ensure the columns are ordered date, description, type of charge, money in an money out from left to right, any columns right of the fifth will be ignored. Banco will total the incoming & outgoing transactions for the period. Reporting the bottom line aswell as summing up the values for similar transactions. This is achieved by matching the description name, currently set at the first 9 characters of the string, (:total_outgoing :total_incoming - class Reporter), you can change this to be more or less exact. Hope your numbers are positive ! https://github.com/s33dco/banco https://rubygems.org/gems/banco
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.