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
Show hidden characters
{ | |
/* | |
* ENVIRONMENTS | |
* ================= | |
*/ | |
"globals": { | |
"localStorage": false, | |
"document": false, | |
"confirm" :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
var elixir = require('laravel-elixir'); | |
require('laravel-elixir-browsersync'); | |
// PARAMS - is --production? | |
var inProduction = elixir.config.production; | |
// PATHS - Bower | |
var bower_path = "./resources/assets/bower"; |
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 -x | |
# ================================== | |
# iptables default configuration script | |
# | |
# - this locks down our servers port access | |
# ================================== | |
# install fail2ban | |
sudo apt-get update |
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 | |
// add this to | |
// app/code/community/AW/Blog/Model/Blog.php | |
public function getFeaturedProductId() | |
{ | |
$content = $this->getData('featured_product_id'); | |
return $content; | |
} |
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).ready(function(){ | |
//set the index counter | |
var i = 0; | |
//convert all .nav-tabs, except those with the class .keep-tabs | |
$('.nav-tabs').not( ".keep-tabs" ).each(function(){ | |
//init variables | |
var $select, |
NewerOlder