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
#!/bin/bash | |
# Path to playlists | |
playlists="$HOME/music" | |
# Prefix and suffix strings for the playlist file name | |
pl_prefix='' | |
pl_suffix='.m3u' | |
# Get current song from cmus |
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
#!/bin/bash | |
# Usage: cmus-rate [1-5] | |
# | |
# Rate tracks playing in cmus and add them to corresponding playlists. | |
# | |
# The track currently playing in cmus is added to an M3U playlist corresponding | |
# to the given rating ("[1-5].m3u") and removed from any other rating playlist. | |
# If no argument is given, the track is removed from all rating playlists. | |
# | |
# The playlists are kept sorted. |
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
# dmesg linux 3.6.2 | |
[ 0.000000] Initializing cgroup subsys cpuset | |
[ 0.000000] Initializing cgroup subsys cpu | |
[ 0.000000] Linux version 3.6.2-1-ARCH (tobias@T-POWA-LX) (gcc version 4.7.2 (GCC) ) #1 SMP PREEMPT Fri Oct 12 23:58:58 CEST 2012 | |
[ 0.000000] Command line: root=/dev/disk/by-label/arch ro resume=/dev/disk/by-label/swap initrd=../initramfs-linux.img BOOT_IMAGE=../vmlinuz-linux | |
[ 0.000000] e820: BIOS-provided physical RAM map: | |
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x00000000000913ff] usable | |
[ 0.000000] BIOS-e820: [mem 0x0000000000091400-0x000000000009ffff] reserved | |
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved |
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
# dmesg linux 3.5.6 | |
[ 0.000000] Initializing cgroup subsys cpuset | |
[ 0.000000] Initializing cgroup subsys cpu | |
[ 0.000000] Linux version 3.5.6-1-ARCH (tobias@T-POWA-LX) (gcc version 4.7.1 20120721 (prerelease) (GCC) ) #1 SMP PREEMPT Sun Oct 7 19:30:49 CEST 2012 | |
[ 0.000000] Command line: root=/dev/disk/by-label/arch ro resume=/dev/disk/by-label/swap initrd=../initramfs-linux.img BOOT_IMAGE=../vmlinuz-linux | |
[ 0.000000] e820: BIOS-provided physical RAM map: | |
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x00000000000913ff] usable | |
[ 0.000000] BIOS-e820: [mem 0x0000000000091400-0x000000000009ffff] reserved | |
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved |
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
# lsmod linux 3.6.2 | |
Module Size Used by | |
xt_hl 1369 6 | |
ip6t_rt 2080 3 | |
nf_conntrack_ipv6 7511 7 | |
nf_defrag_ipv6 6273 1 nf_conntrack_ipv6 | |
xt_LOG 12054 8 | |
xt_limit 1977 11 | |
xt_tcpudp 2471 24 |
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
# lsmod linux 3.5.6 | |
Module Size Used by | |
xt_hl 1369 6 | |
ip6t_rt 2112 3 | |
nf_conntrack_ipv6 6682 7 | |
nf_defrag_ipv6 6273 1 nf_conntrack_ipv6 | |
xt_LOG 11943 8 | |
xt_limit 1977 11 | |
xt_tcpudp 2471 24 |