Skip to content

Instantly share code, notes, and snippets.

View arbo77's full-sized avatar
🤧
I may be slow to respond.

Ari Wibowo arbo77

🤧
I may be slow to respond.
View GitHub Profile
@arbo77
arbo77 / read.js
Created June 11, 2018 00:28 — forked from sjcotto/read.js
function isChatMessage(message) {
if (message.__x_isSentByMe) {
return false;
}
if (message.__x_isNotification) {
return false;
}
if (!message.__x_isUserCreatedType) {
return false;
}
@arbo77
arbo77 / 0_reuse_code.js
Created February 6, 2014 14:32
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console