Skip to content

Instantly share code, notes, and snippets.

View andreydro's full-sized avatar

Andrei Drazdou andreydro

  • Poland
View GitHub Profile
@andreydro
andreydro / README.md
Created June 22, 2022 14:49 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

@andreydro
andreydro / rails http status codes
Created November 11, 2019 09:50 — forked from mlanett/rails http status codes
HTTP status code symbols for Rails
HTTP status code symbols for Rails
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings.
Status Code Symbol
1xx Informational
100 :continue
101 :switching_protocols
102 :processing
@andreydro
andreydro / index.md
Created March 5, 2018 19:40 — forked from rstacruz/index.md
Rails models cheatsheet

Rails Models

Generating models

$ rails g model User

Associations

belongs_to

has_one