Skip to content

Instantly share code, notes, and snippets.

@piatra
piatra / index.html
Created July 27, 2012 19:52
music player in the browser
<!doctype html public "✰">
<html>
<head>
<title>music player</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:600' rel='stylesheet' type='text/css'>
<style>
body {
font-family:'Open Sans';
font-weight: 600;
-webkit-animation:bg 30s;
@ariallas
ariallas / server.cpp
Created March 28, 2012 17:40
Console chat
#include <iostream>
#include <sstream>
using namespace std;
#define _WINSOCKAPI_
#include <WinSock2.h>
#pragma comment (lib, "Ws2_32.lib")
#define SERVER_ADDRESS "192.168.1.2"
//#define SERVER_ADDRESS "93.181.195.49"
@qrush
qrush / Inconsolata-dz-Powerline.otf
Created January 11, 2012 16:50
vim-powerline patched fonts
@opilar
opilar / template.cpp
Created January 7, 2012 18:53
Default template for C++.
#include <fstream>
using namespace std;
ifstream cin ("input.txt");
ofstream cout ("output.txt");
int main ()
{