Skip to content

Instantly share code, notes, and snippets.

View rcronald's full-sized avatar
🏠
Working from home

Ronald Requena rcronald

🏠
Working from home
View GitHub Profile
@rcronald
rcronald / rwx-polymer-workshop.md
Created March 10, 2019 23:34 — forked from JohnRiv/rwx-polymer-workshop.md
Rich Web Experience: Intro to Web Components & Polymer Workshop

Introduction to Web Components & Polymer Workshop

Hello Rich Web Experience! 👋

Thanks for coming to our hands-on introduction to Web Components & Polymer!

Please complete the following steps to get started. For any project we ask you to clone, clone them all to the same root project directory:

  1. Install Git: Mac OSX & Linux Users | Windows Users
  2. Install Node.js at least v8.0.0. For Mac OSX & Linux Users, we recommend using NVM (Node Version Manager) to allow you to have different versions of Node.js on your machine and you also will not have to use sudo when running npm install. If you wish to use NVM:
@rcronald
rcronald / iterm2-solarized.md
Last active June 2, 2019 03:31
Term2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

How to install

iTerm2

brew cask install iterm2

Or, if you do not have homebrew (you should ;)): Download and install iTerm2

iTerm2 has better color fidelity than the built in Terminal, so your themes will look better.

@rcronald
rcronald / nginx configuration
Created November 21, 2019 00:40
Nginx configuration for web applications
server {
listen 80;
server_name localhost;
charset utf-8;
tcp_nopush on;
tcp_nodelay on;
server_tokens off;
add_header Strict-Transport-Security "max-age=31536000;" always;
add_header Content-Security-Policy "default-src 'self' urls...; script-src 'self' urls..; img-src 'self' urls; style-src 'self' urls...; font-src 'self' urls..; child-src urls..;";