Skip to content

Instantly share code, notes, and snippets.

View ashumeow's full-sized avatar
🎯
Moving Forward

Aswini S ashumeow

🎯
Moving Forward
View GitHub Profile
// Create a socket instance
var socket = new WebSocket('ws://localhost:8080');
// Open the socket
socket.onopen = function(event) {
// Send an initial message
socket.send('I am the client and I'm listening!');
// Listen for messages
@ashumeow
ashumeow / equality
Last active December 27, 2015 12:19 — forked from poemdexter/equality
if (a == b && a.equals(b))
{
printf("totes equal for realz");
}
@ashumeow
ashumeow / gist:7325178
Last active December 27, 2015 12:19 — forked from devjev/gist:7325149
$ git log -–pretty=oneline HEAD~5..HEAD
#include<iostream>
#include<fstream>
#include<sstream>
using namespace std;
fstream plik;
void main()
string intToStr(int i)
{
ostringstream ss;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<h1>The 1Colors Swatches</h1>
<div class="colors">
<div>
@ashumeow
ashumeow / List.cs
Created November 6, 2013 16:10 — forked from ajarmst/List.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RawList
{
class List
{
static void Main(string[] args)
@ashumeow
ashumeow / ss.cpp
Last active December 27, 2015 14:09
#include<iostream>
Using namespace std;
int main()
{
public class ss
{
cout<< "sad";
return 0;
}
}
@ashumeow
ashumeow / foo.c
Last active December 27, 2015 14:19
#include<stdio.h>
#include<conio.h>
void main()
{
printf("this is a gist test file");
}
<style>
#body
div { width:960px; padding:100px 0; margin:0 auto; font-family:Calibri, sans-serif; }
#nav
div{
border:1px solid #ccc;
border-width:1px 0;
list-style:none;
margin:0;