/srv/irclogs.ubuntu.com/2010/03/19/#ubuntu-us-mn.txt

TakyojiBehold, as I shall be experimenting with video production in Ubuntu!01:34
TakyojiThankfully the storage medium is an SD card, and the container format is MOV (although, I'm not sure of the codec)01:34
TakyojiI guess the codec is H.26401:35
TakyojiBy the way, anyone know the voltage of mini-USB (Mini A connector)01:38
tonyyarussoWikipedia does!01:38
Takyoji5V, I guess01:39
netbookJust did a cool bit of stuff with sed...02:07
kermitnetbook: have you seen towers of hanoi in sed?02:07
netbookheh no02:07
netbookI did just make an awesome .bashrc & .bash_aliases thing though02:07
netbookApphend this to .bashrc: http://pastebin.com/U3kMqLtR02:08
netbookand here is my .bash_aliases: http://pastebin.com/998JqyfF02:08
netbooksalias a shows just the alias section of your .bash_aliases... awesome02:09
kermitheh i've never used .bash_aliases02:12
kermitwhat makes that file?02:12
netbookif you look in .bashrc (your runtime bash file) somewhere near the bottom you will see this:02:13
netbook#02:13
netbookif [ -f ~/.bash_aliases ]; then02:13
netbook# . ~/.bash_aliases02:13
netbook#02:13
netbookpretty much that means, if there exists a file .bash_aliases, source it as well.02:14
netbookso .bash_aliases is an extension of .bashrc, just a place to keep your own additions to .bashrc02:14
netbookit can be named whatever you want02:15
netbooksee what I mean?02:15
kermityeah, i thought it was generated because of the way you're parsing it02:15
netbookoh no, i just prettied it up before posting it02:16
kermiti have a .bashrc i've been using for years that i copy to all my shells02:16
netbookbash aliases are great, saves key strokes bigtime02:16
netbookyou should pastebin yours02:17
kermitheh it's all personal preferences02:17
netbookmight be something useful ;) Most of my stuff i got from other people02:18
kermitand a 429 charactr PS1 + PROMPT_COMMAND02:18
netbookwowzors02:18
netbookdo you display a landscape photo in ascii each time you press enter?02:19
kermiti have everything from how many things in my todo list, to how many years i have left to live, in my prompt02:19
kermithaha02:19
netbookthat sounds cool02:19
kermitand a random line chosen from a file of things i want to remind myself of02:19
kermitplus the usual cwd, date/time, load, and battery charge..02:19
netbooknow I got to see this thing02:20
kermitit run scripts to generate the output though02:21
kermiteach time02:21
kermityou can have `command` in the PS102:21
kermitso my PS1 would need those scripts too to work elsewhere02:21
netbookyea i know about escape commands, i was just curious02:21
kermityou knew you can have htose in the PS1 ?02:21
netbookyea, i don't mind it not working, i just want to check it out02: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
netbookwow02:23
netbooknow everything is blue02:23
netbookhaha02:23
netbooknice though02:24
kermitnot really, it's so much that i don't pay attention to any of it02:24
netbookI would use commands, but i am usually sshing into other machines02:25
netbookthat don't need the load, but I want my bashrc02: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
netbookis mine02:26
netbookwell i got to get home, adios02:26
tonyyarussokermit: how do you check the battery charge for your prompt?  The command I used to use isn't around anymore.03:06
kermitacpi -b03:13
kermittonyyarusso:  ^03:13
tonyyarussokermit: from the package in universe?03:22
Takyojiif only acpi was installed by default..03:24
tonyyarussoit used to be03:24
kermiti dont know what package offhand03:30
mr_steveahh runaway robot!15:52
netbooktonyyarusso: isn't acpi the pkg to install?17:35

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!