Skip to content

Instantly share code, notes, and snippets.

View zelic91's full-sized avatar
💭
It's always good to write down something

Thuong Nguyen zelic91

💭
It's always good to write down something
  • Restaff
  • Vietnam
View GitHub Profile
@zelic91
zelic91 / chat-frontend.js
Created March 13, 2018 08:56 — forked from martinsik/chat-frontend.js
Node.js chat frontend and server
$(function () {
"use strict";
// for better performance - to avoid searching in DOM
var content = $('#content');
var input = $('#input');
var status = $('#status');
// my color assigned by the server
var myColor = false;
@zelic91
zelic91 / gist:2741e1b1cfa5664372b2
Last active August 29, 2015 14:23
Android Testing Framework
// JUnit & Mockito
testCompile 'junit:junit:4.12'
testCompile "org.mockito:mockito-core:1.9.5"
// Espresso
androidTestCompile('com.android.support.test.espresso:espresso-core:2.0')
androidTestCompile('com.android.support.test:testing-support-lib:0.1')
androidTestCompile('com.jayway.android.robotium:robotium-solo:5.2.1')
testCompile 'org.hamcrest:hamcrest-core:1.1'