Skip to content

Instantly share code, notes, and snippets.

View tgy's full-sized avatar

Valentin Iovene tgy

View GitHub Profile
@tgy
tgy / vim-hybrid termite colorscheme
Last active July 19, 2017 13:21
vim-hybrid colorscheme for termite
# Vim-hybrid colorscheme for termite
# see https://github.com/w0ng/vim-hybrid
[colors]
foreground = #C5C8C6
foreground_bold = #D9D9D9
foreground_dim = #ADADAD
background = #1D1F21
cursor = #D9D9D9
\documentclass[12pt]{report}
\usepackage[margin=1.4in]{geometry}
\usepackage[francais]{babel}
\usepackage[latin1]{inputenc}
\usepackage[sc]{mathpazo}
\linespread{1.05}
\usepackage[T1]{fontenc}
TcpListener server = new TcpListener(_ipAddress, _port);
server.Start();
Console.WriteLine("Listening on port " + _port);
Byte[] bytes = new byte[256];
while (true)
{
try
@tgy
tgy / gist:5384416
Created April 14, 2013 21:59
Find smaller sequence
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
namespace Vermeille
{
internal class Exo8
{