Skip to content

Instantly share code, notes, and snippets.

View developer88's full-sized avatar

Andrey Eremin developer88

View GitHub Profile
@developer88
developer88 / related_posts_drento.css
Last active October 8, 2016 16:25
Contextual Related Posts [WP] style for onceingermany.ru and code.aeremin.ru
@developer88
developer88 / e-CloseByProfit.mq4
Last active July 11, 2016 17:03
e-CloseByProfit.mq4 robot that closes your order when you need to / робот, который закрывает сделки тогда, когда вам это надо
//+----------------------------------------------------------------------------+
//| e-CloseByProfit.mq4 |
//| Ким Игорь В. aka KimIV |
//| http://www.kimiv.ru |
//| |
//| С доработками от: |
//| Андрей Ерёмин |
//| http://aeremin.ru |
//| |
//| |
@developer88
developer88 / gist:440df356c09a6e3eeca3c2404ae1c77d
Last active January 17, 2017 12:49 — forked from andrzejsliwa/gist:778535
list all available cucumber steps - (rake cucumber:steps)
# based on http://www.natontesting.com/2010/01/11/updated-script-to-list-all-cucumber-step-definitions/
#
desc 'List all defined steps'
task :steps do
require 'hirb'
extend Hirb::Console
puts "CUCUMBER steps:"
puts ""
step_definition_dir = "features/step_definitions"
@developer88
developer88 / Dockerfile
Created July 29, 2022 08:26
Ruby docker env
# More docs on Dockerfile syntax => https://docs.docker.com/engine/reference/builder/
# Set proper ruby version from the right image https://hub.docker.com/_/ruby?tab=tags
FROM ruby
WORKDIR /home/app
ENV PORT 3000
EXPOSE $PORT
@developer88
developer88 / docker-vz.yaml
Last active December 14, 2023 11:21
Lima config
# Example to use Docker instead of containerd & nerdctl
# $ limactl start ./docker.yaml
# $ limactl shell docker docker run -it -v $HOME:$HOME --rm alpine
# To run `docker` on the host (assumes docker-cli is installed):
# $ export DOCKER_HOST=$(limactl list docker --format 'unix://{{.Dir}}/sock/docker.sock')
# $ docker ...
# Example to run ubuntu using vmType: vz instead of qemu (Default)
# This example requires Lima v0.14.0 or later and macOS 13.