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
location ~* \.(js|css|png|jpe?g|gif|ico)$ { | |
expires 24h; | |
log_not_found off; | |
try_files $uri $uri/ @production; | |
} | |
location @production { | |
resolver 8.8.8.8; | |
proxy_pass https://www.prodsite.com/$uri; | |
} |
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
@font-face { | |
font-family: Champion; | |
src: local("Champion-HTF-Featherweight"), url(data:font/truetype;charset=utf-8;base64,AAEAAAASAQAABAAgRkZUTVpdfUUAALe0AAAAHEdERUYAJwDRAAC30AAAAB5HUE9T6Ob2WgAAt/AAAAJoR1NVQmyRdI8AALpYAAAAIE9TLzIUjPZHAAABqAAAAGBjbWFwEKmD3QAABTQAAAJCY3Z0IDKR/+IAABWgAAAAgGZwZ209HI58AAAHeAAADW1nYXNwAAAAEAAAt6wAAAAIZ2x5Zrcs7HoAABe4AACbMGhlYWT8uxXIAAABLAAAADZoaGVhB6IDPgAAAWQAAAAkaG10eAgHDNQAAAIIAAADKmxvY2HiXRQuAAAWIAAAAZhtYXhwBv4fgQAAAYgAAAAgbmFtZXFPzdgAALLoAAADDHBvc3QpairWAAC19AAAAbhwcmVwLdIi2wAAFOgAAAC1AAEAAAABAABy6+t2Xw889QAPA+gAAAAAwlyrHgAAAADXjicl/7n+rgP0A/IAAAAIAAIAAAAAAAAAAQAAA/L+rgAABAv/uf+6A/QAAQAAAAAAAAAAAAAAAAAAAMoAAQAAAMsGKgBEAAAAAAACAUQBVgCLAAAEHxf/AAAAAAACAQoB9AAFAAACigKKAAAAlgKKAooAAAH0ADIA4QAAAAAAAAAAAAAAAIAAAC9QAAAIAAAAAAAAAAAAAAAAAAAAIPsCA/L+rgApA/IBUiAAAREAAAAAAk4DIAAAACAAAgH0AAAAAAAAAU0AAACCAAAAtwAeAToAFQJJABsBQAAFAtYAFwIJAAoApwAVAPcAFwD3AAEBqgAKAXMAGwCnABUA5QAbAKcAGwFzABkBVAAXARoACgFMAA4BQQARAVIADQFKABcBSgAXAS8AGgFKABcBSgAXAKcAGwCnABUBUgAPAUsAGwFSAA8BRQASAy8AHgE/AAQBSA |
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
#!/usr/bin/env node | |
const fs = require('fs'); | |
const util = require('util'); | |
const exec = util.promisify(require('child_process').exec); | |
const readFile = util.promisify(fs.readFile); | |
const writeFile = util.promisify(fs.writeFile); | |
const args = process.argv.slice(2); |
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
FROM richarvey/nginx-php-fpm | |
MAINTAINER name@example.com | |
EXPOSE 80 443 | |
ADD . /var/www/html/ |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"> | |
<link rel="canonical" href="https://redacted.com/"> | |
<title>Redacted</title> | |
<meta name="description" content="Lorem Ipsum aslkdfj laskdjf lsakdfjlsa dfjldsk"> |
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
import lz from 'lz-string' | |
function Lstorage() { | |
if (!(this instanceof Lstorage)) { | |
return new Lstorage(); | |
} | |
Lstorage.a = {} | |
Lstorage.len = 0 | |
return this |
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 hidpi { | |
@media only screen and (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2), (min-resolution: 2dppx) { | |
@content; | |
} | |
} | |
@mixin image2x($name, $extension: 'jpg', $size: auto, $position: null, $repeat: null) { | |
@if $size != auto { | |
background-size: $size; | |
} |
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 break-max($size) { | |
@media only screen and (max-width: $size) { @content; } | |
} | |
@mixin break-min($size) { | |
@media only screen and (min-width: $size + 1) { @content; } | |
} | |
//Example |
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
<div class="va"> | |
<div class="va__body"> | |
<div class="va__content"> | |
<h1>Hello, World!</h1> | |
</div> | |
</div> | |
</div> |
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
BEGIN:VCARD | |
VERSION:2.1 | |
N:Del Rio;Ruben;;; | |
FN:Ruben Del Rio | |
TITLE:Designer | |
TEL;CELL:+1-[redacted] | |
EMAIL;PREF:ruben@rdelrio.com | |
EMAIL;HOME:[redacted] | |
GENDER:M | |
ADR;HOME:;;;Orlando;Florida;;United States |
NewerOlder