Takyoji | Behold, as I shall be experimenting with video production in Ubuntu! | 01:34 |
---|---|---|
Takyoji | Thankfully the storage medium is an SD card, and the container format is MOV (although, I'm not sure of the codec) | 01:34 |
Takyoji | I guess the codec is H.264 | 01:35 |
Takyoji | By the way, anyone know the voltage of mini-USB (Mini A connector) | 01:38 |
tonyyarusso | Wikipedia does! | 01:38 |
Takyoji | 5V, I guess | 01:39 |
netbook | Just did a cool bit of stuff with sed... | 02:07 |
kermit | netbook: have you seen towers of hanoi in sed? | 02:07 |
netbook | heh no | 02:07 |
netbook | I did just make an awesome .bashrc & .bash_aliases thing though | 02:07 |
netbook | Apphend this to .bashrc: http://pastebin.com/U3kMqLtR | 02:08 |
netbook | and here is my .bash_aliases: http://pastebin.com/998JqyfF | 02:08 |
netbook | salias a shows just the alias section of your .bash_aliases... awesome | 02:09 |
kermit | heh i've never used .bash_aliases | 02:12 |
kermit | what makes that file? | 02:12 |
netbook | if you look in .bashrc (your runtime bash file) somewhere near the bottom you will see this: | 02:13 |
netbook | # | 02:13 |
netbook | if [ -f ~/.bash_aliases ]; then | 02:13 |
netbook | # . ~/.bash_aliases | 02:13 |
netbook | # | 02:13 |
netbook | pretty much that means, if there exists a file .bash_aliases, source it as well. | 02:14 |
netbook | so .bash_aliases is an extension of .bashrc, just a place to keep your own additions to .bashrc | 02:14 |
netbook | it can be named whatever you want | 02:15 |
netbook | see what I mean? | 02:15 |
kermit | yeah, i thought it was generated because of the way you're parsing it | 02:15 |
netbook | oh no, i just prettied it up before posting it | 02:16 |
kermit | i have a .bashrc i've been using for years that i copy to all my shells | 02:16 |
netbook | bash aliases are great, saves key strokes bigtime | 02:16 |
netbook | you should pastebin yours | 02:17 |
kermit | heh it's all personal preferences | 02:17 |
netbook | might be something useful ;) Most of my stuff i got from other people | 02:18 |
kermit | and a 429 charactr PS1 + PROMPT_COMMAND | 02:18 |
netbook | wowzors | 02:18 |
netbook | do you display a landscape photo in ascii each time you press enter? | 02:19 |
kermit | i have everything from how many things in my todo list, to how many years i have left to live, in my prompt | 02:19 |
kermit | haha | 02:19 |
netbook | that sounds cool | 02:19 |
kermit | and a random line chosen from a file of things i want to remind myself of | 02:19 |
kermit | plus the usual cwd, date/time, load, and battery charge.. | 02:19 |
netbook | now I got to see this thing | 02:20 |
kermit | it run scripts to generate the output though | 02:21 |
kermit | each time | 02:21 |
kermit | you can have `command` in the PS1 | 02:21 |
kermit | so my PS1 would need those scripts too to work elsewhere | 02:21 |
netbook | yea i know about escape commands, i was just curious | 02:21 |
kermit | you knew you can have htose in the PS1 ? | 02:21 |
netbook | yea, i don't mind it not working, i just want to check it out | 02:22 |
kermit | \[\033[0;32m\]\u@\h\[\033[0;30;1m\]:\[\033[0;33m\]\w\[\033[0m\] \[\033[34m\](\[\033[1m\]\j\[\033[0;34m\])jobs \[\033[35m\]\D{%m%d(%a) %r} \[\033[0;34m\]`kill -WINCH $$;read a b c d e < /proc/loadavg;echo $a $b $d`\[\033[0m\]\[ \033[0;34m`acpi -b|awk '{printf "%d%",$4}'`\]\[ \033[0;36m`~/bin/docount`\]\[ \033[0;36m`~/bin/todone.total_eta.sh`\]\[\033[m\]\n\$ \[\033[m\]\[\033]0;\h:\w\007\] | 02:22 |
netbook | wow | 02:23 |
netbook | now everything is blue | 02:23 |
netbook | haha | 02:23 |
netbook | nice though | 02:24 |
kermit | not really, it's so much that i don't pay attention to any of it | 02:24 |
netbook | I would use commands, but i am usually sshing into other machines | 02:25 |
netbook | that don't need the load, but I want my bashrc | 02:25 |
netbook | \[\e[0;35m\]\t\[\033[m\]-\[\e[0;36m\]\u\[\e[0m\]@\[\e[0;32m\]\h:\[\e[1;34m\]\w\[\033[m\] \n$ | 02:26 |
netbook | is mine | 02:26 |
netbook | well i got to get home, adios | 02:26 |
tonyyarusso | kermit: how do you check the battery charge for your prompt? The command I used to use isn't around anymore. | 03:06 |
kermit | acpi -b | 03:13 |
kermit | tonyyarusso: ^ | 03:13 |
tonyyarusso | kermit: from the package in universe? | 03:22 |
Takyoji | if only acpi was installed by default.. | 03:24 |
tonyyarusso | it used to be | 03:24 |
kermit | i dont know what package offhand | 03:30 |
mr_steve | ahh runaway robot! | 15:52 |
netbook | tonyyarusso: isn't acpi the pkg to install? | 17:35 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!