Skip to content

Instantly share code, notes, and snippets.


Oleksii Dashkevych Jesterovskiy

  • 4ireLabs
  • Ukraine
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jesterovskiy on github.
  • I am jesterovskiy ( on keybase.
  • I have a public key ASDn3aAaaUQncD4TG262lwFr11_QT5qMDJc2o8C0KYmzwgo

To claim this, I am signing this object:

View env.rb
STAGE = (ENV['STAGE'] || 'development').freeze
RACK_ENV = (ENV['RACK_ENV'] || 'development').freeze
ROOT_PATH = Pathname(__FILE__).parent.dirname.realpath
Dotenv.load(File.expand_path("#{ROOT_PATH}/.env.#{RACK_ENV}", __FILE__))
View gist:f720ff4012153323a22321863aded0df
class UplynkSynchronizeJob
def self.process_asset
puts 'Hello1'
puts 'Hello3'
module ComplexNetworks
class UplynkSynchronizeJob < ::UplynkSynchronizeJob
View space.html
<meta charset = "windows-1251">
<link type="text/css" rel="stylesheet" href="space.css">
View gist:d238f796a6b6d12aa6e57f8bbcc2ca99
Это код в GenServer который запускается каждые 5 минут
def handle_info(:work, state) do
IO.puts "Handle info"
body = HTTPoison.get!("long url").body
{:ok, pid} = GenServer.start_link(VideoProcessor.Process, [])
Enum.each(Floki.find(body, "item") |> Enum.slice(1, 2),
# Floki.find(body, "item"),
fn(x) ->
url = parse_xml(x, "link")
filename = parse_xml(x, "guid") <> ".mp4"
View gist:daf3ae182377a1b83b20
➜ ~ brew install --verbose --debug gort
/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/gort.rb
/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/go.rb
/usr/local/Library/Homebrew/build.rb (Formulary::FromPathLoader): loading /usr/local/Library/Formula/gort.rb
/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/go.rb
==> Downloading
Already downloaded: /Library/Caches/Homebrew/gort-0.3.0.tar.gz
==> Verifying gort-0.3.0.tar.gz checksum
tar xf /Library/Caches/Homebrew/gort-0.3.0.tar.gz
==> Patching
Jesterovskiy / rake.log
Last active Aug 29, 2015
Rubinius install
View rake.log
** Invoke install (first_time)
** Invoke build:build (first_time)
** Invoke build:llvm (first_time)
** Execute build:llvm
** Invoke vm/vm (first_time)
** Invoke vm/gen/config_variables.h (first_time)
** Invoke library/rubinius/configuration.rb (first_time, not_needed)
** Invoke config.rb (first_time, not_needed)
** Execute vm/gen/config_variables.h
/Users/jester/.rvm/rubies/ruby-2.1.4/bin/ruby vm/codegen/config_vars.rb vm/gen/config_variables.h
Jesterovskiy / postgis
Last active Dec 26, 2015
SemaphoreApp Postgis
View postgis
echo "deb precise-pgdg main" | sudo tee -a /etc/apt/sources.list.d/pgdg.list
wget --quiet -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get install -y postgresql-9.3-postgis-2.1 postgresql-9.3-postgis-2.1-scripts
View base.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>Facewatch Testing</title>
<link rel="stylesheet" href="../app/stylesheets/vendor/mocha.css" type="text/css" media="screen" title="no title" charset="utf-8">
<div id="mocha"></div>
View program.css.scss
header.program-pdf {
table.items {
.tr {
background-color: inherit;
background-image: none;