Skip to content

Instantly share code, notes, and snippets.

View Lorezz's full-sized avatar
Working from home

lorezz Lorezz

Working from home
View GitHub Profile
@Lorezz
Lorezz / nginx.conf
Created February 27, 2016 15:30 — forked from micho/nginx.conf
nginx config for http/https proxy to localhost:3000
First, install nginx for mac with "brew install nginx".
Then follow homebrew's instructions to know where the config file is.
1. To use https you will need a self-signed certificate: https://devcenter.heroku.com/articles/ssl-certificate-self
2. Copy it somewhere (use full path in the example below for server.* files)
3. sudo nginx -s reload
4. Access https://localhost/
Edit /usr/local/etc/nginx/nginx.conf:
@Lorezz
Lorezz / .gitignore
Created December 5, 2015 22:21 — forked from bergie/.gitignore
Node.js email handling examples
config.json
reading-image.png
@Lorezz
Lorezz / css_resources.md
Last active August 29, 2015 14:22 — forked from jookyboi/css_resources.md
CSS libraries and guides to bring some order to the chaos.

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides

@Lorezz
Lorezz / javascript_resources.md
Last active August 29, 2015 14:22 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
  • lawnchair - Key/value store adapter for indexdb, localStorage
@Lorezz
Lorezz / lzzAnimatedGradient.css
Last active August 29, 2015 14:12 — forked from anonymous/my.css
Animated Gradient 2
background: linear-gradient(49deg, #25bf97, #ca11e8, #5f0ea1, #1e9de4);
background-size: 800% 800%;
-webkit-animation: lzzAnimatedGradient 60s ease infinite;
-moz-animation: lzzAnimatedGradient 60s ease infinite;
-o-animation: lzzAnimatedGradient 60s ease infinite;
animation: lzzAnimatedGradient 60s ease infinite;
@-webkit-keyframes lzzAnimatedGradient {
    0%{background-position:0% 97%}
    50%{background-position:100% 4%}
    100%{background-position:0% 97%}
@Lorezz
Lorezz / animate_gradient_2.css
Last active August 29, 2015 14:12 — forked from anonymous/my.css
CSS Animated Gradient 3
background: linear-gradient(49deg, #25bf97, #ca11e8, #5f0ea1, #1e9de4, #2b4c8c, #2f3238, #232323, #c63f3f, #f52626);
background-size: 1800% 1800%;
-webkit-animation: AnimationName 29s ease infinite;
-moz-animation: AnimationName 29s ease infinite;
-o-animation: AnimationName 29s ease infinite;
animation: AnimationName 29s ease infinite;
@-webkit-keyframes AnimationName {
    0%{background-position:0% 97%}
    50%{background-position:100% 4%}
    100%{background-position:0% 97%}