This file contains hidden or 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
// parameters for ajax calls | |
var items = [ | |
{ 'gender': 'male', 'nat': 'US' }, | |
{ 'gender': 'female', 'nat': 'GB' } | |
]; | |
// function to trigger the ajax call | |
var ajax_request = function(item) { | |
var deferred = $.Deferred(); |
This file contains hidden or 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 rel="noopener noreferrer" in TinyMCE links | |
* | |
* @param array $init | |
* @return array | |
*/ | |
add_filter('tiny_mce_before_init', function ($init) { | |
$init['allow_unsafe_link_target'] = true; | |
return $init; | |
}); |
This file contains hidden or 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"> | |
var app = { | |
init: function() { | |
window.addEventListener('scroll', function() { | |
if (window.__he == undefined) { | |
app.load(); | |
} | |
}); | |
window.addEventListener('mousemove', function() { |
This file contains hidden or 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
# See: https://github.com/Disassembler0/Win10-Initial-Setup-Script | |
### Require administrator privileges ### | |
RequireAdmin | |
### Privacy Tweaks ### | |
DisableTelemetry # EnableTelemetry | |
DisableWiFiSense # EnableWiFiSense | |
DisableSmartScreen # EnableSmartScreen | |
DisableWebSearch # EnableWebSearch |
OlderNewer