Skip to content

Instantly share code, notes, and snippets.

View micaelbergeron's full-sized avatar

Micaël Bergeron micaelbergeron

View GitHub Profile
@micaelbergeron
micaelbergeron / 0_reuse_code.js
Last active August 29, 2015 14:20
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
static void Main(string[] args)
{
const char VIDE = '_';
try
{
System.IO.StreamReader sr = new System.IO.StreamReader(@"C:\Users\Michael\Desktop\School\Pendu.txt");
string line;
while ((line = sr.ReadLine()) != null)
{
@micaelbergeron
micaelbergeron / gist:4118516
Created November 20, 2012 15:15
Cesar cipher impl.
/*
* encryption.cpp
*
* Created on: 2012-11-10
* Author: Micael Bergeron
*/
#include "encryption.h"
#include <sstream>