Skip to content

Instantly share code, notes, and snippets.

@demelev
demelev / init.vim
Created April 26, 2017 05:25
SpaceVim config
" setting layers, load 'lang#java' layer.
call SpaceVim#layers#load('lang#cs')
"call SpaceVim#layers#load('incsearch')
"let g:spacevim_enable_ycm = 1
let g:spacevim_windows_leader = '<leader>w'
let g:spacevim_enable_vimfiler_welcome = 1
" add custom plugins.
let g:spacevim_custom_plugins = [
@demelev
demelev / fancy_unity_tests_results.py
Last active April 12, 2017 14:00
Filter for unity3d Test Results xml file. `fancy_unity_tests_results.py EditorTestResults.xml`
#!/usr/bin/env python3
import xml.etree.ElementTree as etree
import sys;
tree = etree.parse(sys.argv[1])
root = tree.getroot()
els = tree.findall(".//test-case[@result='Failed']")
def print_test_name(name):
@demelev
demelev / asd
Created September 10, 2015 19:19
using UnityEngine;
using UnityEditor;
using UnityNetworking;
public class LanternsClient : MonoBehaviour
{
private NetworkClient client;
#region Initialization