create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
User: | |
id | |
username | |
password_hash | |
status | |
auth_key | |
created_at | |
updated_at |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/home/workpilots/workpilots-virtenv/build/pillow/setup.py", line 767, in <module> | |
zip_safe=not debug_build(), ) | |
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup |
# install dependencies | |
sudo apt-get update | |
sudo apt-get install -y build-essential | |
sudo apt-get install -y cmake | |
sudo apt-get install -y libgtk2.0-dev | |
sudo apt-get install -y pkg-config | |
sudo apt-get install -y python-numpy python-dev | |
sudo apt-get install -y libavcodec-dev libavformat-dev libswscale-dev | |
sudo apt-get install -y libjpeg-dev libpng12-dev libtiff5-dev libjasper-dev | |
https://kasperskyhub.staging.wpengine.com/securelist-russia/api/get_post/?post_id=26959 | |
{ | |
"status": "ok", | |
"post": { | |
"id": 26959, | |
"type": "post", | |
"slug": "ddos-ot-samyx-malenkix", | |
"url": "https://kasperskyhub.staging.wpengine.com/securelist-russia/blog/issledovaniya/26959/ddos-ot-samyx-malenkix/", | |
"status": "publish", | |
"title": "DDoS от самых маленьких", |
{ | |
"status": "ok", | |
"count": 2, | |
"count_total": 6984, | |
"pages": 3492, | |
"posts": [ | |
{ | |
"id": 28614, | |
"type": "post", | |
"slug": "the-rio-olympics-scammers-already-competing", |
{ | |
"status": "ok", | |
"post": { | |
"id": 28614, | |
"type": "post", | |
"slug": "the-rio-olympics-scammers-already-competing", | |
"url": "https://kasperskyhub.staging.wpengine.com/securelist-russia/blog/phishing-blog/28614/the-rio-olympics-scammers-already-competing/", | |
"status": "publish", | |
"title": "Олимпиада в Рио-де-Жанейро: мошенники уже участвуют", | |
"title_plain": "Олимпиада в Рио-де-Жанейро: мошенники уже участвуют", |
"sizes": { | |
"thumbnail": { | |
"file": "atomickis_blog-150x150.jpg", | |
"width": 150, | |
"height": 150, | |
"mime_type": "image/jpeg", | |
"source_url": "https://kasperskyhub.staging.wpengine.com/global/files/2015/07/atomickis_blog-150x150.jpg" | |
}, | |
"medium": { | |
"file": "atomickis_blog-300x197.jpg", |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
class ApiLogger < Grape::Middleware::Base | |
def before | |
Rails.logger.info "[api] Requested: #{request_log_data.to_json}\n" + | |
"[api] #{response_log_data[:description]} #{response_log_data[:source_file]}:#{response_log_data[:source_line]}" | |
end | |
private | |
def request_log_data |