What is the best way to backup Brackets plugins? - brackets

I know the plugins are installed in
Mac: ~/Library/Application Support/Brackets/extensions/user
Win: C:\Users\\AppData\Roaming\Brackets\extensions\user
Linux: ~/.config/brackets/extensions/user
Otherwise, I can view the location from the menu "Help > Show Extensions Folder".
Is there any better solution than to zip and move it?

Install "Extensions Bulk Installer"
Open up Extensions Bulk Install Shortcut – Ctrl(Cmd)+Alt+M on your version of Brackets, which you want to export.
Click on Export to File
Switch Computers and Import

Related

Blackberry 10 Webworks SDK command line generate build with package and signing

So I already was able to build the .bar file, but now I want to build the .bar file to be sent to the store with the package and signing.
So far I've tried this.
bbwp C:\xampp\htdocs\maddash\packaged\maddash.zip -g (password) -b 1.0.0 -o C:\xampp\htdocs\maddash\packaged\
and my error is..
failed to find signing key file
Did you register your keys from RIM and put them in the default location (%HOMEPATH%\Local Settings\Application Data\Research In Motion for Windows)
Did you update your SDK? Then check your keys in bbwp\bin and rename sigtool to author and move your file to the default location.
If not sufficient, try installing the native IDE and use the UI for managing the keys in the preferences
My personal opinion about this problem.
First. If you have your signing key, great for you, because BB changed the system of signing apps. (Now they use BBtokenID, related with your BBID and, in this moment, the webworks framework is the only one that doesn't support this tokens) (Come on, Hip, Hip, Hurrah! :P).
According to your command, one comment
bbwp C:\xampp\htdocs\maddash\packaged\maddash.zip -g (password) -b 1.0.0 -o C:\xampp\htdocs\maddash\packaged\
In the first paramenter yoy must add the FOLDER of your source code, not your zipped code.
If you have your keys where it corresponds, it will generate a bar file signed.
NOW, you must package it in a zip file. If you need more help with that, tell me :)

How to enable Source Control in existing iOS project?

As in the topic - i have a project that doesn't have Source Control enabled, so how (and if) can i enable it now? I use Snapshots but the project became a big one, and now i need some more "pro" tools. I'm still rather an xcode beginner, so please explain it like i was a cow.
First off you'll have to install the command line tools for github. You can do so from this link http://mac.github.com/, then either during setup it will ask you to install command line tools, or if it doesn't, you can do it from the preferences menu. Once this is completed, you will be able to follow the instructions on this website to convert your project: conversion tutorial. After all that is done, this website explains everything you could possibly want to know about Source Control and all you can do with it.
EDIT
If you do not want to install github for the command line tools, you can install Homebrew, which is a package manager (macs equivalent to apt-get), then run brew install git for the latest version of git.
After doing a git init,go you the projects tab in the Organizer (top right corner in xcode) There remove the reference to your project and restart xcode to update the changes. Removing the project from Organizer will not delete any files, it will only clear the caches.
I am not sure how to do this from within XCode, but if you are on OSX you can easily initialize git from the command line (within Terminal). From the base directory of the project invoke git init.
Once the project is associated with a git repository, XCode should recognize that and you will see the project listed among the repositories in XCode's Organizer (available from the Window -> Organizer menu)
To upload the project into github, look at the directions here: https://help.github.com/articles/create-a-repo

How to install phonegap-2.7.0 for ios?

I have downloaded the phonegap-2.7.0 from http://phonegap.com/,but i don't know how to install it,(There is a Makefile,but nothing happened when execute the "make" command in the terminal,i have already quit the xcode),would anyone help me?
http://docs.phonegap.com/en/2.7.0/guide_getting-started_ios_index.md.html
These instructions are pretty clear, even if the directory tree you get after extracting the zip file is not exactly the one they show.
After installing all the requirements:
extract the content of phonegap-2.7.0.zip wherever you want
go to lib/ios/bin and run the 'create' command with the suggested parameters.
open the finder and go to the directory you used as first parameter of the 'create' command
doubleclick the file with extension xcodeproj to open XCode and the project will be automatically created
To open the finder in the right folder you can use the command line:
open ~/workspace/yourProject
or
cd ~/workspace/yourProject
open `pwd`
my 2c

How to remove an installed package in Emacs (ver 24+)?

I'd like to remove several packages that I've installed. When I invoke package-list-packages, I notice that there is a 'd' (mark for deletion) command and an 'x' (execute). However, it seems like this simply removes the package name/description from the list and not the actual files under ~/.emacs.d/elpa. What am I doing wrong or missing? Surely there must be some way to remove installed packages.
The command package-menu-mark-delete (key 'd') followed by package-menu-execute (key 'x') worked for me.
Also here is very good introduction: Package management in emacs - The good, the bad and the ugly
I've noticed that all the installed packages end up at the bottom of the list. If a new version of the package you want to uninstall is available, it will occur twice in the *Packages* buffer, once for the new version, listed as available, and a second time, listed as installed, for the old version. Only the version listed as installed can be marked for deletion using d and subsequently removed using x, answering yes to the question in the mini-buffer. That removes the actual files in the elpa directory for me.
It happened on me when the update crack. It ends up with both new and old packages in elpa directory. You can not install or delete in emacs package management. You can just delete the package under elpa directory directly. Then the emacs package works again.

/developer directory is missing in Lion Xcode 4.3

I removed an older version of Xcode following the instructions in How to fully remove Xcode 4 and then installed version 4.3 from AppStore. But now /developer directory is missing.
I can find the same directory structure in /applications/xcode.app/contents/Developer/. Is /developer just a link to that directory and how can I create it again?
According to the XCode 4.3 release notes, the /developer directory is no longer needed.
/Developer No Longer Exists
The simplification afforded by repackaging
Xcode 4.3 as a single app bundle eliminates the need for the
/Developer directory containing prior versions of Xcode. As a result,
the Install Xcode application and the uninstall-devtools command line
script are also no longer needed.
The /Developer directory is no longer used by Xcode as jonkroll noted.
If you are looking for command line tools, you can install them using the Components tab of the Downloads preferences panel.
Yes you're right, now /Developer directory is embedded into XCode.app. So you have to make an alias to this new directory or change your path to this new folder.
One easy way to get to it is to right click on an existing framework that you have imported in your project; then choose "open in finder". Then you can hit option + the up arrow key on your key board to traverse up to the developer folder (e.g if you want to peruse the contents of your simulator documents folder etc...) & make a short cut to it for direct navigation..
Switching directories worked for me:
sudo xcode-select -switch /

Resources