This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Socket io client | |
* */ | |
socket = require('socket.io-client')(window.location.hostname + ':9090'); | |
/** | |
* Chat Functionalities | |
*/ | |
chat = { | |
addMessageElement: (element) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#IF statment will use this var to notify user about low battery | |
LESS_THAN=70 | |
#Interval in sec | |
INTERVAL=30 | |
while true; | |
do |