Skip to content

Instantly share code, notes, and snippets.

View curl_multi_the_correct_way.php
// ....
function processCurlMulti($curl_session_multi) {
do {
$mrc = curl_multi_exec($curl_session_multi, $n_running_channel);
} while ($mrc == CURLM_CALL_MULTI_PERFORM || $n_running_channel > 0);
$n_idle = 0;
while ($mrc == CURLM_OK && $n_idle <= MAX_WAIT_CYCLES) {
vanhoavn /
Last active Jan 2, 2017
IntelijIDEA's JavaScriptLanguage plugin's patch to group .vue component files.
package com.intellij.lang.javascript.projectView;
import com.intellij.ide.projectView.ProjectViewNestingRulesProvider;
import com.intellij.ide.projectView.ProjectViewNestingRulesProvider.Consumer;
import org.jetbrains.annotations.NotNull;
public class JSNestingRulesProvider
implements ProjectViewNestingRulesProvider
public void addFileNestingRules(@NotNull ProjectViewNestingRulesProvider.Consumer consumer)
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.