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
{ | |
"require": { | |
"slim/slim": "2.*", | |
"illuminate/database": "*", | |
"dhorrigan/capsule": "*" | |
} | |
} |
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
function hasFileUploadSupport(){ | |
var hasSupport = true; | |
try{ | |
var testFileInput = document.createElement('input'); | |
testFileInput.type = 'file'; | |
testFileInput.style.display = 'none'; | |
document.getElementsByTagName('body')[0].appendChild(testFileInput); | |
if(testFileInput.disabled){ | |
hasSupport = false; | |
} |
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="shortcut icon" href="/img/favicons/favicon.ico"> | |
<link rel="icon" sizes="16x16 32x32 64x64" href="/img/favicons/favicon.ico"> | |
<link rel="icon" type="image/png" sizes="196x196" href="/img/favicons/favicon-196.png"> | |
<link rel="icon" type="image/png" sizes="160x160" href="/img/favicons/favicon-160.png"> | |
<link rel="icon" type="image/png" sizes="96x96" href="/img/favicons/favicon-96.png"> | |
<link rel="icon" type="image/png" sizes="64x64" href="/img/favicons/favicon-64.png"> | |
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicons/favicon-32.png"> | |
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicons/favicon-16.png"> | |
<link rel="apple-touch-icon" sizes="152x152" href="/img/favicons/favicon-152.png"> | |
<link rel="apple-touch-icon" sizes="144x144" href="/img/favicons/favicon-144.png"> |
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
// Remove extra head tags | |
remove_action( 'wp_head', 'feed_links_extra', 3 ); //Extra feeds such as category feeds | |
remove_action( 'wp_head', 'feed_links', 2 ); // General feeds: Post and Comment Feed | |
remove_action ('wp_head', 'rsd_link'); | |
remove_action( 'wp_head', 'wlwmanifest_link'); | |
remove_action( 'wp_head', 'wp_shortlink_wp_head'); | |
remove_action('wp_head', 'wp_generator'); |
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 { | |
.inner { | |
width: 100%; | |
margin: 100px; | |
} | |
.div { | |
color: rgb(255, 237, 93); | |
} | |
} |
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
$module: 'block'; | |
.#{$module} { | |
&__element { | |
} | |
&--modifier { | |
.#{$module}__element { | |
} |
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
<snippet> | |
<content><![CDATA[ | |
\$module: 'block'; | |
.#{\$module} { | |
&__element {} | |
&--modifier { | |
.#{\$module}__element {} |
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
.block | |
.block__element | |
p Lorem ipsum | |
.block__element--modifier | |
p Lorem ipsum | |
.block__element.block__element--modifier | |
p Lorem ipsum |
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
// https://github.com/suitcss/suit/blob/master/doc/naming-conventions.md | |
// u-utilityName | |
// ComponentName | |
// ComponentName--modifierName | |
// ComponentName-descendantName | |
// ComponentName.is-stateOfComponent | |
$module: 'ComponentName'; |
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
<snippet> | |
<content><![CDATA[ | |
// https://github.com/suitcss/suit/blob/master/doc/naming-conventions.md | |
// ComponentName | |
// ComponentName--modifierName | |
// ComponentName-descendantName | |
// ComponentName.is-stateOfComponent | |
// u-utilityName |
OlderNewer