I hereby claim:
- I am iurev on github.
- I am wwjurew (https://keybase.io/wwjurew) on keybase.
- I have a public key whose fingerprint is 5660 24FF E316 2BBF AEE8 1E3E 1C68 BA70 D0EA 9B85
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
def translate(text) | |
text = 'Блокнот в клетку' | |
response = Faraday.post("https://translation.googleapis.com/language/translate/v2?key=#{ENV['GOOGLE_CLOUD_API_KEY']}") do |req| | |
req.headers['Content-Type'] = 'application/json' | |
req.body = { | |
q: text, | |
target: 'en', | |
}.to_json | |
end |
select e.* | |
from ( | |
select department, max(salary) as max_salary | |
from employee | |
group by department | |
) d | |
join employee e | |
on e.salary = d.max_salary; |
FROM ubuntu | |
# ensure local python is preferred over distribution python | |
ENV PATH /usr/local/bin:$PATH | |
# http://bugs.python.org/issue19846 | |
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. | |
ENV LANG C.UTF-8 | |
RUN apt-get -yqq update |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html"> | |
<polymer-element name="my-element"> | |
<template> |
<link rel="import" href="../cool-clock/cool-clock.html"> | |
<link rel="import" href="../chart-js/chart-js.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; |
def np(*args) | |
puts args | |
Notifier.notify( | |
image: '/home/wwju/logo.png', | |
title: 'Ruby', | |
message: "#{args.join(', ')}" | |
) | |
end |
Список используемых гемов: