Skip to content

Instantly share code, notes, and snippets.

root@RTLSDR:~/# rtl_test -s 2400000 -p
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: Generic RTL2832U OEM
Detached kernel driver
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
[R82XX] PLL not locked!
Sampling at 2400000 S/s.
>>> disks = api.storage.disks
>>> for disk in disks:
... print("ID: " + str(disk))
... print("Name: " + str(api.storage.disk_name(disk)))
... print("S-Status: " + str(api.storage.disk_smart_status(disk)))
... print("Status: " + str(api.storage.disk_status(disk)))
... print("Temp: " + str(api.storage.disk_temp(disk)))
...
ID: sas1
Name: Disk 1 (RXD1215sas-1)
root@vm01:~# cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian stretch main contrib
# security updates
deb http://security.debian.org stretch/updates main contrib
deb http://download.proxmox.com/debian/pve stretch pve-no-subscriptio
root@vm01:~# apt update
Ign:1 http://ftp.us.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org stretch/updates InRelease
Hit:3 http://ftp.us.debian.org/debian stretch Release
Hit:4 http://download.proxmox.com/debian/pve stretch InRelease
Ign:6 https://enterprise.proxmox.com/debian/pve stretch InRelease
Err:7 https://enterprise.proxmox.com/debian/pve stretch Release
server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Reading package lists... Done
E: The repository 'https://enterprise.proxmox.com/debian/pve stretch Release' does not have a Release file.
root@vm01:/etc/apt/trusted.gpg.d# ls -la
total 90
drwxr-xr-x 2 root root 11 Jun 18 17:07 .
drwxr-xr-x 6 root root 8 Jul 4 17:21 ..
-rw-r--r-- 1 root root 5138 Nov 30 2014 debian-archive-jessie-automatic.gpg
-rw-r--r-- 1 root root 5147 Nov 30 2014 debian-archive-jessie-security-automatic.gpg
-rw-r--r-- 1 root root 2775 Nov 30 2014 debian-archive-jessie-stable.gpg
-rw-r--r-- 1 root root 7483 May 25 11:17 debian-archive-stretch-automatic.gpg
-rw-r--r-- 1 root root 7492 May 25 11:17 debian-archive-stretch-security-automatic.gpg
-rw-r--r-- 1 root root 2275 May 25 11:17 debian-archive-stretch-stable.gpg
root@Plex:~# dpkg -i plexmediaserver_1.7.4.4017-3886b5c85_amd64.deb
Selecting previously unselected package plexmediaserver.
(Reading database ... 16864 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.7.4.4017-3886b5c85_amd64.deb ...
Unpacking plexmediaserver (1.7.4.4017-3886b5c85) ...
Setting up plexmediaserver (1.7.4.4017-3886b5c85) ...
dpkg: error processing package plexmediaserver (--install):
subprocess installed post-installation script returned error exit status 2
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (231-9ubuntu4) ...
pct set 102 -mp0 /tank/media,mp=/media
Arduino: 1.6.12 (Mac OS X), Board: "ATmega1284, Standard, 1284P, Disabled, 16MHz external"
Warning: platform.txt from core 'MightyCore' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.
Sketch uses 1,216 bytes (0%) of program storage space. Maximum is 130,048 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 16,375 bytes for local variables. Maximum is 16,384 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
#!/bin/bash
torrentid=$1
torrentname=$2
torrentpath=$3
dir="$(basename $3)"
ln -s $3 ~/LFTP/$3
@sixstringsg
sixstringsg / N2kMessages.h
Created August 1, 2016 18:30
Updated N2kMessages for DynamicTranny flags
/*
N2kMessages.h
2015-2016 Copyright (c) Kave Oy, www.kave.fi All right reserved.
Author: Timo Lappalainen
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either