Skip to content

Instantly share code, notes, and snippets.

View file.rb
(0..3).map { |n| "/home/linduxed/foo/#{n}/bar" }.find { |f| File.exist?(f) }
View linux-ck-headers
├── 0001-block-cgroups-kconfig-build-bits-for-BFQ-v7r8-4.1.patch
├── 0002-block-introduce-the-BFQ-v7r8-I-O-sched-for-4.1.patch
├── 0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-v7r8-for-4.1.0.patch
├── change-default-console-loglevel.patch
├── config
├── config.x86_64
├── config.x86_64.last
├── enable_additional_cpu_optimizations_for_gcc_v4.9+_kernel_v3.15+.patch.gz
View hdparm.txt
HDPARM(8) System Manager's Manual HDPARM(8)
hdparm - get/set SATA/IDE device parameters
hdparm [options] [device ...]
View fstrim.service
Description=Discard unused blocks
ExecStart=/sbin/fstrim -a
View fstrim.timer
Description=Discard unused blocks once a week
View -
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
sys /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
dev /dev devtmpfs rw,nosuid,relatime,size=8184832k,nr_inodes=2046208,mode=755 0 0
run /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0
/dev/mapper/cryptroot / btrfs rw,relatime,ssd,discard,space_cache 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 0 0
View gist:9f7b6bab0c0110069556
apr 21 18:42:32 primo pulseaudio[571]: [alsa-sink-USB Audio] alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
apr 21 18:42:32 primo pulseaudio[571]: [alsa-sink-USB Audio] alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_usb_audio'. Please report this issue to the ALSA developers.
apr 21 18:42:32 primo pulseaudio[571]: [alsa-sink-USB Audio] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
View gist:c500fdfffde3fce126f0
### Keybase proof
I hereby claim:
* I am linduxed on github.
* I am linduxed ( on keybase.
* I have a public key whose fingerprint is 658A 93DD 7DC8 72BE 5A4D E44F 6B4A 5A7E 2120 DE95
To claim this, I am signing this object: