Skip to content

Instantly share code, notes, and snippets.

KenichiroMATOHARA matoken

Block or report user

Report or block matoken

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View LANG=C_raspinfo.log
System Information
------------------
Raspberry Pi Model B Plus Rev 1.2
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
Raspberry Pi reference 2019-09-26
View gist:ae6a14b5a468073d270210ab9e09fc47
diff --git a/host_applications/linux/apps/raspicam/libgps_loader.h b/host_applications/linux/apps/raspicam/libgps_loader.h
index 5ad886e..2f467c3 100644
--- a/host_applications/linux/apps/raspicam/libgps_loader.h
+++ b/host_applications/linux/apps/raspicam/libgps_loader.h
@@ -31,7 +31,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "gps.h"
// IMPORTANT: Remember to copy gps.h from gpsd when upgrading libgps version.
-#define LIBGPS_SO_VERSION "libgps.so.22"
+#define LIBGPS_SO_VERSION "libgps.so.23"
View pfetch-logo.pl
#!/usr/bin/perl
use strict;
use warnings;
use Time::HiRes 'sleep'; #1秒未満のsleepを使いたい
my $PFETCH = 'pfetch';
my @LIST=('alpine','android','arch','arco','artix','centos','debian','dragonfly','elementary','fedora','freebsd','gentoo','guixsd','haiku','hyperbola','lite','linux','macos','mageia','manjaro','mint','minix','mx','netbsd','nixos','openbsd','suse','parabola','pop!_os','pureos','slackware','sunos','ubuntu','void');
print "start\n";
foreach my $dist ( sort @LIST ){
@matoken
matoken / dmesg
Last active Sep 23, 2019
Can★Do 100円有線マウス
View dmesg
[143284.767610] usb 2-2: new low-speed USB device number 10 using xhci_hcd
[143284.923330] usb 2-2: New USB device found, idVendor=10c4, idProduct=8108, bcdDevice= 0.00
[143284.923332] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[143284.923333] usb 2-2: Product: USB OPTICAL MOUSE
[143284.923334] usb 2-2: Manufacturer: YSPRINGTECH
[143284.926152] input: YSPRINGTECH USB OPTICAL MOUSE as /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/0003:10C4:8108.000A/input/input28
[143284.926280] hid-generic 0003:10C4:8108.000A: input,hidraw1: USB HID v1.11 Mouse [YSPRINGTECH USB OPTICAL MOUSE] on usb-0000:00:14.0-2/input0
View Xorg.0.log.old
[ 21.642]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[ 21.643] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
[ 21.643] Current Operating System: Linux T430s 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19) x86_64
[ 21.643] Kernel command line: BOOT_IMAGE=/vmlinuz-4.19.0-5-amd64 root=/dev/mapper/T430s--vg-root ro quiet
[ 21.643] Build Date: 05 March 2019 08:11:12PM
[ 21.643] xorg-server 2:1.20.4-1 (https://www.debian.org/support)
[ 21.643] Current version of pixman: 0.36.0
[ 21.643] Before reporting problems, check http://wiki.x.org
View gist:19d289ebaefdf00d08b956af6994a859
diff --git a/apt/apt.conf.d/02periodic b/apt/apt.conf.d/02periodic
new file mode 100644
index 0000000..23d6105
--- /dev/null
+++ b/apt/apt.conf.d/02periodic
@@ -0,0 +1,32 @@
+// Control parameters for cron jobs by /etc/cron.daily/apt-compat //
+
+
+// Enable the update/upgrade script (0=disable)
View diff
diff --git a/fstab b/fstab
index dc417c7..34ee4f9 100644
--- a/fstab
+++ b/fstab
@@ -1,5 +1,5 @@
# The root file system has fs_passno=1 as per fstab(5) for automatic fsck.
-LABEL=RASPIROOT / ext4 rw 0 1
+LABEL=RASPIROOT / ext3 rw,noatime 0 1
# All other file systems have fs_passno=2 as per fstab(5) for automatic fsck.
LABEL=RASPIFIRM /boot/firmware vfat rw 0 2
View slide.md
---

title: marp-cli を試す
description: 
url:
page_number: true
footer: @matoken
marp: true

---
View 4atom.cgi
#!/usr/bin/perl
use strict;
use warnings;
use HTML::Entities;
use Encode qw/encode decode/;
print "Content-Type: application/atom+xml; charset=utf-8\n\n";
my $URL= 'https://gnusocial.matoken.org/api/statuses/user_timeline/2.atom';
View sudo lsusb -d 0a12:0001 -vvv.log
Bus 002 Device 114: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 224 Wireless
bDeviceSubClass 1 Radio Frequency
bDeviceProtocol 1 Bluetooth
bMaxPacketSize0 64
You can’t perform that action at this time.