Skip to content

Instantly share code, notes, and snippets.

View dimasusername's full-sized avatar
🏇

Dmitrii Kharlamov dimasusername

🏇
View GitHub Profile
@dimasusername
dimasusername / pass.md
Created July 22, 2025 13:41 — forked from sgarciav/pass.md
Initialize your password store

About

Summarizing the instructions of the pass tool (as seen on its website).

Getting Started

Installation

Execute: $ sudo apt install pass

@dimasusername
dimasusername / Gemfile
Created February 19, 2020 21:23 — forked from caseywatts/Gemfile
Sinatra on Cloud9
source 'https://rubygems.org'
gem 'sinatra'
gem 'sinatra-contrib'
@dimasusername
dimasusername / mongoid_money_usage.rb
Created January 1, 2018 03:31 — forked from zefer/mongoid_money_usage.rb
Money represented with the Money gem, persistence using Mongoid
class Product
include Mongoid::Document
include Mongoid::Timestamps
field :description, :type => String
field :price_pence, :type => Integer, :default => 0
field :currency_iso, :type => String, :default => Money.default_currency.iso_code
validates_presence_of :description