Skip to content

Instantly share code, notes, and snippets.

View rettier's full-sized avatar

rettier

  • Student
View GitHub Profile
@rettier
rettier / Draw IO Copy as Image Shortcut
Created March 29, 2022 13:20
A DrawIO plugin for adding a shortcut (Shift + C) for copying the current selection as an image
Draw.loadPlugin(function(ui){
mxResources.parse('myCopyAsImage=Copy As Image (shortcut)');
ui.actions.addAction('myCopyAsImage', function() {
ui.actions.actions.copyAsImage.funct();
}, null, null, "Shift+C");
ui.keyHandler.bindAction(67, !1, "myCopyAsImage", !0);
});
@rettier
rettier / always-tasks.yml
Created November 24, 2020 19:32
ansible bugreport
---
- meta: clear_host_errors
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Filter Test</title>
<style>
.box {
width: 50px;
height: 50px;
@rettier
rettier / test.prototxt
Created October 27, 2017 14:33
mvnc test
#
input: "data"
input_shape {
dim: 1
dim: 3
dim: 512
dim: 512
}
layer {