Skip to content

Instantly share code, notes, and snippets.

[
{
"loc": 8,
"path": "./app/develop/scripts/config.js",
"exclude": false
},
{
"loc": 47,
"path": "./app/scripts/404/js/404.js",
"exclude": false

root of project directory: .ebextensions/nginx.conf

files:
    "/etc/nginx/conf.d/proxy.conf" :
        mode: "000755"
        owner: root
        group: root
 content: |
(echo 'module.exports = { files: [';
  # find all files recursively
  find . |
  # exclude junk/system files
  grep -v '.DS_Store$' |
  # remove leading ./ and wrap the rest of the string in quotes, end with comma
  sed -e 's/\.\///g' -e 's/\(.*\)/"\1",/g';
 # close the object and export output to a file
const hoverAnimation = f1.lazyAnimation({
  states: {
    focused: {
      focusedElement: {
        opacity: 1
      },
      otherElements: {
        opacity: 0.5
 }
@cheapsteak
cheapsteak / SassMeister-input.scss
Created October 18, 2015 18:34
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
div {
width: calc(100% - 100px);
}

Swagger RESTful API Documentation Specification

Version 2.0

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

The Swagger specification is licensed under The Apache License, Version 2.0.

Introduction