Skip to content

Instantly share code, notes, and snippets.

View dlitvakb's full-sized avatar

David Litvak Bruno dlitvakb

View GitHub Profile
@dlitvakb
dlitvakb / astar.py
Created October 7, 2015 21:54
AStar structured version
from __future__ import print_function
import random
import math
BLOCKED = u'\u2588'
EMPTY = " "
START = "A"
FINISH = "B"
class MyTest
include Mini::Unit
def test_foo
assert(2, 1)
end
end
MyTest.run!
let $VIMSIDIAN_PATH_PATTERN = g:vimsidian_path . '/*.md'
function! PreviewInFloat()
let lines = 30
let width = 90
let link_at_cursor = vimsidian#unit#CursorLink()
if link_at_cursor ==# v:null
echo 'Link is empty'