Tag Info

New answers tagged

0

One possibility is to use hdiutil's makehybrid option to create a hybrid HFS/ISO disk image, with the Mac files hidden in the ISO filesystem, and the Windows files hidden in the HFS filesystem. Here's an example from an earlier stackoverflow question: hdiutil makehybrid -o image.iso source_folder -iso -hfs -hide-iso cd_folder/application.app -hide-hfs ...


0

You seem to have 2 questions there. Doktoro Reichard has kindly furnished you with the answer to one, this ought to fix the other… Set hot corners. Push the cursor to that corner & it won't nod off. That would save you having to change the regular policy, for the times you do want it to sleep after being idle.


0

Cmd ⌘ ~ (tilde, or even ` as shift appears to be optional) will cycle all windows of the frontmost app. Ctrl ⌃ F4 will cycle through all open windows in that Space, irrespective of app.


1

Press CMD, CTRL & F simultaneously, it'll switch between Full screen and normal mode.


0

I could solve this by following the steps below. Created a host-only adapter by going to setting of virtual machine as below Check the first three decimal parts of windows 7 virtual machine ip address ex : It is 192.168.56 in my case Go to virtual box -> Preferences -> Network. Select the host-only Networks tab. click the edit button. Change the ...


2

In short: No. You can't change the settings There is a file com.apple.spaces.plist which defines settings for each virtual desktop, but I couldn't find any signs of numerical limit. So I believe that this limit is somehow hardcoded in script that creates new spaces. I however found a (hackish) way to add more than 16 virtual spaces to 1 display. Simply ...


0

I haven't tested this and I'm reciting this mostly from memory but it should work. Keep a backup of your files if this doesn't work. Place the files to be uploaded inside a folder on the Dropbox folder Dropbox will now upload the files. When Dropbox finishes, go to the options menu and enable Selective Sync, disabling the folder you uploaded from syncing. ...


0

Reusing and enhancing a previous answer to shift files dates with a reference file/date (the old GoPro always reset its time to 2009..) ref_file=GOPR3440.MP4 new_time_for_that_file=0327160015 #date's format: 27th March 2015, 16:00 ref_file_timestamp=`stat -f %B -t %s "$ref_file"` new_time_timestamp=`date -j $new_time_for_that_file +%s` ...


1

If your primary goal is compatibility with all/most OSs and unzipping tools, then Deflate is your best choice. From Wikipedia's Zip->Compression Methods article: The most commonly used compression method is DEFLATE, which is described in IETF RFC 1951.


0

Assuming you are using the default MAC Terminal, you can use the following one in .profile since "set_prompt" by itself may send you to the root folder when you open a new tab: set_prompt () { BASE_PATH="${PWD##*/}" echo -ne "\033]0;$BASE_PATH\007" } set_my_tab () { update_terminal_cwd set_prompt } PROMPT_COMMAND=set_my_tab


0

I don't know what "iball headphones" are, but this is a common problem with USB mic's. There is a temporary workaround (https://discussions.apple.com/thread/6602025?start=45&tstart=2), and it's worked for me.


0

On the Mac, running multiple instances of VLC is not supported out of the box. As workaround, you can run it from command prompt as: open -n /Applications/VLC.app/Contents/MacOS/VLC my_video.mp4 Or can create a Droplet/App by pasting the code below into a new AppleScript Editor script and save it as an application: on run do shell script "open -n ...


0

A simple NodeJS version: node -e "process.stdout.write(new Buffer(process.argv[1]).toString('base64'))" "Hello world!"


-1

You can use Skim (which is free) which offers the View -> Show Split PDF feature. Skim is a PDF reader and note-taker for OS X. It is designed to help you read and annotate scientific papers in PDF, but is also great for viewing any PDF file. Download Skim here.


1

I had SSH set up with Cygwin and in my case it was the Windows firewall that caused exactly this error, so make sure to allow connections to port 22.


1

Alternate answer I just thought I’d take a closer look at your expect scripts and I noticed that they’re missing the spawn command: #!/usr/bin/expect -f spawn /usr/bin/ssh-add /Users/myusername/.ssh/id_rsa expect "Enter passphrase for /Users/myusername/.ssh/id_rsa:" send "mypassphrase\n"; interact From the expect manual: spawn [args] program [args] ...


1

I wouldn’t recommend running ssh-add or expect in a cron job as it’s excessively complicated to run it in the limited environment that cron uses for executing its jobs and I’d prefer not to store passwords in the crontab. Rather than using your regular SSH key, I’d create a new key that is only ever to be used to run the command you want to be run by cron. ...


1

From How to add more desktop spaces : You can create up to 15 additional desktop spaces in Mission Control (16 total desktops, plus Dashboard). If you create the maximum number of desktop spaces in Mission Control, you can still add new spaces by going into full-screen mode with an app. Apps that support full-screen mode will have the ...


0

Apple provides lots of ways to share the connection, but they don't detail how to do it from the command line. OS X Yosemite: Share your Internet connection OS X Mavericks: Share your Internet connection OS X Lion: Share your Internet connection ... I have tried IP forwarding an changing the NAT tables but I think I did not implement it properly... ...


0

Open the terminal, Command + T Type: arp -na then on each of the IP addresses run dig [IP address from first command]


1

Your computer only needs to track ARP entries for computers on the same subnet. For all other computers, it goes through a router to get there. The router stores arp entries for all devices that it knows about. That being said, if your computer is connected to multiple subnets (usually by using multiple NICs or multiple VLANs one one NIC) , then it will ...


2

From your system, there will not be a way to do so. That could be done from the router that's housing said subnets. Your computer will never be aware that it is even a part of a subnet, if there is one. Therefore, your show ARP will only show information within your subnet.


2

ARP will only list address that are on the same subnet as your computer. To do what you want you might want to use nmap to check all computers that are connected to a certain network. Or If all your devices are configured via DHCP—yes, DHCP can serve multiple subnets, depending on the DHCP server that is being used—you might check the DHCP leases file. ...


0

Two phases you will want to do. Add your Gmail account as IMAP to Outlook. Then copy/move your Outlook emails to the Gmail account you made in Outlook. If you leave Outlook running all the time you can make a rule to forward all email to your Gmail. If you don't, talk to your email host (work,isp...) about doing a forward on your email.


0

I just closed Terminal completely and started with a new window and it's fixed. Only new tabs in that old window were broken. Not sure what it was but... it's gone now.


0

I recommend using tmux. You can set it up with your own keyboard to highlight and copy text. See here.


1

On OSX Sublime Text 3 will store auto save session information to: ~/Library/Application Support/Sublime Text 3/Local/Session.sublime_session And Sublime Text 2 to: ~/Library/Application Support/Sublime Text 2/Settings/Auto Save.sublime_session Source Temporary Files location? I'm wondering if there is a location Sublime puts temporary files? I ...


0

For user name use timemachine instead of TimeMachine, that solved the problem to me


0

This is frustrating but shouldn’t be too difficult to debug. Checking /etc/profile and /etc/bash.rc is a bit too deep and excessive. The first places I would check are in the user-specific shell environment files that get loaded each time a new window is opened: ~/.bash_profile, ~/.bash_login and ~/.profile. My guess is some command junk was appended to the ...


0

Lets say you start composing an email on your mac 1. You walk into the room with mac 2. You can finish composing the email on mac 2 by clicking the chrome symbol. It will even work with iPhone's, iPad s, iPods, etc. There is an article on it here.


4

This is Handoff, part of the Continuity features in 10.10 Yosemite. In this case, with Google Chrome, your open tabs are shared between computers, so you can continue browsing when switching devices. To turn off Handoff on your iPhone, iPad, or iPod touch, go to Settings > General > Handoff & Suggested Apps, and turn off Handoff. On your Mac, go to ...


0

I ended up making the bash script create a temp text file (for the concat command to work on) then in each iteration of the loop change the contents of the text file and run the concat command on the text file each loop. Hope this theory helps someone else.


0

I add another answer with a test environment constructor. I created a shared executable project here. Follow the link write in the shell bash main.sh. It works. After copy the script on you system and check if it works. If not post the error you receive. #!/bin/bash printf "\n\n\n# Let's we create your test directory\n" TESTDIR="tmptmp" rm -rf ...


0

Make sure you have Cookies ticked under the History heading in the Settings panel beside Clear history when Firefox closes. If it still doesn't work, maybe try ticking Site Preferences and Offline Website Data in the same panel under the heading Data ?


0

If somebody is still finding this question when searching "gzip in Mac", I wrote a guide that it may be useful to somebody else. Here it goes: Compressing The most basic command will compress the file filename.ext and then replace it with filename.ext.gz in the same directory. gzip filename.ext If you don't want to lose your original file, then you need ...


2

Lets say I had a directory /srv and a few weeks ago I ran a command like find /srv/ > /tmp/oldindex. You could easily compare that against the current system using process substitution by doing something like this. diff -u /tmp/oldindex <(find /srv/) There are lots of options you could use to change your diff format. You will need to generate your ...


0

There are circumstances under which Windows 7 will not respond to a ping request. These include: From time to time there is an issue with Windows 7 computers in the network: they do not answer ping requests although everything seems properly configured and other clients in the same network work fine. This is because only clients with activated ...


0

Thanks to pope's answer, I tried the tmux -C hint. You don't have to install anything, because the current tmux version supports the -C flag. Use -CC, because -C isn't always working. So with tmux -CC (or tmux -CC attach) tmux is even better than it already is.


0

You unfortunately can't remap your power-on button to the Delete key at startup. Although, you could do so when you are logged in using an app such as Karabiner. If your MacBook air is new, I suggest you to bring it to an Apple Authorized Service Provider for maintenance. They have diagnostic tools to test your keyboard and if your computer is under ...


1

Without seeing a picture of this, I wonder if what you're seeing could be sub-pixel anti-aliasing gone wrong because the display uses a different sub-pixel ordering than the OS expects. See if turning off sub-pixel anti-aliasing makes the problem go away: System Preferences > General > [ ] Use LCD font smoothing when available Un-check that checkbox ...


0

Connection refused is frequently when the server does not have the ftp service running. Maybe the daemon is not running anymore? (The server may be running, but maybe just not the FTP service). Another possibility is that the server's firewall is now blocking the FTP ports. Did anything change there? Is your username and password correctly programmed? Yet ...


3

Apparently you can't send key combinations that are "Mac OSX Shortcuts."


0

p2p0 is part of OS X’s built-in “AirDrop” and “AirPlay Solo” features.


0

Have you downloaded & installed X11, a.k.a. XQuartz, from http://xquartz.macosforge.org/ yet? (It used to be bundled with OSX, but not any longer.) Once you download the .dmg file and install it from there, you should be good to go. If not, please provide more details.


0

Make sure both the file and its parent folder are unlocked I was facing a similar problem when trying to delete a Mac Mail email signature file. I could not delete it until I had unlocked the file as well as its parent folder.


1

The latest update to Spotify, which brought it above version 1.x, removed this feature completely, along with many, many other features. In that version, it's currently not possible to do this anymore. However, Spotify has mentioned that this feature will return in future versions, though they don't give any specific ETA or version number for the return of ...


0

Looks like you have some external contact database connected to Thunderbird like Google contacts or Exchange. In that case it depends on the used plugin if deletion of contacts from such list is implemented. Try to go to the origin of the contact database and remove members from there.


0

This is the issue that I encounter as well, so when looking at the official site https://github.com/Homebrew/homebrew-apache, it mentioned that I have to symlink the related files that required with the following line: sw_vers -productVersion | grep -E '^10\.([89]|10)' >/dev/null && bash -c "[ -d ...


0

No, because full-screening an app moves it to a different desktop. Use Ctrl-Left to get back to the main desktop, and Ctrl-Right to get back after that. If you're on a MacBook you can three-finger swipe left and right to accomplish this as well.



Top 50 recent answers are included