This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$blueprint = json_decode( '{ | |
"sample": { | |
"themes": [ | |
"automattic/_s" | |
], | |
"mu_plugins": { | |
"wds-required-plugins": "https://github.com/WebDevStudios/WDS-Required-Plugins.git" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# Slide-in reveal transitions | |
# | |
# @author Ezekiel Gabrielse, Produce Results | |
# @link https://produceresults.com | |
### | |
class Reveal | |
### | |
# Add reveal animation to els |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use-strict" | |
### | |
# Slider | |
# | |
# @example | |
# ```haml | |
# .slider__wrapper | |
# .slider | |
# .slider__slide.slider__slide--active |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Wide-open CORS config for nginx | |
# | |
location / { | |
if ($request_method = 'OPTIONS') { | |
add_header 'Access-Control-Allow-Origin' '*'; | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Let it Rain! | |
# Copyright (C) 2011, 2013 by Yu-Jie Lin | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
#Stay Standalone
A short script to prevent internal links to a "webapp" added to iPhone home screen to open in Safari instead of navigating internally.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Parse the query string params. | |
# https://gist.github.com/brianmcallister/94d89b3c50b2b9e98f6d | |
# | |
# Examples | |
# | |
# If the query string is: | |
# test=test&foo&a=truee&bool=false&num=10 | |
# | |
# parseQueryParams() | |
# #=> {"test": "test", "foo": "", "a": "truee", "bool": false, "num": 10} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin duplicates { | |
$selectors: (); | |
@if not & { | |
@warn "You can't use the 'duplicates' mixin without a parent selector (&)"; | |
} | |
@each $set in & { | |
$selectors: append($selectors, #{$set} + #{nth($set, length($set))}, "comma"); | |
} |