These are chat archives for camperbot/testing

26th
Oct 2015
Abhisek Pattnaik
@abhisekp
Oct 26 2015 00:48
update
CamperBot
@camperbot
Oct 26 2015 00:48
updating wiki...
Updating 06ec734..a828e98 Fast-forward
...g-Posts-to-Free-Code-Camp-Medium-Publication.md | 25 ++++++++++++++++++++++ Learn-the-basics-of-the-VIM-editor.md | 11 +++++----- Waypoint-Add-your-JavaScript-Slot-Machine-Slots.md | 2 +- _Footer.md | 3 ++- bonfire-find-the-longest-word-in-a-string.md | 7 ++++++ bonfire-title-case-a-sentence.md | 6 ++++++ 6 files changed, 46 insertions(+), 8 deletions(-) create mode 100644 Guide-to-Submitting-Posts-to-Free-Code-Camp-Medium-Publication.md
done code: 0
:computer:
Abhisek Pattnaik
@abhisekp
Oct 26 2015 16:29
botstatus
CamperBot
@camperbot
Oct 26 2015 16:29
All bot systems are go!
botVersion: 0.0.11
env: prod
botname: camperbot
Abhisek Pattnaik
@abhisekp
Oct 26 2015 16:29
update
CamperBot
@camperbot
Oct 26 2015 16:29
updating wiki...
Already up-to-date.
done code: 0
:computer:
Craig Rufener
@crufener
Oct 26 2015 20:54
bonfire return-largest- number- in-arrays
CamperBot
@camperbot
Oct 26 2015 20:54
Sorry, can't find a bonfire called return-largest- number- in-arrays. [ Check the map? ]
Craig Rufener
@crufener
Oct 26 2015 20:55
Bonfire: Return Largest Numbers in Arrays
CamperBot
@camperbot
Oct 26 2015 20:55

:fire:Bonfire: Return Largest Numbers in Arrays :link:

function largestOfFour(arr) {
  // You can do this!
  return arr;
}

largestOfFour([[4, 5, 1, 3], [13, 27, 18, 26], [32, 35, 37, 39], [1000, 1001, 857, 1]]);

Return an array consisting of the largest number from each provided sub-array. For simplicity, the provided array will contain exactly 4 sub-arrays.

more info:  bf details | bf links | hint

Craig Rufener
@crufener
Oct 26 2015 20:56
hint
CamperBot
@camperbot
Oct 26 2015 20:56
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
Saba Ahang
@sabahang
Oct 26 2015 22:38
camperbot truncate a string
bonfire truncate a string details
CamperBot
@camperbot
Oct 26 2015 22:40

:fire:Bonfire: Truncate a string :link:

function truncate(str, num) {
  // Clear out that junk in your trunk
  return str;
}

truncate('A-tisket a-tasket A green and yellow basket', 11);

Truncate a string (first argument) if it is longer than the given maximum string length (second argument). Return the truncated string with a '...' ending.

more info:  bf details | bf links | hint

Saba Ahang
@sabahang
Oct 26 2015 22:41
bf details
CamperBot
@camperbot
Oct 26 2015 22:41

:fire:Bonfire: Truncate a string :link:

function truncate(str, num) {
  // Clear out that junk in your trunk
  return str;
}

truncate('A-tisket a-tasket A green and yellow basket', 11);
Truncate a string (first argument) if it is longer than the given maximum string length (second argument). Return the truncated string with a '...' ending.
Note that the three dots at the end add to the string length.
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.
links:
Saba Ahang
@sabahang
Oct 26 2015 22:41
hint
CamperBot
@camperbot
Oct 26 2015 22:41
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
Allison Davis
@araedavis
Oct 26 2015 23:09
bonfire search and replace
CamperBot
@camperbot
Oct 26 2015 23:09

:fire:Bonfire: Search and Replace :link:

function replace(str, before, after) {
 return str;
}

replace("A quick brown fox jumped over the lazy dog", "jumped", "leaped");

Perform a search and replace on the sentence using the arguments provided and return the new sentence.

more info:  bf details | bf links | hint

Allison Davis
@araedavis
Oct 26 2015 23:09
hint
CamperBot
@camperbot
Oct 26 2015 23:09
:construction: Spoilers are only in the Bonfire's Custom Room :point_right: