From Home screen press Back/Cancel/Back/Back Buttons, in sequence.
- Pess OK to enter Support Menu (Selection Button 2).
- Press Selection Button 3 for Reset Menu and press OK (Selection Button 2).
- Press Selection Button 3 for Semi-Full Reset and press OK (Selection Button 2).
- Wait for unit to Power Down/Turn Off.
- Press Power button to turn the Printer On.
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
type Event interface{} | |
type EventChannel chan Event | |
type EventPump struct { | |
Input EventChannel | |
Outputs []EventChannel | |
} | |
const BufferSize = 20 |
Reference: https://www.benburwell.com/posts/reset-forgotten-password-on-luks-encrypted-ubuntu/
Commands
- Shift to get to Grub
- Edit normal mode startup ( press e)
- Add to line with 'linux' init=/bin/bash
- F10
- Wait until initramfs appears
- cryptsetup luksOpen /dev/sda5
- mount -o rw /dev/massper/mint--vg-root /root
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
// ==UserScript== | |
// @name Facebook troll finder | |
// @namespace tag:[email protected],2018:andrask | |
// @description Find trolls in FB comment authors | |
// @include http://www.facebook.com/* | |
// @include https://www.facebook.com/* | |
// @grant GM_setValue | |
// @grant GM_getValue | |
// ==/UserScript== |
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
#! /usr/bin/env python | |
''' | |
This is a test script for http://serverfault.com/questions/741633/connection-refused-on-rhel-localhost-with-running-server | |
''' | |
import socket | |
port = 12000 | |
serversocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
serversocket.bind(('localhost', port)) |
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 rx.behaviorsubject; | |
import java.util.concurrent.CountDownLatch; | |
import java.util.concurrent.ExecutionException; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.TimeUnit; | |
import org.junit.Test; |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.example.andrask</groupId> | |
<artifactId>p2-mirror</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<properties> | |
<tycho.version>0.20.0</tycho.version> | |
</properties> | |
<packaging>eclipse-repository</packaging> |
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 java.io.File; | |
import java.io.IOException; | |
import java.util.Enumeration; | |
import java.util.zip.ZipEntry; | |
import java.util.zip.ZipException; | |
import java.util.zip.ZipFile; | |
public class Something { |
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
// | |
// WirelessBandManager.m | |
// CmdScanner | |
// | |
// Created by Andras Kovi on 2013.04.05.. | |
#import <Foundation/Foundation.h> | |
#import <IOBluetooth/IOBluetooth.h> |
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 aa; | |
import java.text.MessageFormat; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.atomic.AtomicInteger; | |
public class Pooling { | |
private static final int NUMBER_OF_THREADS = 3; |