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
[ 5407.948973] usb 1-8: new high-speed USB device number 19 using xhci_hcd | |
[ 5408.278981] usb 1-8: device descriptor read/64, error -71 | |
[ 5408.533056] usb 1-8: New USB device found, idVendor=0cf2, idProduct=6230, bcdDevice= 1.00 | |
[ 5408.533058] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=4 | |
[ 5408.533060] usb 1-8: Product: UB623X | |
[ 5408.533061] usb 1-8: Manufacturer: ENE Flash | |
[ 5408.533062] usb 1-8: SerialNumber: 606569746801 | |
[ 5408.534083] usb-storage 1-8:1.0: USB Mass Storage device detected | |
[ 5408.545624] scsi host4: usb-storage 1-8:1.0 | |
[ 5409.572527] scsi 4:0:0:0: Direct-Access USB2.0 CardReader CF 0100 PQ: 0 ANSI: 0 |
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
# pvmove /dev/sdc2:1-7679 /dev/sdb1 | |
Insufficient free space: 7679 extents needed, but only 0 available | |
Unable to allocate mirror extents for silver/pvmove0. | |
Failed to convert pvmove LV to mirrored. | |
# pvs | |
PV VG Fmt Attr PSize PFree | |
/dev/sdb1 silver lvm2 a-- <931.51g 175.96g | |
/dev/sdc2 silver lvm2 a-- <875.00g 22.39g |
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 eraser; | |
import com.google.gson.JsonElement; | |
import com.vk.api.sdk.client.TransportClient; | |
import com.vk.api.sdk.client.VkApiClient; | |
import com.vk.api.sdk.client.actors.ServiceActor; | |
import com.vk.api.sdk.client.actors.UserActor; | |
import com.vk.api.sdk.httpclient.HttpTransportClient; | |
import com.vk.api.sdk.objects.base.responses.OkResponse; | |
import com.vk.api.sdk.objects.messages.responses.GetDialogsResponse; |
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
> systemd-analyze blame | head | |
5min 23.948s lvm2-pvscan@8:2.service | |
5min 23.610s lvm2-pvscan@8:17.service | |
37.904s systemd-networkd.service | |
28.634s lm_sensors.service | |
27.308s systemd-logind.service | |
4.967s org.cups.cupsd.service | |
3.855s systemd-journal-flush.service | |
3.597s lvm2-monitor.service | |
3.354s dev-mapper-silver\x2droot.device |
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
SUBSYSTEM=="usb", ATTR{idVendor}=="04a9", MODE="0666", GROUP="camera" | |
gphoto2 --capture-image-and-download | grep "Saving file" | grep -o "IMG_[0-9]\{4\}.JPG" | xargs viewnior |
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
m0x35@m0x35-pc> sudo smartctl -A /dev/sda ~ | |
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.11.4-1-ARCH] (local build) | |
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org | |
=== START OF READ SMART DATA SECTION === | |
SMART Attributes Data Structure revision number: 16 | |
Vendor Specific SMART Attributes with Thresholds: | |
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE | |
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0 | |
3 Spin_Up_Time 0x0027 170 169 021 Pre-fail Always - 2483 |
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
cmake_minimum_required(VERSION 3.2) | |
#set(CMAKE_BINARY_DIR build) | |
#set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) | |
#set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) | |
#set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) | |
project(myproj) | |
list(APPEND SOURCES "main.cpp") |
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
MongoClient cl = new MongoClient(); | |
MongoDatabase db = cl.getDatabase(mDb); | |
MongoCollection coll = db.getCollection(mColl); | |
double avg = 0.0; | |
long docs = 0; | |
long vals = 0; | |
System.out.println("Starting to query the data..."); |
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
kernel/qobjectdefs.h:0: Note: No relevant classes found. No output generated. | |
ssl/qsslcertificate_openssl.cpp: In function ‘uint qHash(const QSslCertificate&, uint)’: | |
ssl/qsslcertificate_openssl.cpp:69:30: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’ | |
return qHashBits(x509->sha1_hash, SHA_DIGEST_LENGTH, seed); | |
^~ | |
In file included from /usr/include/openssl/crypto.h:31:0, | |
from /usr/include/openssl/comp.h:16, | |
from /usr/include/openssl/ssl.h:47, | |
from ../../include/QtNetwork/5.10.0/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:60, | |
from ../../include/QtNetwork/5.10.0/QtNetwork/private/qsslcontext_openssl_p.h:1, |
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
#ifndef CONNECTIONPOOL_HPP | |
#define CONNECTIONPOOL_HPP | |
#include <memory> | |
#include <functional> | |
#include <deque> | |
#include <mutex> | |
/** | |
* ObjectPool |
NewerOlder