Skip to content

Instantly share code, notes, and snippets.

View surogin's full-sized avatar

Oleg surogin

View GitHub Profile
@surogin
surogin / Gemfile
Created June 26, 2020 06:23 — forked from dhh/Gemfile
HEY's Gemfile
ruby '2.7.1'
gem 'rails', github: 'rails/rails'
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data
# Action Text
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra'
gem 'okra', github: 'basecamp/okra'
# Drivers
@surogin
surogin / Contract Killer 3.md
Created May 29, 2019 12:49 — forked from tony-caffe/Contract Killer 3.md
The latest version of Bytes Unlimted ‘killer contract’ for web professionals

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Revised by Bytes Unlimited : June 14th 2017

@surogin
surogin / README.md
Created August 31, 2016 14:54 — forked from oodavid/README.md
Backup MySQL to Amazon S3

Backup MySQL to Amazon S3

This is a simple way to backup your MySQL tables to Amazon S3 for a nightly backup - this is all to be done on your server :-)

Sister Document - Restore MySQL from Amazon S3 - read that next

1 - Install s3cmd

this is for Centos 5.6, see http://s3tools.org/repositories for other systems like ubuntu etc

@surogin
surogin / digital_ocean_setup.md
Last active August 22, 2016 09:16 — forked from ChuckJHardy/digital_ocean_setup.md
Rails + Nginx + Unicorn + PostgreSQL + Capistrano 3

SSH into Root

$ ssh root@123.123.123.123

Change Root Password

$ passwd

Add Deploy User