Difference between revisions of "Random Stuff"

From WTFwiki
Jump to navigation Jump to search
Line 15: Line 15:
  
 
Deinstall the old one and install the resulting new package.
 
Deinstall the old one and install the resulting new package.
 +
 +
* [http://predef.sourceforge.net/preos.html List of Operating System Defines] - Handy for doing OS checking in the C preprocessor.

Revision as of 17:13, 25 March 2008


To convert asterisk gsm files to wav files it can still play:

 sox tt-weasels.gsm -r 8000 -b -c 1 -u -2 tt-weasels.wav

Upgrading pkgsrc bootstrapped packages (bmake install-sh nawk nbsed pax tnftp bootstrap-mk-files):

 bmake USE_DESTDIR=full package

Deinstall the old one and install the resulting new package.