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
nnoremap <SPACE> <Nop> | |
let mapleader=" " | |
nmap <leader>fu :action FindUsages<CR> | |
nmap <leader>gd :action GotoDeclaration<CR> | |
nmap <leader>gi :action GotoImplementation<CR> |
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
syntax on | |
let mapleader=" " | |
call plug#begin('~/.vim/plugged') | |
Plug 'sickill/vim-monokai' | |
Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
Plug 'scrooloose/nerdtree' " file list | |
Plug 'majutsushi/tagbar' " show tags in a bar (functions etc) for easy browsing |
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
#!/bin/sh | |
set -x | |
set -v | |
projectpath=$1 | |
filename=$2 | |
line=$3 | |
col=$4 | |
export NVIM_LISTEN_ADDRESS="$projectpath/nvimsocket" | |
echo export NVIM_LISTEN_ADDRESS="$projectpath/nvimsocket" >> /tmp/nvlog.log |
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
Shader "Custom/Curved" { | |
Properties { | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
_QOffset ("Offset", Vector) = (0,0,0,0) | |
_Dist ("Distance", Float) = 100.0 | |
} | |
SubShader { | |
Tags { "RenderType"="Opaque" } | |
Pass | |
{ |
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
<?xml version="1.0" encoding="utf-16"?> | |
<Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"> | |
<TypePattern> | |
<TypePattern.Match> | |
<InheritsFromType Name="ZEventMessage"></InheritsFromType> | |
</TypePattern.Match> | |
</TypePattern> | |
<TypePattern RemoveRegions="AllExceptGenerated"> | |
<TypePattern.Match> | |
<InheritsFromType Name="MonoBehaviour"></InheritsFromType> |
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
#!/usr/bin/env python3 | |
import usb.core | |
import sys | |
devs = usb.core.find(find_all=True, idVendor=0x045e, idProduct=0x028e) | |
dev_num= 0 | |
for dev in devs: | |
dev.ctrl_transfer(0xc1, 0x01, 0x0100, 0x00, 0x14) |
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
syntax on | |
call plug#begin('~/.vim/plugged') | |
"if has('nvim') | |
" Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } | |
"else | |
" Plug 'Shougo/deoplete.nvim' | |
" Plug 'roxma/nvim-yarp' | |
" Plug 'roxma/vim-hug-neovim-rpc' |
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 math | |
def main(): | |
poly = get_poly() | |
print("...") | |
console_draw(poly) | |
calc_area(poly) | |
pass | |