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
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 |
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
# 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 |
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
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 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
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() |
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
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 |
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
class Point { | |
}; |
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
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: |
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
.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 |
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
/* | |
* SpriteFont.cpp | |
* | |
* Created on: Dec 1, 2012 | |
* Author: tyler | |
*/ | |
#include "SpriteFont.h" | |
#include "FontFace.h" |
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
#ifndef FLAGS_H_0099701e_0717_43a3_af27_83c111ea5574 | |
#define FLAGS_H_0099701e_0717_43a3_af27_83c111ea5574 | |
#include <type_traits> | |
#include <initializer_list> | |
#include <ostream> | |
#include <limits> | |
#include <cmath> | |
#include <cassert> |
OlderNewer