Skip to content

Instantly share code, notes, and snippets.

View krisgesling's full-sized avatar

Kris Gesling krisgesling

  • Mycroft AI
  • Darwin, Australia
View GitHub Profile
@krisgesling
krisgesling / build.sh
Created February 1, 2021 23:50 — forked from forslund/build.sh
Example of Building Mark-2 packages
# General prerequisites:
sudo apt-get install -y debhelper build-essential fakeroot
# Clone package
git clone https://github.com/mycroft-packaging/mycroft-gui-mark-2 -b focal
cd mycroft-gui-mark-2
# Clone source
git clone https://github.com/mycroftai/mycroft-gui-mark-2
cp -r debian mycroft-gui-mark-2
@krisgesling
krisgesling / d3-zoom-pan-extent.js
Created July 12, 2016 02:08 — forked from mhsmith/d3-zoom-pan-extent.js
Pan+Zoom within limits
d3 = function() {
var d3 = {
version: "3.1.10-xsystem"
};
if (!Date.now) Date.now = function() {
return +new Date();
};
var d3_document = document, d3_window = window;
try {
d3_document.createElement("div").style.setProperty("opacity", 0, "");