Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Search Forums > Search Results

Showing results 1 to 50 of 52
Search: Posts Made By: Juggle5
Thread Thread Starter Last Post Replies Views Forum
Hmm. I don't know of a program that just... 3,682 Views / 5 Replies  
Hmm. I don't know of a program that just extracts icons, but you could use ResEdit (runs on OS 9.2.2 and earlier). You can open up any file/application and copy out the icons manually and paste to...
Posted by Juggle5, on Oct 30, 2006 at 10:21 PM, in Developer Center
Add the "--" option before the file; this stops... 721 Views / 7 Replies  
Add the "--" option before the file; this stops rm from processing dashes as arguments. Thus:

rm -- -1
Posted by Juggle5, on Oct 29, 2006 at 05:10 AM, in macOS
Thanks! :) 2,510,942 Views / 14,714 Replies  
Thanks! :)
Posted by Juggle5, on Jul 29, 2006 at 06:24 PM, in GUI Customization
Any chance you could share the desktop picture? 2,510,942 Views / 14,714 Replies  
Any chance you could share the desktop picture?
Posted by Juggle5, on Jul 29, 2006 at 02:34 AM, in GUI Customization
You can also do ctrl-A and ctrl-E to go to the... 722 Views / 3 Replies  
You can also do ctrl-A and ctrl-E to go to the beginning/end of the line. The nice thing about these emacs commands is they work in text fields of any cocoa app!
Posted by Juggle5, on Jun 15, 2006 at 02:37 AM, in macOS
More useful commands: grep -- search through... 1,842 Views / 19 Replies  
More useful commands:

grep -- search through files
open -- open something as if you had double clicked it
curl -- for downloading stuff
cal -- displays a calendar
uptime -- shows how long your...
Posted by Juggle5, on May 31, 2006 at 12:43 AM, in macOS
You may also want to change 't' to '\t' so that... 707 Views / 4 Replies  
You may also want to change 't' to '\t' so that you will count tabs as whitespace rather than t's. :p
Posted by Juggle5, on Apr 29, 2006 at 11:52 PM, in Developer Center
There are easier ways to change line endings than... 919 Views / 6 Replies  
There are easier ways to change line endings than find/replace.

* In TextWrangler (and probably BBEdit), click on the little "file" button between the "M" and "I-beam" buttons; this brings down...
Posted by Juggle5, on Mar 13, 2006 at 02:08 PM, in macOS
Well, I'll explain the octal deal. Once you have... 879 Views / 7 Replies  
Well, I'll explain the octal deal. Once you have that, the chmod man page has lots of examples at the end that should help out.

If you type "ls -l" on the command line, you see files/directories...
Posted by Juggle5, on Mar 13, 2006 at 05:57 AM, in macOS
Yes, this is exactly what happens. The typical... 647 Views / 1 Replies  
Yes, this is exactly what happens. The typical solution is to send the output of the program to a file when you run it. Example:

./myprogram > somefile &

(The & runs the command in the...
Posted by Juggle5, on Feb 13, 2006 at 12:27 AM, in macOS
I haven't read most of the books you listed, but... 917 Views / 4 Replies  
I haven't read most of the books you listed, but I can vouch for the Hillegass; it's a great book and lets you start writing applications quickly. It is designed for you to be writing programs as...
Posted by Juggle5, on Jan 7, 2006 at 08:47 PM, in Developer Center
In 10.3 this doesn't even work with the volume... 5,720 Views / 85 Replies  
In 10.3 this doesn't even work with the volume slider, although it works for all the normal menus (on the left half of the menu bar). Unfortunately, I've never found it that helpful as the only way...
Posted by Juggle5, on Sep 30, 2005 at 10:57 PM, in macOS
#!/bin/sh NEW_BUILD_LINE=`date +'<a... 1,087 Views / 3 Replies  
#!/bin/sh

NEW_BUILD_LINE=`date +'<a href="Trunk/Camino-ppc7450-%Y.%m.%d.dmg">Camino-ppc7450-%Y.%m.%d.dmg</a><br>'`

sed -e "/mozconfig/i\\
$NEW_BUILD_LINE" your_file.html > new_file.html

mv...
Posted by Juggle5, on Sep 23, 2005 at 10:27 PM, in macOS
Wevah, thanks. That's simple enough. I tried it... 775 Views / 5 Replies  
Wevah, thanks. That's simple enough. I tried it for a line segment and I think it's too picky; you have to click *exactly* on the line--a bit annoying as a user. Changing the lineWidth didn't...
Posted by Juggle5, on Sep 23, 2005 at 08:05 PM, in Developer Center
Thanks, that works well. I'll probably end up... 775 Views / 5 Replies  
Thanks, that works well. I'll probably end up just making my own point-line segment intersection routine.
Posted by Juggle5, on Sep 18, 2005 at 10:52 PM, in Developer Center
Points in Rectangles/Regions 775 Views / 5 Replies  
I'm rather new to Cocoa programming.. is there a call to see if a point is inside a given rectangle? (There's PtInRect, but that appears to be part of the Carbon library and uses Point rather than...
Posted by Juggle5, on Sep 18, 2005 at 02:39 AM, in Developer Center
Within iTunes, open the preferences, and click on... 701 Views / 2 Replies  
Within iTunes, open the preferences, and click on the "Advanced" icon. From there you may change the iTunes Music folder location. (I haven't tried this across multiple hard disks, and this is with...
Posted by Juggle5, on Sep 11, 2005 at 03:55 PM, in Consumer Hardware & Components
Perhaps "Boom! Boom!" by John Lee Hooker? ... 2,780 Views / 14 Replies  
Perhaps "Boom! Boom!" by John Lee Hooker?

Just re-read your original post; I'm an idiot.
Posted by Juggle5, on Jul 30, 2005 at 01:36 AM, in MacNN Lounge
Arclite: that's pretty spiffy. Thanks. :) 1,272 Views / 14 Replies  
Arclite: that's pretty spiffy. Thanks. :)
Posted by Juggle5, on Jun 21, 2005 at 02:17 AM, in Developer Center
File I/O is the same in C for Mac OS X as for... 551 Views / 1 Replies  
File I/O is the same in C for Mac OS X as for other operating systems. (Perhaps I'm not understanding your question?) For example, this code should make a new file called "readme" that contains the...
Posted by Juggle5, on Jun 19, 2005 at 02:33 AM, in Developer Center
I started out using emacs, but switched to vim... 1,272 Views / 14 Replies  
I started out using emacs, but switched to vim after I saw one of my friends using vim--he could make changes insanely fast. So I tried vim, and gave it about a week; it was slow and painful at...
Posted by Juggle5, on May 28, 2005 at 05:32 PM, in Developer Center
One possible function would be to go through... 7,306 Views / 6 Replies  
One possible function would be to go through every possible way of getting four in a row in the game, and giving a score based on how close each player is to completing that particular 4-in-a-row. ...
Posted by Juggle5, on Dec 5, 2004 at 05:08 AM, in Developer Center
Well, these are vim (not vi) tricks, but I find... 1,567 Views / 34 Replies  
Well, these are vim (not vi) tricks, but I find them handy:

Select some poorly formatted code you want and press =. This will re-indent it for you! Very handy when you are editing bad code, or...
Posted by Juggle5, on Aug 30, 2004 at 03:56 AM, in macOS
The error message: "kextload:... 923 Views / 14 Replies  
The error message: "kextload: /System/LibraryExtensions/wirelessDriver.kext:no such bundle file exists" sounds like the file wasn't installed. I'm guessing that the installer should have created the...
Posted by Juggle5, on Aug 10, 2004 at 06:05 PM, in Mac Notebooks
My guess is that the problem lies in copying the... 547 Views / 1 Replies  
My guess is that the problem lies in copying the ParseTree. When class members contain pointers to dynamically allocated memory, then just copying pointers will make the copy point to the same...
Posted by Juggle5, on Mar 14, 2004 at 07:16 AM, in Developer Center
How did you set up the key binding in vim? I've... 1,093 Views / 2 Replies  
How did you set up the key binding in vim? I've tried adding

map <PageUp> <C-b>

to my .vimrc file, but this doesn't seem to work, even on other computer systems and terminals. Other key...
Posted by Juggle5, on Jan 18, 2004 at 03:06 AM, in macOS
This probably won't fix anything, but I do have... 561 Views / 6 Replies  
This probably won't fix anything, but I do have question:

Since $currentIP is a string variable, do you have to use 'ne' (string compare) rather than '!=' (numerical compare) in the if statement:...
Posted by Juggle5, on Dec 7, 2003 at 03:53 AM, in macOS
You can get to the /usr/bin folder several ways: ... 1,029 Views / 25 Replies  
You can get to the /usr/bin folder several ways: In the terminal, type "cd /usr/bin" and then type "ls" to see the files in that folder.
From the finder, you can press shift-command-G to go to any...
Posted by Juggle5, on Nov 27, 2003 at 03:32 AM, in macOS
I'm not the biggest expert here, but here are a... 684 Views / 3 Replies  
I'm not the biggest expert here, but here are a few thoughts:

1. Open the preferences in Terminal and see if there is some command running by default. (mine just executes the default login shell,...
Posted by Juggle5, on Nov 27, 2003 at 03:14 AM, in macOS
Why no scroll bar? Well, I use a black terminal... 625 Views / 10 Replies  
Why no scroll bar? Well, I use a black terminal and a somewhat darkish background picture; the scroll bar and title bar really stand out. I thought it would look really cool (and also less...
Posted by Juggle5, on Nov 23, 2003 at 01:36 AM, in macOS
Removing Terminal Scrollbar in 10.3 625 Views / 10 Replies  
Well, the title says it all. Is is possible to remove the scrollbar of a terminal window in 10.3? In 10.2, you could do this by disabling the buffer..but now the scrollbar remains.
Posted by Juggle5, on Nov 21, 2003 at 04:02 AM, in macOS
To extend this, any time you have a polynomial... 682 Views / 5 Replies  
To extend this, any time you have a polynomial expression, it's nest to factor it like this, both for speed and numerical stability. I.e., rather than:
y = 3*x*x*x*x + 5*x*x*x + 2*x*x + 6*x + 7...
Posted by Juggle5, on Nov 2, 2003 at 02:04 PM, in Developer Center
If possible, I recommend showing your code to... 1,453 Views / 29 Replies  
If possible, I recommend showing your code to other programmers for feedback while you're learning to program.

I learned to progam on my own, and made some fairly complex programs, but my progams...
Posted by Juggle5, on Oct 26, 2003 at 01:48 AM, in Developer Center
Use the "find" command. The basic usage is ... 1,063 Views / 12 Replies  
Use the "find" command. The basic usage is
find &lt;directory to start in&gt; &lt;what to look for&gt; &lt;stuff to do&gt;
For example: (In all these examples, the argument . stands for the current directory.)...
Posted by Juggle5, on Apr 26, 2002 at 04:18 PM, in macOS
I bought two 256MB chips before I found out that... 499 Views / 6 Replies  
I bought two 256MB chips before I found out that the Lombard only officially supports 384MB. However, I installed both chips without much work, and everything works fine. I remember reading...
Posted by Juggle5, on Apr 13, 2002 at 01:06 AM, in Mac Notebooks
Kman42, SIGSEGV is a segmentation violation.... 522 Views / 5 Replies  
Kman42,

SIGSEGV is a segmentation violation. It probably means you have a pointer problem somewhere. (Sorry for the bad news! :( )

from http://www.memorymanagement.org/glossary/s.html :...
Posted by Juggle5, on Mar 27, 2002 at 02:41 AM, in Developer Center
A quick search through the tcsh man page (invoked... 1,387 Views / 3 Replies  
A quick search through the tcsh man page (invoked by "man log") turns up this:

---About the log command---

<font face = "courier">log (+) Prints the watch shell variable and reports...
Posted by Juggle5, on Mar 20, 2002 at 03:47 AM, in macOS
To [APi]TheMan: Thanks. Glad you liked the... 892 Views / 31 Replies  
To [APi]TheMan:

Thanks. Glad you liked the fractal # perl command. I think it's the first fractal I've ever made on the command line. :)

To HanSolo:

Thanks, also. I have to agree with...
Posted by Juggle5, on Mar 14, 2002 at 02:28 AM, in macOS
Man pages are divided into sections; the number... 2,787 Views / 15 Replies  
Man pages are divided into sections; the number in parentheses after a command indicates the section. The sections are:

Section 1 - User Commands
Section 2 - System Calls
Section 3 - Library...
Posted by Juggle5, on Mar 14, 2002 at 01:11 AM, in macOS
You can do some interesting stuff with jot and... 892 Views / 31 Replies  
You can do some interesting stuff with jot and rs. The man pages have some cool examples. Using echo, sed, jot and rs, I've made the ultimate one-line, fun command: random guitar tablature! :D :D...
Posted by Juggle5, on Mar 9, 2002 at 05:24 AM, in macOS
Just thought of this after mentioning the banner... 892 Views / 31 Replies  
Just thought of this after mentioning the banner command...perl can be fun, though I think it's borderline for a single command. Nonetheless, since this fits easily on a line:

% perl -e 'foreach...
Posted by Juggle5, on Mar 9, 2002 at 02:48 AM, in macOS
Here's one that goes in the "fun" category: ... 892 Views / 31 Replies  
Here's one that goes in the "fun" category:

% banner "Hi there!"

--Juggle5
Posted by Juggle5, on Mar 9, 2002 at 01:54 AM, in macOS
Here are some interesting curves you might want... 542 Views / 14 Replies  
Here are some interesting curves you might want to try:

To see how well your program handles multiple curves:

(plot range x = [-10,10]; y = [-10,10])
cos(x) = sin(y) + 1 --&gt; "circles" on a...
Posted by Juggle5, on Mar 6, 2002 at 02:52 AM, in Developer Center
Arakageeta256, How about this? <font... 516 Views / 2 Replies  
Arakageeta256,

How about this?

<font face = "courier">#include &lt;iostream.h&gt;

void main()
{
cout &lt;&lt; "please press return..";
cin.get();
Posted by Juggle5, on Feb 16, 2002 at 02:56 AM, in Developer Center
TheMan: You were on the right track.. In... 971 Views / 10 Replies  
TheMan:

You were on the right track.. In brief, the alias you want is:

<font face = "courier">alias rm 'mv \!* ~/.Trash'</font>

I find it incredibly convenient to alias things like:
...
Posted by Juggle5, on Feb 15, 2002 at 02:17 AM, in macOS
Profit, I don't have omniweb, so I don't... 569 Views / 1 Replies  
Profit,

I don't have omniweb, so I don't know exactly how it reformats html files. However, this sort of task is exactly what perl was made for, so I would make a perl script to reformat your...
Posted by Juggle5, on Feb 6, 2002 at 12:02 PM, in Developer Center
You can see the contents of a library file using... 466 Views / 5 Replies  
You can see the contents of a library file using the "nm" command; i.e., "nm somelibrary.a" or "nm somelibrary.a | grep stuff_you're_hoping_to_find_in_there ". "nm" also works on .o, .so, and .dylib...
Posted by Juggle5, on Jan 31, 2002 at 11:40 PM, in macOS
The key error message is: This message... 611 Views / 7 Replies  
The key error message is:


This message is trying to say that there's no code for the cout function. This is true; the implementation for cout isn't in your program, it's in the standard c++...
Posted by Juggle5, on Dec 19, 2001 at 02:44 AM, in Developer Center
I'll bet it's the 10.0 dev tools on system 10.1. ... 622 Views / 20 Replies  
I'll bet it's the 10.0 dev tools on system 10.1. That might explain why I had to rename some files just to get project builder to run. :rolleyes: When I installed 10.1, I looked, but I didn't...
Posted by Juggle5, on Nov 11, 2001 at 09:19 PM, in Developer Center
Another question, along on the same line: ... 622 Views / 20 Replies  
Another question, along on the same line:

When I create the standard C++ tool "hello world" project using project maker, it won't compile. I get the linker error

<font face =...
Posted by Juggle5, on Nov 10, 2001 at 07:07 PM, in Developer Center
Showing results 1 to 50 of 52
 
Top
Privacy Policy
All times are GMT -4. The time now is 05:04 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,