Skip to content

Instantly share code, notes, and snippets.

View rafaelsc's full-sized avatar

Rafael Sliveira Cordeiro rafaelsc

  • Vancouver - BC - Canada
  • 11:21 (UTC -08:00)
View GitHub Profile
@rafaelsc
rafaelsc / css-units-best-practices.md
Created March 22, 2018 01:46 — forked from basham/css-units-best-practices.md
CSS Units Best Practices

CSS units

Recommendations of unit types per media type:

Media Recommended Occasional use Infrequent use Not recommended
Screen em, rem, % px ch, ex, vw, vh, vmin, vmax cm, mm, in, pt, pc
Print em, rem, % cm, mm, in, pt, pc ch, ex px, vw, vh, vmin, vmax

Relative units

Relative units

@rafaelsc
rafaelsc / System Design.md
Created April 19, 2016 02:41 — forked from vasanthk/System Design.md
System Design Cheatsheet

#System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

##Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@rafaelsc
rafaelsc / BoxStarter.DevVM.ps1
Last active March 23, 2016 17:05
My BoxStarter for My DEV VM
Set-ExplorerOptions -showHidenFilesFoldersDrives -showFileExtensions
Enable-RemoteDesktop
choco install jdk8
choco install windows-sdk-10.1
choco install android-sdk
choco install nodejs.install
@rafaelsc
rafaelsc / VisualStudio.flt
Created May 6, 2015 22:07
WinMerge Directory/File Filter for Visual Studio temporary files, build results, and files generated by popular Visual Studio add-ons.
## by rafaelsc
## This is a directory/file filter for WinMerge
## This filter Ignore Visual Studio temporary files, build results, and files generated by popular Visual Studio add-ons
name: Visual Studio Files
desc: Ignore Visual Studio temporary files, build results, and files generated by popular Visual Studio add-ons.
## This is an inclusive (loose) filter
## (it lets through everything not specified)
def: include