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
<p> | |
<label>Publications</label> | |
<?php | |
$mb->the_field('publications'); | |
$val = html_entity_decode($mb->get_the_value()); | |
$id = $mb->get_the_name(); | |
$settings = array( | |
'textarea_rows' => 6, | |
'quicktags' => array( |
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
$my_query = null; | |
$my_query = new WP_Query($args); | |
if( $my_query->have_posts() ) { | |
while ($my_query->have_posts()) : $my_query->the_post(); ?> | |
<div class="faculty-post"> | |
<h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3> | |
</div><!-- closes .faculty-post --> | |
<div class="clear"></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
$(function(){ | |
var headline = $('#headline'); | |
var lastImageId = 3; // total amount of images in carousel | |
var imgFadeInterval = 7000; | |
// fade image backgrounds in and out | |
headline.data('image', 1); | |
var headlineCarousel = function () { | |
var currentImage = headline.data('image'); | |
$('#img-holder2').fadeToggle('slow', function(){ |
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
Counter = function(){ | |
var n = Math.round((Date.now() - 1380990000000)/1000), | |
nFormatted = addCommasToNumber(n), | |
delay = 10; | |
$('#number').html(nFormatted); | |
setInterval(function(){ | |
var finish = Math.round((Date.now() - 1380990000000)/1000), | |
currentVal = finish-delay; |
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 SW = { | |
baseUrl : 'http://api.similarweb.com/site/', | |
nonCompanyEmails : ['gmail.com', 'yahoo.com', 'hotmail.com', 'aol.com', 'googlemail.com'], | |
notEnoughDataText : '--', | |
subdomainText : 'Subdomain', | |
unknownSiteText : 'n/a', | |
fetchOptions : { | |
"muteHttpExceptions" : true, // needed so we can get status code of response | |
}, |
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 ($) { | |
$.fn.stickyHeader = function (options) { | |
var $window = $(window); | |
var settings = $.extend({}, $.fn.stickyHeader.defaults, options); | |
return $(this).each(function () { | |
var $table = $(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
hackingUi = hackingUi || {}; | |
hackingUi.Analytics = { | |
trackEvent: function(category, action, label) { | |
var eventObject = { | |
'eventCategory': category, | |
'eventAction': action | |
}, | |
mixpanelName = category; | |
if (label) { |
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
1. go to http://dl.hhvm.com/ubuntu/pool/main/h/hhvm/ and right click and copy the link to the version of hhvm you want to rollback to | |
2. sudo apt-get autoremove hhvm -y | |
3. wget <link you just copied> | |
4. sudo dpkg -i <name of file u just downloaded> | |
5. sudo apt-get install -f | |
6. sudo service hhvm start | |
Edit: Don't worry when it errors out on step 4. that is expected. just continue to step 5. |