View cmd
@echo off | |
cp -i -r %~dp0.vscode %cd% | |
echo %cd% |
View print_picture.js
(function(c) { | |
c.image = function(t) { | |
var img = new Image; | |
img.src = t; | |
img.onload = function (){ | |
var style = [ | |
"padding:" + Math.floor(img.height / 2) + "px " + Math.floor(img.width / 2)+ "px", | |
"background: url("+ encodeURI(t) +")", | |
"color: transparent", | |
"font-size:0", |