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
<% content_for(:javascripts) do %> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
$("select").selectBox(); | |
}); | |
</script> | |
<% end %> |
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
<script type="text/javascript"> | |
$(document).ready(function() { | |
$("select").selectBox(); | |
}); | |
</script> | |
<!-- Script goes right before your closing body tag --> | |
</body> |
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
+---------------------+---------------------+----------------+-------+---------------------------------------------------------------------+ | |
| purchased_at | redeemed_at | days_to_redeem | COUNT | bar | | |
+---------------------+---------------------+----------------+-------+---------------------------------------------------------------------+ | |
| 2011-10-19 21:07:04 | 2011-10-19 21:07:04 | 0 | 268 | ******************************************************************* | | |
| 2011-12-04 23:28:28 | 2011-12-05 03:07:35 | 1 | 135 | ********************************** | | |
| 2011-11-20 21:36:23 | 2011-11-22 12:47:39 | 2 | 53 | ************* | | |
| 2011-11-25 17:42:20 | 2011-11-28 19:16:05 | 3 | 46 | ************ | | |
| 2011-11-15 04:11:21 | 2011-11-19 18 |
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> | |
<head> | |
<title>Carousel</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<style> | |
div.hider { | |
overflow:hidden; | |
width:200px; | |
} |
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> | |
<head> | |
<title>Carousel</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
</head> | |
<body> | |
<ul> | |
<li class="red"></li> | |
<li class="blue"></li> |
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> | |
<head> | |
<title>Carousel</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
</head> | |
<body> | |
<ul> | |
<li class="red"></li> | |
<li class="blue"></li> |
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> | |
<head> | |
<title>Carousel</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
</head> | |
<body> | |
</body> | |
</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
yeah |
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
worker_processes 1; | |
error_log /usr/local/var/log/nginx.error.log; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; |
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
filtered: function(q) { | |
q = q || this.query || ''; | |
if (q === '') return this; | |
var chars = q.toLowerCase().replace(/[^0-9a-z]/,'').split(''); | |
var searchFields = [ | |
'order_number', | |
'vendor_name', | |
'product_name', | |
'redemption_shipping_label_tracking_number' | |
]; |