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
<IfModule mod_headers.c> | |
Header set Cache-Control "private" | |
</IfModule> |
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/sh | |
# Homebrew Script for OSX | |
# To execute: | |
# save in your user folder and `sudo chmod u+x ./brew-install-script.sh && xattr -d com.apple.quarantine ./brew-install-script.sh && ./brew-install-script.sh` | |
echo "Installing brew..." | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
echo "Installing brew cask..." |
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
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/coliff/bootstrap-rfs/bootstrap-rfs.css"> | |
@media (max-width: 1200px) { | |
legend { | |
font-size: calc(1.275rem + 0.3vw); | |
} | |
h1, | |
.h1 { | |
font-size: calc(1.375rem + 1.5vw); | |
} |
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
wp post delete $(wp post list --post_type='revision' --format=ids) |
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
// document open script | |
var appHighlightInitialValue = app.runtimeHighlight; | |
var appHighlightInitialColorValue = app.runtimeHighlightColor; | |
app.runtimeHighlight = true; | |
app.runtimeHighlightColor = color.transparent; | |
// document close script | |
app.runtimeHighlight = appHighlightInitialValue; | |
app.runtimeHighlightColor = appHighlightInitialColorValue; |
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
error_reporting(0); | |
@ini_set('display_errors', 0); |
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
# Redirect HTTP to HTTPS | |
RewriteCond %{HTTP:X-Forwarded-Proto} =http | |
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] | |
# Redirect HTTPS to HTTP | |
RewriteCond %{HTTP:X-Forwarded-Proto} =https | |
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] |
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
AddType video/ogg .ogv | |
AddType video/mp4 .mp4 | |
AddType video/webm .webm | |
AddType audio/mpeg .mp3 | |
AddType audio/ogg .ogg | |
AddType audio/mp4 .m4a | |
AddType audio/wav /wav |
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
.container { | |
max-width: 1200px; | |
width: calc( 100vw - 4rem ); | |
margin: 0 auto; | |
} | |
.container section { | |
display: block; | |
max-width: 100%; | |
} |
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
document.documentElement.className = "js"; |
NewerOlder