$ docker
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
/* ==================== */ | |
/* VScode 1.41.0 AND UP */ | |
/* ==================== */ | |
/* https://gist.github.com/akmeghdad/b1208c2caa601f0ba29f953faabac709 */ | |
/* THANKS OF */ | |
/* https://gist.github.com/samdenty/b96f4df576d05cb123248f8ebfa899b6 */ | |
/* https://gist.github.com/Lightfire228/39dc2cf403237a190e79a000912691b2 */ | |
/* ==> VScode 1.38 + */ | |
/* [WINDOWS] add this code in %USERPROFILE%\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\workbench.desktop.main.css */ | |
/* ==> VScode 1.31 to 1.37 */ |
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> | |
<meta charset="utf-8"> | |
<title>App Redirection</title> | |
</head> | |
<body> | |
<!-- iframe used for attempting to load a custom protocol --> | |
<iframe style="display:none" height="0" width="0" id="loader"></iframe> |
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 | |
function list_thumbnail_sizes() { | |
global $_wp_additional_image_sizes; | |
$sizes = array(); | |
$rSizes = array(); | |
foreach (get_intermediate_image_sizes() as $s) { | |
$sizes[$s] = array(0, 0); | |
if (in_array($s, array('thumbnail', 'medium', 'large'))) { | |
$sizes[$s][0] = get_option($s . '_size_w'); | |
$sizes[$s][1] = get_option($s . '_size_h'); |