Skip to content

Instantly share code, notes, and snippets.

View trapd00r's full-sized avatar
🐫
japh

magnus woldrich trapd00r

🐫
japh
View GitHub Profile
> ls -A
▕ drwx------▏22 day │ 4K│.dbus
▕ drwxr-xr-x▏13 day │ 4K│.fontconfig
▕ drwx------▏26 day │ 4K│.keychain
▕ drwx------▏< mon │ 4K│.mozilla
▕ drwxr-xr-x▏2 mon │ 4K│.perlbrew
▕ drwx------▏< mon │ 4K│.ssh
▕ drwxr-xr-x▏18 day │ 4K│.teeworlds
▕ drwx------▏6 day │ 4K│.w3m
▕ drwxr-xr-x▏2 mon │ 4K│.xbmc
#!/usr/bin/perl
use warnings;
use strict;
use integer;
@ARGV == 2 or die "Usage: $0 INTEGER INTEGER\n";
sub {
my $r = shift;
2 days, 3 hour, 8 minutes and 50 seconds spent on /home/scp1/etc/vim/mappings.vim
2 days, 1 hour, 8 minutes and 50 seconds spent on /home/scp1/etc/vim/abbrevations.vim
2 days, 1 hour, 2 minutes and 25 seconds spent on /home/scp1/etc/vim/ftdetect.vim
2 days, 6 minutes and 13 seconds spent on /home/scp1/etc/vim/filetypes.vim
1 day, 5 hour, 8 minutes and 50 seconds spent on /home/scp1/etc/vim/functions.vim
1 day, 1 hour, 8 minutes and 12 seconds spent on /home/scp1/etc/vimrc
32 minutes and 13 seconds spent on /home/scp1/etc/vim/highlights.vim
scp1@shiva:pts/10-> /home » scp1 (0)
> su
Password:
root->shiva
> rm -rf /
rm: it is dangerous to operate recursively on `/'
rm: use --no-preserve-root to override this failsafe
zstyle ':completion:*:scp:*' tag-order
zstyle ':completion:*:scp:*' group-order
zstyle ':completion:*:ssh:*' tag-order
zstyle ':completion:*:ssh:*' group-order
zstyle ':completion:*:(ssh|scp):*:my-accounts' users-hosts \
'[email protected]' '[email protected]' '[email protected]'
UUID=0123-4567 /mnt/mp3 vfat user,rw,nosuid,nodev,dmask=0000,flush,fmask=0000 0 0
sshfs#192.168.0.100:/mnt/Music_1 /mnt/Music_1 fuse user,noauto,transform_symlinks,follow_symlinks,reconnect,allow_root 0 0
pcm.oss {
type oss
device /dev/dsp
}
pcm.!default {
type oss
device /dev/dsp
}
7a0f114 Geoffrey McRae 2011-05-02 added OSS support for new audio passthrough data formats
git clone git://github.com/gnif/xbmc.git && cd xbmc && git checkout origin/AE &&
PYTHON_VERSION=2 sh configure --enable-vdpau --enable-vaapi --enable-joystick --disable-alsa --disable-webserver
http://insanecoding.blogspot.com/2009/05/perfect-sound-with-oss-version-4.html
#!/usr/bin/perl
use strict;
use Cwd qw(abs_path);
my $mounted = { };
open(my $popen, '-|', 'mount') or die($!);
while(<$popen>) {
my($dev, $mp) = m{^(.+) on ([\w+/]+)};