Skip to content

Instantly share code, notes, and snippets.

View jalexy12's full-sized avatar

Josh Alexy jalexy12

  • GitHub Staff
  • Pittsburgh, PA
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jalexy12 on github.
  • I am jalexy12 (https://keybase.io/jalexy12) on keybase.
  • I have a public key ASAxHCXg7yqNzVL7ct4IUrbghfGlDz6ZcDX1t6j5H4AQhAo

To claim this, I am signing this object:

@jalexy12
jalexy12 / projects_old.md
Last active August 30, 2016 18:33 — forked from nizaroni/projects.md
How to approach your Ironhack final project.

Final Projects

Idea

  • Something you care about
  • Enough work for 6 weeks
  • Too big isn't a problem

Example Final Projects

@jalexy12
jalexy12 / sequential_strings.md
Last active June 7, 2017 16:09
Sequential Strings

Letter Sequencing

In Ruby create a function that takes in a series of sequential letters, processes it, and returns a new string with the number of occurances of that letter in a row.

For instance: processString("aabbcc") should return 2a2b2c. If a letter has only one occurance, it should only add the letter itself, not 1. For instance processString("abbcc") should return a2b2c.

Letters in non sequential order should be returned as is. For instance processString("aabbccabbc") should return 2a2b2ca2bc.

Assumptions

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
</head>
<body>
<div class="container" style="margin-top: 50px;">
<button class="btn btn-primary hello-button">Do Something</button>
</div>