Commit Graph

8927 Commits (9418f7baef63c2c59d7bb553fcf1a4a1a9ea2431)

Author SHA1 Message Date
Rob Emery 9418f7baef Conversions: Didn't use List::Util in the end as it's all in hashes 2016-05-09 20:31:36 +01:00
Rob Emery 4417d51443 Conversions: More tidying up; also dodged bug where units would be added twice 2016-05-09 20:30:34 +01:00
Rob Emery 679a1d7fdf Conversions: Plural isn't used in the response from get_matches as it's looked up in the hash 2016-05-09 20:28:49 +01:00
Rob Emery cd4bf80a17 Conversions: Minor code tidies 2016-05-09 20:28:00 +01:00
Rob Emery 6775764f28 Conversions: refactoring and tidying up around set_unit_pluralisation 2016-05-09 20:25:37 +01:00
Rob Emery 539e5dcd78 Conversions: Tiding up a little 2016-05-09 20:20:08 +01:00
Rob Emery aedcc1d560 Conversions: Better off without the JSON formatted version for now 2016-05-09 20:18:21 +01:00
Rob Emery ed3c5560b3 Conversions: All tests now passing 2016-05-09 20:17:32 +01:00
Rob Emery 3085cef17a Conversions: Again I think the intent behind the query `ml in gallons` is "how many ml are there in a gallon?" 2016-05-09 20:11:38 +01:00
Rob Emery a76e193f8d Conversions: I think the query how many cm in metres should return the answer "1 meter = 100cm" 2016-05-09 20:09:58 +01:00
Rob Emery e684a14a5f Conversions: TNT will always be returned as tnt now 2016-05-09 20:03:19 +01:00
Rob Emery abad3d0d1f Conversions: The previous code assumed that everything was lowercase; I've injected lc all over the place to make the tests pass 2016-05-09 19:55:59 +01:00
Rob Emery 31d94115cb Conversions: Fixing some unit mistakes 2016-05-09 19:41:23 +01:00
Rob Emery 02b39325ad Conversions: Adding JSON representation which works far better than YAML 2016-05-09 01:15:05 +01:00
Rob Emery 65ad6fce17 Conversions: non-working version using the plural from the YAML 2016-05-08 22:22:28 +01:00
Rob Emery ccc0ad7d46 Conversions: Removing the plurals from aliases as they'll get merged in the IA 2016-05-08 22:22:28 +01:00
Rob Emery 5f9ec79b19 Conversions: Adding definition for plural against each unit 2016-05-08 22:17:42 +01:00
Rob Emery bdf0a61cfd Merge pull request #2972 from hchienjo/perl_cheatsheet_fix
remove improper use of shift when unpacking from @ARGV
2016-05-08 21:45:28 +01:00
Rob Emery 6d9a9b9f7b Merge pull request #3011 from Zacqary/tsp-tbsp-conversions
Conversions: Added tablespoons and teaspoons
2016-05-08 21:34:40 +01:00
Rob Emery 35fb7cbf96 Constants: The Boltzmann and Stefan-Boltzman constants were confused (#2963) 2016-05-08 21:27:07 +01:00
Zacqary Adam Xeper 2828b9e67b Conversions: Fixed dessert spoons abbreviation 2016-05-08 13:47:07 -04:00
Zacqary Adam Xeper e25e37997a Conversions: Added metric dessert spoons 2016-05-08 12:04:57 -04:00
hchienjo 6f3319919b remove unnecessary brackets. 2016-05-08 11:34:01 +00:00
Rob Emery 2540ff11b1 Mintsoft/conversions/squarefeet (#3006)
* Conversions: The plural of square foot is square feet NOT square foots

* Conversions: Fixing test for #3004
2016-05-08 11:25:12 +01:00
Zacqary 99d89ba891 Conversions: Added tablespoons and teaspoons 2016-05-07 19:05:41 +00:00
Zac Pappis 5ba4d31afd Merge pull request #2987 from NaveenKarippai/cheatsheet/gitChris
Swap key-value pair on `Three states` section of git cheatsheet
2016-05-04 09:10:26 -04:00
Rob Emery 0ea9f866e4 Merge pull request #2965 from dbech/HexToASCII
hex_to_ascii: Improved triggers
2016-05-04 08:10:42 +01:00
Zac Pappis 0f041fc432 Merge pull request #2971 from tagawa/tagawa/git-cheatsheet
Git cheatsheet: Fixed stray backslashes
2016-05-02 16:01:12 -04:00
Zac Pappis 2132ee5c58 Merge pull request #2969 from chrissherlock/gitcheatsheet
Add in the three stages, from the git-scm site
2016-05-02 15:56:38 -04:00
Zac Pappis 33aa906878 Merge pull request #2975 from NaveenKarippai/cheatsheet/git
Add debugging section and modify stash section
2016-05-02 15:49:26 -04:00
Harrison Chienjo b4db4f75a5 Italian cheatsheet fix (#2974)
* fix wrong spelling
2016-05-02 10:47:46 +01:00
Swapnil Agarwal b59704fd1b Update minionese aliases (#2991) 2016-05-01 16:34:25 +01:00
Daniel Bech a8c91a8ffc Update HexToASCII.pm 2016-05-01 23:17:45 +08:00
Daniel Bech 77a76939b0 Formatting
aligned some thingers
2016-05-01 23:00:53 +08:00
Daniel Bech 2273cc50a5 Updated to test with template
Updated to test full template instead of simple structured answer
2016-05-01 22:54:40 +08:00
Daniel Bech 4db00f2ec4 Updated to full template
Changed from simple structured answer to text template
2016-05-01 22:36:57 +08:00
Daniel Bech bc37677437 added new tests
More test cases for more triggers
2016-05-01 21:29:43 +08:00
Daniel Bech 629bba3493 Now case insensitive
popped a little 'i' in there, made the matching of to as in 0 or 1
2016-05-01 21:22:46 +08:00
nkarippai 113d68fe6a Swap key and value on git cheatsheet JSON data
The key-value pair was not following the standard order and it should
be swapped to make it look consistent with other key-value data
included on git cheatsheet JSON data.

* swapped key-value pair in git cheatsheet JSON data
2016-05-01 08:52:01 +00:00
Vasilis 6a4a2f6bba Updaded aliases as per #2967 (#2981) 2016-05-01 08:08:29 +01:00
Lauren Ancona 5f130db379 repl `global` w/ `deep` (#2984)
ref: http://adv-r.had.co.nz/Environments.html
2016-05-01 08:01:37 +01:00
Jonas Herz d725c7e206 New FTP Cheat Sheet (#2930)
* Initial Commit

* Fix the description

* Add the command line options
2016-05-01 07:53:35 +01:00
Varun Dey ec5215ecd6 Dothraki Cheat Sheet: Update aliases per #2967 (#2978)
* updated alias

* proper indentation
2016-04-30 21:50:01 +01:00
Rob Emery 2f507bb307 Merge pull request #2956 from zblair/master
Conversions: Add conversions for grains, carats, drams, cc's, cubic inches, mmHg, decades, centuries, millennia, and thousandths of an inch
2016-04-30 20:20:15 +01:00
Steven Glick 06b2201879 Fix for loop syntax for Swift 2.2 (#2976) 2016-04-30 20:11:29 +01:00
nkarippai 53ceddced0 Add debugging section and modify stash section
The debugging subcommands are useful to daily programmer and comes
handy for a day-to-day debugging process. It would be a good idea
to include it in cheatsheet. Git stash subcommands are also required
for a daily programming needs. It is useful to include widely used
stash subcommands.

* git stash section modified

* git debugging section added
2016-04-30 17:33:32 +00:00
zblair cced8f79d9 Add a trailing comma to the last element in a list 2016-04-30 16:43:12 +00:00
hchienjo 8dac85c25d remove improper use of shift when unpacking from @ARGV 2016-04-30 14:38:02 +00:00
tagawa 67d2b5be9d Git cheatsheet: Fixed stray backslashes 2016-04-30 14:15:03 +00:00
Daniel Bech 288926d1d2 Added regex to strip out to|as|in
added some regex that would strip off ' to' if the IA was triggered off of '0x74657374 to asci'
2016-04-30 21:05:14 +08:00