mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-25 21:00:31 +01:00
Make most solutions work with make or shebang.
This commit is contained in:
1
2017/day-21/solution.coffee
Normal file → Executable file
1
2017/day-21/solution.coffee
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env coffee
|
||||
String.prototype.count = (pattern) ->
|
||||
(this.match(pattern) || []).length
|
||||
|
||||
|
||||
Reference in New Issue
Block a user