Skip to content

Instantly share code, notes, and snippets.

// To set this project up:
// Go to Project -> Manage NuGet Packages
// Install NUnit and NUnit3TestAdapter
// Run any tests on the left in Test Explorer
namespace Kata_Test_Template
{
// User solution
using System;
@Souzooka
Souzooka / gist:db09035a80328d62707f74ce7172756a
Created May 24, 2017 03:33
Scarface: The World Is Yours Routing Notes
Savefiles link (contains savefiles for all missions sans intro, rename particular file "Scarface (1/2/3/4)" to replace with respective profile, place into installation folder)
Sensitivity is way too low in-game for some reason, but can be turned past the regular max value
If you taunt, Tony will move slowly. However if you do this while firing and sprinting he will continue to move at full speed.
Turn antialiasing off for better mouse movement
IMPORTANT: ENEMIES HAVE A TENDENCY TO GET STUCK *INSIDE* BUILDINGS, RECOMMEND CARRYING A GRENADE LAUNCHER OR BAZOOKA AS SAFETY.
#include <iostream>
using namespace std;
void fizzBuzz(int range)
{
for (int i = 1; i <= range; i++)
{
cout << i << ": ";
if (i % 3 == 0 && i % 5 == 0)
@Souzooka
Souzooka / stack-challenge.md
Created March 22, 2017 19:01 — forked from jaywon/stack-challenge.md
Use a Linked List to simulate a stack trace

###Console History Sim Stack Trace Challenge

Using a linked list, we are going to demonstrate a use case for a linked list and simulate a stack like you see in a stack trace (similar to what you see in your console when an error occurs), that replays the history of what we typed.

  1. Add a text box to an HTML page and add 2 buttons, save and dump.
  2. Every time the user clicks the first button to save, we are going to save the text input to our linked list as the most recent node or head.
  3. Whenever someone clicks the dump button we are going to dump out all of the input they've typed in to that point from most recent to oldest. This should be written as HTML to the page.
@Souzooka
Souzooka / stack-challenge.md
Created March 22, 2017 19:01 — forked from jaywon/stack-challenge.md
Use a Linked List to simulate a stack trace

###Console History Sim Stack Trace Challenge

Using a linked list, we are going to demonstrate a use case for a linked list and simulate a stack like you see in a stack trace (similar to what you see in your console when an error occurs), that replays the history of what we typed.

  1. Add a text box to an HTML page and add 2 buttons, save and dump.
  2. Every time the user clicks the first button to save, we are going to save the text input to our linked list as the most recent node or head.
  3. Whenever someone clicks the dump button we are going to dump out all of the input they've typed in to that point from most recent to oldest. This should be written as HTML to the page.

Pig Latin Translator

A new alien species has moved to earth and they only speak pig-latin! The president has called you and says that they need your help!

Your mission is to create a module that is capable of taking an english sentence and translating it into pig latin. We must also be able to understand what our new alien friends are saying, so the module needs to be able to convert pig-latin back to english.

TL;DR: Create a module that translates a string into Pig Latin, and is capable of translating Pig Latin back into in the native language.

##How Pig Latin Works Basically, the Pig Latin system used here works as follows: