docker run -d --name myrabbit --hostname rabbit --restart always -p 15672:15672 rabbitmq:3-management
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
# Load dataset | |
load("HW1_data.rData") | |
View(BTC.charts) | |
# normalize date | |
BTC.charts$date <- as.Date(BTC.charts$date, format= "%Y-%m-%d") | |
DASH.charts$date <- as.Date(DASH.charts$date, format= "%Y-%m-%d") | |
ETH.charts$date <- as.Date(ETH.charts$date, format= "%Y-%m-%d") | |
LTC.charts$date <- as.Date(LTC.charts$date, format= "%Y-%m-%d") |
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
media="none" onload="if(media!='all')media='all'" |
- Ability to select diffrent templates
- Ability to fill and change template variables ( like images and texts)
- Ability to enable or disable any section or part of template
- We can define templates that use handlebars syntax and save it to db or file system
- Every template contains a config.json file and contains template configuration
- A Template is consis of components and every component has props
Pull the latest version of influxdb official image :
docker pull influxdb
List all tables of db:
\dt
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
require 'sinatra' | |
get '/' do | |
"سلام دنیا" | |
end | |
get '/noobi' do | |
"سلام نوبی" | |
end |
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
require 'ibot' | |
bot = IBot.new('mybot') | |
bot.add_group 'greeting' | |
bot.add_group 'goodby' | |
bot.add_pattern 'greeting', /hi/i | |
bot.add_pattern 'greeting', /hello/i |
NewerOlder