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 / interactiveRebase.git
Last active December 27, 2015 11:49
Aiming to use interactive option for rebase (.git) I am not getting success after the final statement $ git rebase -i HEAD~3 #Help
//start
$ git status
$ git commit -m "aaa"
$ git commit -m "bbb"
$ git commit -m "ccc"
@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");
}