I clicked on something and now all my windows have a black boundary around them whenever I focus on it. This happens on menu bar items as well when in focus. How do I remove it?
I'd like to use a programming model for custom graphics and precision placement, and an interactive visual mode for large scale layout and less precise placements. I've used tools (PostScript, various vector drawing programs) that do one of these modes well, but leave me pining for the other model. Which tools should I be investigating? I'm currently on OS X.
Examples: Creating diagrams with precise spacing, sets of cards, either likely drawing from some sort of data.
When I print out the path in bash, it prints this:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
When I run System.out.println(System.getenv("PATH")); in Java running under Eclipse, it prints
/usr/bin:/bin:/usr/sbin:/sbin
How can I figure out why there is this discrepancy? I need to add /usr/local/bin to the PATH and make it available to Java apps under Eclipse. (note: I have made no modifications system paths, so these are the defaults set by the OS or perhaps by one or more of the applications i've installed.)
I got a Linux VM Image from a dev in our company to develop on it. This works nice, but now i need to do some Internet Explorer testing, for that i have an other VM with windows on it.
I have an entry in my hosts file under macos that redirect some virtual domain to the IP of the linux VM.
I tried to modify the hosts file in windows also. But i cant reach Linux VM.
How can i access the Server on the linux VM with Windows VM? Are there some settings i missed?
I recently used disk utility in my mac book pro to format my 8 GB pen drive to install OS X. After that I formatted my pen drive from disk utility as FAT32 so that I would be able to use it in windows. But in windows the pen drive does not show up. When I right click on my computer and click manage and then disk management, the pen drive is listed there, but it doesn't show up in the explorer and I cant use it. I tried to do many things but I'm still not being able to use it in windows though I can use it in Mac OS X. Could anyone help? Thanks.
How can I parse data from inside a tag with Applescript? I know Applescript has the words 3 thru -2 of myTextVariable syntax - but how would I use it to be sure I am just getting This is my text from the tags below?
<p>This is my text</p>
or
<p class="new">This is my text</p>
or
<h1>This is my text</h1>
or
<content class="new" id="content">This is my text</content>
I want to delete some files/directories from my Time Machine Partition using rm, but am unable to do so. I'm pretty sure the problem is related to some sort of access control extended attributes on files in the backup, but do not know how to override/disable them in order to get rm to work. An example of the error I'm getting is:
% sudo rm -rf Backups.backupdb/MacBook/Latest/MacBook/somedir
rm: Backups.backupdb/MacBook/Latest/MacBook/somedir: Directory not empty
rm: Backups.backupdb/MacBook/Latest/MacBook/somedir/somefile: Operation not permitted
There are a number of reasons I do not want to use either the Time Machine GUI or Finder for this. If possible, I'd like to be able to maintain the extended protection for all other files (I'd like not to disable them globally, unless I can re-enable once I've done my work).
There is a pretty awesome applescript called "Open Terminal Here" ( http://www.entropy.ch/software/applescript/ ) which you can add to your finder's toolbar and click when you want to launch a terminal console which is set to that directory.
Sometimes I need to be root, and so I end up starting terminal, doing something like sudo -i and then I have to change back to the previous directory because the sudo command is landing me in /var/root.
I'm using sudo -i because I like it to load things like aliases / the bash profile.
The script is applescript, and here's the important part of how it works:
...
set cmd to "cd " & quoted form of the_path & " && echo $'\\ec'"
...
tell application "Terminal"
activate
do script with command cmd
How do I get this to load as root?
On my MacBook Pro, I occasionally use external keyboards, generally Windows ones and things have been fine.
Yesterday, I plugged in a new one, remapped the command/option keys so the windows/alt keys were in the same configuration, again, nothing new here. However, this time when I unplugged the USB keyboard, the laptops option/command keys remained switched.
More annoying is that if I go into the System Preferences - Keyboards - Modifier keys, remapping the keys to actions does not work. I can use the drop downs to disable any specific keys, but switching the behaviours does nothing. (Cmd/Option obvious, tried remapping anything to caps lock and a few other combinations, no joy. Restore defaults set the configuration to what I'd expect, but the settings are evidently ignored.)
So: Any ideas?
I'm following a video tutorial where the author (who uses textmate) can open files by using "mate". for example mate .git/config will open this config file
I'm using textwrangler however so I don't have that option. I did try edit .README once when i tried to open the README file of an application, but it opened a blank README file in textwrangler instead of the file with the text in it
so any idea how I can open this .git/config file (or any other file) using textwrangler?
I'm using Mac snow leopard
I have speed problem in Netbeans 7.0 IDE when my current open document has any Persian font inside it. If it happens, the speed of software incredibly reduce.( for example if I hit backspace, it takes about 10 seconds to respond). The amazing part is when I open a fully english document in Netbeans there is no problem and everything works well.
I'm running netbeans 7.0 on Mac OS X 10.7.2. This problem happens with every fonts( even with fully Persian fonts). But I really want to have Persian with default Monospaced font.
Thanks in advance.
I need to use my university's ssh access and run my programs there for testing. I don't have sudo access there. It doesn't have vncserver there either. I would work with vim and make but I need git at least. Now I am looking into rsync to sync my current source directory into a remote directory and I'll ssh into the directory and run my make file to test it. I am looking at the man page of rsync and it looks very complicated. Can anyone please help me with this? I have googled in superuser and all commands seem different for different cases.
Can anyone please help me with this?
Both of my Macs play this sonar sound that sounds like "ping ping ping ping" with a small amount of delay / echo. It occurs to me that it is played once a day but I'm not sure why.
I checked iCal but didn't found anything (I don't use iCal anyways but maybe it's connected to Google calendar or my iPhone).
I've heard this sound played by both my MacBook and my iMac but not yet simultaneously.
Update
This sound is not submarine.aiff. It sounds much more like what skub linked to but there are 4 "pings" instead of 1.
It is played at different times (today around 5pm and again at 8.45, but as far as remember not everyday). That's why I'm not sure I could record it, but I could try.
The sound might come from my iPhone, though I'm not sure which apps are alowed to play sound when they are not running. Also I don't see any indication in the message center or something similar.
I think I have to start taking notes on which apps running.
I need to use a command for converting my images to pvrtc. It is located in /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool.
Right now I have to be inside that folder to be able to use the command. How can I set it up so I can run this command from anywhere?
Thanks
I try advice like this that recommends adding the following to your .profile:
function tabname {
printf "\e]1;$1\a"
}
So you can type tabname brokenbox to name your tab. The problem is as soon as I also type ssh [email protected] and log in, it wipes the tab name. I want a tab name that's as persistent as the tab, not the level of session I happen to be in. Is this possible? I don't even know what layer that data lives in.
Simple problem: I'd like the Downloads window to appear as a tab in Firefox. I used to use Downloads in Tab 0.0.6 but it doesn't seem to be compatible with Firefox 3.x.
Any suggestions?
I'd like to document changes I made to my computer (running MacOS 10.6.8) to be able to identify the sources of eventual problems.
Mostly I install updates when a software notifies me about a newer version and offers me a dialog to download and install the update.
Currently I'm documenting those updates "by hand" by noting in a text file, when I have e. g. installed a Flash-Player update or updated another 3rd party software ...
I wonder if I could achieve that easier and semi-automatically by parsing system logfiles for certain texts like "install" and that way directly get the relevant information:
what has been installed (Software and version)
when has been installed
where has it been installed/what has changed
Is there a way to extract such information by a script from the existing logfiles?
The only thing I need indexed in the /Applications folder are the .app files.
Is there any way to setup a filter to have mds or Spotlight ignore everything in /Applications except .apps?
Otherwise, would it be possible to setup a rule for Alfred to omit any non-.app records from /Applications? I still want documents indexed and returned, just not from that specific directory.
OS X 10.6.8 if you're wondering.
Is there a good bit of software on Mac OS X that I can use to monitor incoming and outgoing network activity? Nothing too geeky, I just want something simple to use.
I'm on version 10.6 (Snow Leopard) if that helps.
I have a huge directory from a HDD recovery that contains 70000+ JPEG files. I tried playing around with some AppleScripts, that I found, but had no luck. I already installed EXIFtool, which might be useful for this task.
The current directory structure is as follows:
dir001
- file0001.jpg
...
- file9999.jpg
dir002
- file0001.jpg
...
- file9999.jpg
...
dir070
- file0001.jpg
- ...
- file9999.jpg
The files mostly have EXIF Data, but sometimes there are Files without metadata. Now I hope to be able to sort and rename these files into folders based on the date:
1999
- 1999 01 31
- 1999_01_31_-_22_59_59.jpg
2000
- 2000 05 20
- 2000_05_20_-_21_59_59.jpg
- 2000_05_20_-_22_59_59.jpg
I figured Applescript/Automator might come in handy for this, however every other solution would be welcome, too!
I've had __git_ps1 in my bash prompt for a while, but just recently (I noticed it after I did some messing around with Homebrew and rbenv), it has slowed down my prompt horribly. When I'm in a git directory I have to wait 3-4 seconds after every command for the prompt to appear.
If I just mash return and watch the Activity Monitor, it shows that distnoted and Finder are using more CPU than normal during the delay. Could something git-completion.bash is doing be triggering a notification to Finder? Maybe it involves folder actions or something?