Skip to content

Instantly share code, notes, and snippets.

View cxd4's full-sized avatar
💭
4四同歩左

シーはディー四を取る cxd4

💭
4四同歩左
View GitHub Profile
@cxd4
cxd4 / glxinfo.txt
Created April 23, 2022 02:25
$ cat glxinfo > glxinfo.txt
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_no_error,
GLX_ARB_create_context_profile, GLX_ARB_fbconfig_float,
GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
@cxd4
cxd4 / packages.list
Last active July 11, 2021 06:16
OpenMW build log on Slackware64-current
slackpkg 15.0.2
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────────remove────────────────────────────────┐
│ Choose packages to remove: │
│ ┌────────────────────────────────────────────────────────────────┐ │
│ │ [*] libgdiplus-5.4-x86_64-1_SBo │ │ # if slackbuild of mono fails, skip this
│ │ [*] mono-5.0.1.1-x86_64-1_slonly │ │ # MAY require gdiplus...or use "@_slonly"
│ │ [*] pugixml-1.11.4-x86_64-1_SBo │ │
│ │ [*] ogre-1.12.9-x86_64-1_SBo │ │ # likely requires pugixml first
│ │ [*] ois-1.5.0-x86_64-1_SBo │ │
@cxd4
cxd4 / ChangeLog.txt
Created May 10, 2021 05:47
slackware-current/ChangeLog.txt
+--------------------------+
Thu Apr 26 01:34:12 UTC 2018
Don't like PulseAudio? Well... I hear you. Personally, it works for me, and it
makes it easier to switch between multiple audio inputs and outputs compared
to using plain ALSA. PulseAudio got off to a rocky start in the Linux world,
where it found itself adopted before it was ready (it was even billed on its
own website at the time as "the software that currently breaks your audio").
It's my opinion that the reputation that PulseAudio acquired due to problems
back then isn't deserved any longer. If your hardware supports the sampling
rate of the audio data you're trying to play, PulseAudio will not resample it
@cxd4
cxd4 / login.txt
Last active January 2, 2021 10:26
1/1/2021 QOTD logging in to Linux
Welcome to Linux 4.4.240 (tty3)
cat-vs-internet login: cxd4
Password:
Linux 4.4.240.
Last login: Tue Nov 17 09:35:56 -0500 2020 on /dev/tty5.
No mail.
bash-4.3# rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
1: hp-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: yes
bash-4.3# iwconfig
lo no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
eth0 no wireless extensions.
@cxd4
cxd4 / lspci.txt
Created June 5, 2020 02:06
Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 09)
Subsystem: Hewlett-Packard Company Mobile 4 Series Chipset Memory Controller Hub
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 0
Capabilities: [e0] Vendor Specific Information: Len=0a <?>
Kernel driver in use: agpgart-intel
Kernel modules: intel_agp
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
@cxd4
cxd4 / dmesg.txt
Created June 5, 2020 02:06
FUJITSU Extended Socket Network Device Driver - version 1.0 - Copyright (c) 2015 FUJITSU LIMITED
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.172 (root@hive64.slackware.lan) (gcc version 5.5.0 (GCC) ) #1 SMP Wed Jan 30 16:57:30 CST 2019
[ 0.000000] Command line: auto BOOT_IMAGE=Linux-generic ro root=801 vt.default_utf8=0
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers'
[ 0.000000] x86/fpu: Enabled xstate features 0x3, context size is 576 bytes, using 'standard' format.
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
Welcome to Linux 4.4.217 (tty6)
rswedlow login: cxd4
Password:
Login incorrect
rswedlow login: cxd4
Password:
@cxd4
cxd4 / ptr4dum.cpp
Last active February 27, 2020 19:54
#include <iostream>
int
main(void)
{
char message[] = "Can we take the address of an array?\n";
const int return_value = 0;
std::cout << "Address of return value: " << &return_value << "\n";
std::cout << "Address of our main() function: " << &main << "\n";