Posted 06 July 2012 - 06:18 AM (#1)
Posted 06 July 2012 - 06:42 AM (#2)

Repeat after me: jQuery is not JavaScript. It is not the answer to every JavaScript-related question. When you have to write some JavaScript, do not instantly react with "Oh, I'll do that with jQuery!"
Posted 06 July 2012 - 07:08 AM (#3)
The version number is in a file and I prefer to set that version number before the make, but I tend to forget it so I want to be forced to put it in.
Posted 06 July 2012 - 09:36 AM (#4)
alias make='{ADD VERSION NUMBER TO TEXT FILE} && make'Edit: Don't take my word for it though, I'm not 100% sure that this would work.
<Imp> [F3ar 40] [PWNbear 17] [magik 15] [dissident 10] [mark 7]
Kyek, on 07 February 2011 - 07:11 AM, said:
Posted 06 July 2012 - 11:16 AM (#5)
.bashrc:
make () {
if [ "$1" != "clean" ]; then
"$EDITOR" yourfile.txt
fi
"$(which make)" $@
}
I poke fun at IE and do web stuff. Find me on my blog, my code on GitHub or my angry rants on Twitter.
Posted 08 July 2012 - 01:27 AM (#6)
make () {
if [ "$1" != "clean" ]; then
"$EDITOR" yourfile.txt
fi
"$(which make)" $@
}
alias make=make
in .bash_aliases instead of .bashrc
Life = http://xkcd.com
Posted 08 July 2012 - 02:01 PM (#8)
lobabob, on 08 July 2012 - 01:27 AM, said:
make () {
if [ "$1" != "clean" ]; then
"$EDITOR" yourfile.txt
fi
"$(which make)" $@
}
alias make=make
in .bash_aliases instead of .bashrc
No it doesn't!
/etc/bashrcwill be, but on any decent operating system the files in your hone directory are your own and won't be overwritten on a whim. The files in your hone directory generally source the global ones in
/etc, then the user may specify their preferences afterwards, thus taking priority. I've never seen the users files modified, so I'd be sending a ranty email to your system administrator
@Cyril
.bash_profileis generally used to set up agent applications and such. I'd recommend using the RC (run time configuration file.
I poke fun at IE and do web stuff. Find me on my blog, my code on GitHub or my angry rants on Twitter.
Posted 08 July 2012 - 02:25 PM (#9)
Ruku, on 08 July 2012 - 02:01 PM, said:
/etc/bashrcwill be, but on any decent operating system the files in your hone directory are your own and won't be overwritten on a whim. The files in your hone directory generally source the global ones in
/etc, then the user may specify their preferences afterwards, thus taking priority. I've never seen the users files modified, so I'd be sending a ranty email to your system administrator
I thought the first one was a simple typo, but two of them? I thought better of you D:
<Imp> [F3ar 40] [PWNbear 17] [magik 15] [dissident 10] [mark 7]
Kyek, on 07 February 2011 - 07:11 AM, said:
Posted 08 July 2012 - 02:58 PM (#10)
Quinn, on 08 July 2012 - 02:25 PM, said:
They renamed it a couple years back, home is a silly name >_<
Twitter | GitHub | phpBB Contributor and Website Team Member | lynxphp
Posted 09 July 2012 - 02:00 AM (#11)
Quinn, on 08 July 2012 - 02:25 PM, said:
Auto complete in ICS sucks. I corrected it manually once but it seems to have corrected it back again!?
I poke fun at IE and do web stuff. Find me on my blog, my code on GitHub or my angry rants on Twitter.
Posted 09 July 2012 - 04:18 AM (#12)
This is what I finally came up with:
make () {
if [ -f $1 ] ; then
if [ $BUILD_ROOT ] ; then
if [[ $PWD = */int ]] ; then
vi $BUILD_ROOT/../releases/release.nbr
fi
fi
fi
"$(which make)" $@
}
I now only do it when there is no argument and when it's called from a certain folder.






Cartoon Clouds
Mountains
Sunrise
Clouds
Green Clouds
None















Help