Skip to content

Instantly share code, notes, and snippets.

View dutsik's full-sized avatar

dutsik dutsik

  • Switzerland
View GitHub Profile
``` bash
docker run --rm -v ${PWD}:/usr/src -w /usr/src -ti ruby:2.5.1 bash ; cd app
```
``` bash
gem install rails
# Last, we'll create the project skeleton (your options may vary) - but let's
# disable running bundler after the project creation, as it may take a couple
# of minutes, and we'll end up removing this container, so the install is of
version: "3.4"
x-mailer:
&mailer
ADMIN_NAME: "Бендер Родригес"
ADMIN_EMAIL: 111@gmail.com
ADMIN_PASSWORD: 111
DOMAIN_NAME: gmail.com
SMTP_SERVER: smtp.gmail.com
x-postgres_env:
FROM ruby:2.6.3
RUN apt-get update \
&& apt-get -y install curl wget git ssh mupdf-tools mc vim
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \
&& apt-get install -y nodejs
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby '2.6.3'
gem "active_hash"
gem "activerecord-postgis-adapter"
gem 'rails', '~> 5.2.3'
gem 'rails-i18n', '~> 5.1'
@dutsik
dutsik / track.json
Created July 8, 2022 23:43
example tracks data
This file has been truncated, but you can view the full file.
[
{
"trailId": "54413",
"title": "Gotschna Freeride",
"photos": {
"id": "13788579",
"trailId": "54413",
"reportid": "0",
"smallThumb": "https:\/\/ep1.pinkbike.org\/p1pb13788579\/p1pb13788579.jpg",
"largeThumb": "https:\/\/ep1.pinkbike.org\/p4pb13788579\/p4pb13788579.jpg"