Chuyển đến nội dung chính

Bài đăng

Xcode duplicate/delete line key shortcut

Follow this tutorial http://stackoverflow.com/questions/551383/xcode-duplicate-delete-line sudo chmod 666 / Applications / Xcode . app / Contents / Frameworks / IDEKit . framework / Resources / IDETextKeyBindingSet . plist     sudo chmod 777 / Applications / Xcode . app / Contents / Frameworks / IDEKit . framework / Resources /  Open /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources/IDETextKeyBindingSet.plist with Xcode himself and add this new entry :   deleteToBeginningOfLine :, moveToEndOfLine :, deleteToBeginningOfLine :, deleteBackward :, moveDown :, moveToBeginningOfLine : Restart Xcode and open Xcode > Preferences > KeyBindings. Find your macro and define a shortkey :

startup mongod when mac osx start

create new plist named: org.mongo.mongod.plist in /Library/LaunchDaemons/ <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>org.mongo.mongod</string> <key>RunAtLoad</key> <true /> <key>ProgramArguments</key> <array> <string>/usr/local/bin/mongod</string> <string>--logpath</string> <string>/var/log/mongodb.log</string> </array> </dict> </plist> ensure that file mongodb.log already exist or you should create empty file ( touch /var/log/mongodb .log or vim /var/log/mongodb.lo g) chown root:wheel /Library/LaunchDaemons/org.mongo.mongod.plist launchctl load /Library/LaunchDaemons/org .mongo.mongod.plist la...

Balsamiq key

Name: SoftVnn eJzzzU/OLi0odswsqgnOTysJy8ursUQCNc41hjV+7q5+AClADYE= Name: tuan.cse06 - SoftVnn eJzzzU/OLi0odswsqikpTczTSy5ONTBT0FUIzk8rCcvLq7FEAjXONYY1f u6ufgD21RF1