Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
[ | |
{ | |
"country": "Afghanistan", | |
"continent": "Asia" | |
}, | |
{ | |
"country": "Albania", | |
"continent": "Europe" | |
}, | |
{ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
[{"nodeId":"1","parentNodeId":null,"expanded":false,"width":342,"height":146,"backgroundColorHex":"#0FB6D0","template":"<div style='height: 75px; width: 260px; background-color:white'>\n <pre style='color:black; padding-top:3px; font-family:arial'>\n Node Info\n General Node Information\n This node is so good,\n check this node. really good \n </pre>\n</div>","directSubordinates":0,"totalSubordinates":0,"border":{"colorHex":"#0F8C79","width":1,"radius":5},"nodeIcon":{"icon":"http://www.iconsdb.com/icons/preview/white/data-protection-xxl.png","size":30},"nodeInfo":{"name":"Root Node","minorInfo":"Foo bar aaa cc"},"connector":{"lineColorHex":"#DCBDCF","lineWidth":5}},{"nodeId":"2","parentNodeId":"1","expanded":true,"width":342,"height":146,"backgroundColorHex":"#0FB6D0","template":"","directSubordinates":0,"totalSubordinates":0,"border":{"colorHex":"#FFFF00","width":5,"radius":5},"nodeIcon":{"icon":"http://www.iconsdb.com/icons/preview/white/data-protection-xxl.png","size":30},"nodeInfo":{"name":"Node","minorI |
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
function downloadImage(isSvg) { | |
// Retrieve svg node | |
const svgNode = attrs.svg.node(); | |
if (isSvg) { | |
let source = serializeString(svgNode); | |
//add xml declaration | |
source = '<?xml version="1.0" standalone="no"?>\r\n' + source; | |
//convert svg source to URI data scheme. | |
var url = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(source); |
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-8"?> | |
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns | |
http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd"> | |
<key id="x" for="node" attr.name="x" attr.type="double"/> | |
<key id="tooltip" for="node" attr.name="tooltip" attr.type="string"/> | |
<key id="y" for="node" attr.name="y" attr.type="double"/> |
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
// ==UserScript== | |
// @name Upwork - after charge | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.upwork.com/ab/reports/in-progress | |
// @grant none | |
// ==/UserScript== |
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
license: mit |