I hereby claim:
- I am reneegyllensvaan on github.
- I am reneegyllensvaan (https://keybase.io/reneegyllensvaan) on keybase.
- I have a public key ASDExIY78295sOEMwPNVMD5_avEkJTfAEfEcDGcturY6cwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
cat <(echo 'my %p; sub PrintLineage($$) { my ($pid, $indent) = @_; printf("%s |_ %-8d %s\n", $indent, $pid, $p{$pid}{cmd}); foreach my $kpid (sort {$a<=>$b} @{ $p{$pid}{kids} } ) { PrintLineage($kpid, " $indent"); } } open(FD, "ps axo ppid,pid,command|"); while ( <FD> ) { my ($ppid,$pid,$cmd) = ( $_ =~ m/(\S+)\s+(\S+)\s(.*)/ ); $p{$pid}{cmd} = $cmd; push(@{ $p{$ppid}{kids} }, $pid); } PrintLineage(($ARGV[0]) ? $ARGV[0] : 1, "");' |perl) <(ps aux) |
<template lang="pug"> | |
textarea(ref="input" @input="changed" rows="1" style="height:1em;resize:none;" :id="id") | |
</template> | |
<script> | |
export default { | |
mounted() { | |
this.$refs.input.value = this.$options._renderChildren ? this.$options._renderChildren[0].text : '' | |
this.$refs.input.style.height = this.$refs.input.scrollHeight+'px' | |
}, |
#depends: scrot, xclip | |
#mod+printscrn: take full screenshot, place in ~/img/scrot, copy to clipboard | |
bindsym --release $mod+Print exec "scrot 'scrot-%Y-%m-%d_%h-%m-%s_$wx$h.png' -e 'mv $f ~/img/scrot/ && xclip -t image/png ~/img/scrot/$f -sel clip'" | |
#mod+shift+printscrn: take selection screenshot, place in ~/img/scrot, copy to clipboard | |
bindsym --release $mod+Shift+Print exec "scrot --select 'scrot-%Y-%m-%d_%h-%m-%s_$wx$h_snip.png' -e 'mv $f ~/img/scrot/ && xclip -t image/png ~/img/scrot/$f -sel clip'" |
name = Eduroam-chalmers | |
author = renee gyllensvaan | |
version = 1 | |
require username *Username password *Password | |
protected password *Password | |
----- | |
ctrl_interface=/var/run/wpa_supplicant | |
network={ | |
ssid="$_ESSID" | |
identity="$_USERNAME" |