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 midiNoteToFrequency(note) { | |
return Math.pow(2, (note - 69) / 12) * 440; | |
} |
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
$('a[href^="#"]').on('click', function(event) { | |
var target = $(this.getAttribute('href')); | |
if( target.length ) { | |
event.preventDefault(); | |
$('html, body').stop().animate({ | |
scrollTop: target.offset().top | |
}, 1000); | |
} | |
}); |
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 | |
$username = 'vasya'; | |
$password = 'qwerty'; | |
$email = '[email protected]'; | |
$sudo = true; | |
require 'config.core.php'; | |
require MODX_CORE_PATH . 'model/modx/modx.class.php'; | |
$modx = new modX(); | |
if ((!$modx) || (!$modx instanceof modX)) { |
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
.responsive { | |
display: block; | |
width: 100%; | |
overflow-x: auto; | |
-webkit-overflow-scrolling: touch; | |
-ms-overflow-style: -ms-autohiding-scrollbar; | |
} |
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).on('af_complete', function(event,res) { | |
if(res.success) $('.fancybox-close-small').click(); | |
}); |
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> window.location.replace('https://eivko.ru'); </script> |
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
[[*img:phpthumbon=`w=800&h=600&zc=1&fltr[]=wmi|logo1.png|C|40|20%|20%|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
/** | |
* Project: Bootstrap Hover Dropdown | |
* Author: Cameron Spear | |
* Contributors: Mattia Larentis | |
* | |
* Dependencies: Bootstrap's Dropdown plugin, jQuery | |
* | |
* A simple plugin to enable Bootstrap dropdowns to active on hover and provide a nice user experience. | |
* | |
* License: MIT |
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
<title>[[*longtitle:default=`[[*pagetitle]]`]]</title> | |
<meta name="description" content="[[*description]]"> | |
<meta name="keywords" content="[[*keywords]]"> |
NewerOlder