Can't install Xcode4 because the dmg is not recognized - xcode4

while trying to install xcode4 it is showing an error as not recognized. Any ideas?

Try following:
locate and select the .dmg file
Get Info 'Command I', or 'Finder' -> 'File, Get Info'
locate the Open with: section
open with: popup menu - select DiskImageMounter, then click Change All
if DiskImageMounter is not listed , select the
Other... menu item. Go to
/System/Library/CoreServices/.
Here you should fine
DiskImageMounter. Select it, then
the 'Change All' button, and
finally, the 'Continue' button.
If that does not help try another mounting software. If that does not help too you have to redownload xcode4.

Related

Copy link for launch Jupyter Notebook

I installed Anaconda and Jupyter Notebook. When I launch from Jupyter Notebook I see such a message "copy and paste one of these urls". How can I copy thess urls? I tried to click with the right button, left button, double click. Nothing helps, there is no interaction with the open window. I use Windows 8.1.
Can you please tell me why this window is not active and how can I copy the URL?
prtscr
You could either click on the Python icon in the top left corner of the window to get into the edit menu. (Select + Copy) or you could use Ctrl + M to select and Ctrl + C to copy.
But usually the browser is supposed to open itself and go to the notebook.
HTH

Hide the cell tag panel in Jupyter Notebook

Jupyter notebook has a new feature of cell tags since version 5.0 as described in the changelog.
I activated the cell tags going to View > Cell Toolbar as described on their page.
How can I deactivate this little panel on the cells?
Pressing the same button again doesn't help.
Do the same process but this time just click None
If last answer did not help, you also can edit .ipynb file code. in Jupyter - Home-running- stop your file, after that go to the explorer- click right bottom on your_file.ipynb open with notebook(just like .txt) - scroll down, find raw with "celltoolbar": "None", and delete this and save file, after run file in jupyter.

Customize Applescript app icon

I have created my AppleScript, tested it, saved it as an .app and it works.
Now, how do I set a custom icon for it?
I have done a bit of googling and tried a few different things but cannot get it to work. The app is mainly for me and maybe some people I know to make workflows easier so having a nice little icon makes a huge difference.
Can anyone help with this please?
Basically you need an .icns icon file.
Open your application with right-click > Show Package Contents
Navigate to Contents > Resources
Delete applet.icns
Drag the custom icon file into the Resources folder
Rename the icon file in Resources to applet.icns
To update the icon appearance open and re-save the applet in Script Editor.
This is how I do it:
In Finder, select your icon file.
Get Info (CMD-I) on the file.
Click the icon in the top left corner of the Get Info window.
Copy it via CMD-C.
Now Get Info on your AppleScript file.
Click the icon in the top left corner of the Get Info window.
Paste the icon using CMD-V.
The AppleScript icon should be replaced by the icon copied from the icon file.
A screen recording demonstrating this process can be viewed at this answer from AskDifferent.
Just building into #pipwerks answers: You can also use Drag&Drop!
(Optional) Create your icon online from any image on https://iconverticons.com/online/ and download de .icns file for your icon.
Get Info (CMD-I) on you AppleScript file.
Now Drag&Drop your .icns file into the small icon in the top left corner.
It works and now it's ready to add it to the dock or wherever you want.
On newer systems if the above methods do not work there is another solution.
In Script Editor, after opening our script (.app), choose View -> Show Bundle Contents from the menu (or press cmd +0).
In the panel that will expand on the right (Bundle Info) in the Resources section, right-click the applet.icns file and select delete from the drop-down menu.
Our new icon file with the same name applet.icns drag and drop into the window Resources where you just deleted it.
Save application and voila :-D
Here's another way on newer systems, I'm using macOS 12.1.
Open the new icon image file in Preview and choose File > Export...
Hold down the Option key while selecting "Format" and see a whole bunch of new choices including ICNS.
Save it, drop it in your Resources folder, and you're good to go.

Atom.io with Nuclide : Line marker

Before I reset my mac, While using Atom ( with nuclide plugin installed ) I was able to mark lines. ( clicking on left side of line numbers ).
After resetting my mac and installing Atom, I can't find that option. I also tried many Atom plugins but I couldn't find it. Please see the screenshot attached bellow ( I've putted dots on image to show what was it look like ).
Do you know the option / plugin name?
Thanks in advance!
This is from the Nuclide plugin and it's a Breakpoint. It's found in the nuclide-debugger feature.
For this to work, make sure the nuclide-debugger feature is active in Nuclide's config (Settings » Packages » Nuclide):
To add a breakpoint to a line, click the gutter (as you tried), or press F9.
Too late answer but still useful.
install: atom-ide-ui

Show folder in the tree view in Atom

When I am using rubymine, I can open a panel with ctrl+shift+n and enter something like "users/" and it will show me the users folder in the tree view on the left, how can I do the same in Atom editor? I can open files with ctrl + p, but I can't find anything about going to the folder.
It looks like this functionality is currently not available in Atom. Some related information:
You can reveal the currently edited file in the Tree View using the menu entry Packages > Tree View > Reveal Active File or using the assigned keyboard shortcut (on OS X Cmd+Shift+\)
There's a Tree View Filter package, which seems to be similar to what you're looking for.
The Tree View Search Bar package allows to search the tree view's content.
There's an open issue on the Tree View package to add search capabilities, but it has not been implemented yet.
Looks available to me?
tree-view:reveal-active-file
Cmd + |
Try Shortcuts : ctrl \ or cmd \ to open/close the tree view
if still not opening then check your .atom/config.cson
and check disabledPackages and remove tree-view from it.
and restart your atom again.
if still not open then install it again
https://atom.io/packages/tree-view
NOTE : sometimes it happens if you uninstalled Nuclide package
Had a similar issue after I installed the nuclide.
The problem was that the package disables the standard tree view.
Solution:
Go to Atom Preference > Packages
Enable core Package tree-View
To do this select Atom > Preferences. When your settings show up, click on Packages in the left hand column. Search for the installed package, tree-view. Once it comes up, click on Settings and then uncheck the option Hide VCS Ignored Files.

Resources