Skip to content

Instantly share code, notes, and snippets.


Alexey alkhachatryan

Block or report user

Report or block alkhachatryan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
alkhachatryan / client.js
Last active Feb 4, 2019 (server+client) and Express based Sample chat system
View client.js
* Socket io client
* */
socket = require('')(window.location.hostname + ':9090');
* Chat Functionalities
chat = {
addMessageElement: (element) => {
alkhachatryan /
Last active Aug 11, 2018
LINUX | Check the battery power
#IF statment will use this var to notify user about low battery
#Interval in sec
while true;
You can’t perform that action at this time.