Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block vanhoavn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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.