Skip to content

Instantly share code, notes, and snippets.

View ktor's full-sized avatar

Pawel Kruszewski ktor

View GitHub Profile

How to Access LUKS-Encrypted Drives on Windows

This guide provides step-by-step instructions on how to install Windows Subsystem for Linux 2 (WSL 2), set up Debian, and mount LUKS-encrypted drives on a Windows system.

Prerequisites

  • A LUKS-encrypted drive that you want to access.
  • Windows 10 (version 2004 and later) or Windows 11 with support for WSL 2.
  • Administrator privileges on your Windows system.
  • Basic knowledge of command-line operations in PowerShell and Linux.
@ktor
ktor / jmeter-results.conf
Created August 31, 2016 12:02 — forked from jpotts/jmeter-results.conf
Logstash config that can be used to read in JMeter test results and store them in Elasticsearch
input {
file {
path => [ "/Users/jpotts/Documents/code/es-test/results.csv"]
}
}
filter {
if ([message] =~ "responseCode") {
drop { }
} else {
csv {
  1. Create project blade create -t servicebuilder -p com.liferay.bootcamp book
    1. If the web module is missong generate it with blade
      blade create -t mvcportlet -p com.liferay.bootcamp -c com.liferay.bootcamp.portlet.BookPortlet book-web
      
    2. Delete the content of the build.gradle file and use the dependencies form the next step.
user name: liferay passwod : liferay
Commands:
Setting keyboard:
setxkbmap en_US
cd /home/liferay
function go() {
var userId = prompt('Username?', 'Guest');
checkIfUserExists(userId);
}
var USERS_LOCATION = 'https://SampleChat.firebaseIO-demo.com/users';
function userExistsCallback(userId, exists) {
if (exists) {
alert('user ' + userId + ' exists!');