Skip to content

Instantly share code, notes, and snippets.

View tylerreisinger's full-sized avatar

Tyler Reisinger tylerreisinger

  • Philadelphia, PA
View GitHub Profile
.586
.model flat,stdcall
option casemap:none
include \masm32\include\windows.inc
include \masm32\include\gdi32.inc
include \masm32\include\user32.inc
include \masm32\include\kernel32.inc
include \masm32\include\shlwapi.inc
include \masm32\include\oleaut32.inc
diff --git a/client.py b/client.py
index ea827a0..5cbcd67 100644
--- a/client.py
+++ b/client.py
@@ -59,7 +59,7 @@ def get_list(s):
net_dic_data = s.recv(4096)
debug_print('net dictest', net_dic_data) #debugprint
- while len(net_dic_data) == 0:
+ if len(net_dic_data) == 0:
class Point {
};
import httplib
import time
import xml.dom.minidom as xmlparser
import threading
import Queue
from amfast.decoder import Decoder
from amfast.encoder import Encoder
import json
import socket
import threading
import select
import Queue
import struct
class SocketConnection(object):
def __init__(self, packetDispatcher):
self._socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM, socket.IPPROTO_TCP)
self._stopEvent = threading.Event()
import Queue
import threading
import struct
class _PacketDispatcherWorkerThread(threading.Thread):
def __init__(self, dispatcher):
self._dispatcher = dispatcher
threading.Thread.__init__(self)
def run(self):
# This file is NOT licensed under the GPLv3, which is the license for the rest
# of YouCompleteMe.
#
# Here's the license text for this file:
#
# This is free and unencumbered software released into the public domain.
#
# Anyone is free to copy, modify, publish, use, compile, sell, or
# distribute this software, either in source code form or as a compiled
# binary, for any purpose, commercial or non-commercial, and by any
filetype off
"Load vim-plug if it is not already installed (Necessary for all further
"plugin loading
if empty(glob("~/.vim/autoload/plug.vim"))
execute '!curl -fLo ~/.vim/autoload/plug.vim https://raw.github.com/junegunn/vim-plug/master/plug.vim'
endif
function! BuildYCM(info)
if a:info.status == 'installed' || a:info.force