-
Download 7zip portable, extract to the Desktop
-
Download LMMS
-
Open a command prompt, paste in the following:
%USERPROFILE%\Desktop\7-ZipPortable\App\7-Zip\7z.exe x %USERPROFILE%\Downloads\lmms-1.2.0-rc6-win64.exe -x!$PLUGINSDIR -o%USERPROFILE%\Desktop\LMMS
-
Should output this:
This file contains 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
// From https://github.com/WebBluetoothCG/demos/blob/gh-pages/bluetooth-printer/index.html | |
var SERVICE = '000018f0-0000-1000-8000-00805f9b34fb'; | |
var WRITE = '00002af1-0000-1000-8000-00805f9b34fb'; | |
var DATA = '' | |
+ '\x1B' + '\x61' + '\x31' // center align | |
+ '\x1D' + '\x21' + '\x11' + 'Hello\nBluetooth!\n\n' // double font size | |
+ '\x1D' + '\x21' + '\x00' + '... from your friends\nat https://qz.io' // normal font size | |
+ '\n\n\n\n\n\n\n'; // feed paper |
This file contains 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
@ECHO OFF | |
SET INSTALLER=qz-tray-2.2.3-x86_64.exe | |
SET TEMPQZ=%USERPROFILE%\tempqz | |
SET SEVENZIP=%PROGRAMFILES%\7-Zip\7z.exe | |
REM Preflight: Check for admin | |
NET SESSION >nul 2>&1 | |
IF %ERRORLEVEL% EQU 0 ( | |
REM Admin confirmed | |
) ELSE ( |
This file contains 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
/* | |
* author: Tres Finocchiaro | |
* date: 2015-05-22 | |
* license: Public Domain; Use as you wish. | |
* source: http://qz.io | |
*/ | |
/* | |
* Scales text from a raw ZPL label from 203 DPI to 300 DPI | |
*/ |
This file contains 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
import com.sun.jna.platform.win32.GDI32; | |
import com.sun.jna.platform.win32.WinDef; | |
import java.awt.*; | |
public class Main { | |
public static void main(String[] args) { | |
float toolkit = 0; |
(adapted from Albrecht Schlosser)
- Install dependencies:
sudo apt-get install \ fontconfig \ libxft-dev \ libcairo2-dev \
libjpeg-dev \
This file contains 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
<script type="text/javascript" src="js/qz-tray.js"></script> | |
<script> | |
qz.security.setSignatureAlgorithm("SHA512"); // Use "SHA1" for QZ Tray 2.0 and older | |
qz.security.setSignaturePromise(function (toSign) { | |
return function (resolve, reject) { | |
PageMethods.SignMessage(toSign, resolve, reject); | |
}; | |
}); | |
wget https://download2.gluonhq.com/openjfx/19/openjfx-19_monocle-linux-x64_bin-sdk.zip -O \
out/javafx-linux-x86_64-19_monocle.zip && unzip out/javafx-linux-x86_64-19_monocle.zip && \
cp -R javafx-sdk-19 lib/javafx-linux-x86_64-19_monocle && mv javafx-sdk-19 out/javafx-linux-x86_64-19_monocle
pushd ~/Applications/qemu/debian-riscv64/ && \
This file contains 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
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0xffffffff9053df5e, pid=3312, tid=3313 | |
# | |
# JRE version: (21.0.1+12) (build ) | |
# Java VM: OpenJDK 64-Bit Server VM (21.0.1-beta+12-ea, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-riscv64) | |
# Problematic frame: | |
# j java.lang.System.registerNatives()V+0 java.base | |
# | |
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again |
This file contains 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
package main | |
import ( | |
"log" | |
"time" | |
"io/ioutil" | |
"crypto/rsa" | |
"encoding/pem" | |
"crypto/x509" | |
"crypto/sha1" |
NewerOlder