Skip to content

Instantly share code, notes, and snippets.

View kevincar's full-sized avatar
💭
📚

Kevin Davis kevincar

💭
📚
  • Miami
View GitHub Profile
@kevincar
kevincar / main.py
Created July 8, 2021 01:25
Python Objective-C BLE
from threading import Event
from manager import Manager
if __name__ == "__main__":
done: Event = Event()
manager: Manager = Manager.alloc().init()
manager.advertize()
done.wait()
@kevincar
kevincar / prism.mplstyle
Last active April 10, 2021 17:51
Prism Style for Matplotlib
axes.titlesize : 24
axes.labelsize : 14
axes.spines.top : False
axes.spines.right : False
axes.linewidth: 2.5
lines.linewidth : 2
lines.markersize : 10
xtick.labelsize : 16
xtick.major.size : 8
xtick.major.width: 2.5
@kevincar
kevincar / comment-space.lua
Last active January 28, 2021 22:15
Pandoc Lua filter for removing spaces created by comments
-- Remove html comments
function delete_html(elem)
if elem.format == "html" then
return {}
end
return elem
end
-- Remove multiple softbreaks in a row
local prev_elem = pandoc.Str("")