This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source: http://johnmcostaiii.net/2011/removing-mysql-osx-lion/ | |
sudo rm /usr/local/mysql | |
sudo rm -rf /usr/local/mysql* | |
sudo rm -rf /Library/StartupItems/MySQLCOM | |
sudo rm -rf /Library/PreferencePanes/My* | |
rm -rf ~/Library/PreferencePanes/My* | |
sudo rm -rf /Library/Receipts/mysql* | |
sudo rm -rf /Library/Receipts/MySQL* | |
sudo rm -rf /var/db/receipts/com.mysql.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html2canvas(document.getElementById('editor'), | |
{ | |
onrendered: function (canvas) { | |
doc.dirty = false; | |
// doc.info is the File structure | |
var data = angular.extend({}, doc.info); | |
if (doc.info.editable) { | |
data.content = doc.info.content; | |
data.thumbnail = { | |
// Base 64 URL friendly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
controllersModule.controller('ShareCtrl', ['$scope','appId','doc', function($scope, appId, doc) { | |
var client = new gapi.drive.share.ShareClient(appId); | |
$scope.enabled = function () { | |
return doc.info.id != null; | |
}; | |
$scope.share = function () { | |
client.setItemIds([doc.info.id]); | |
client.showSettingsDialog(); | |
} | |
}]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="switch switch-small" bootstrap-switch="sync"> | |
<input id="syncswitch" type="checkbox" /> | |
</div> | |
module.directive('bootstrapSwitch', function() { | |
return { | |
restrict:'A', | |
scope: { | |
sync: true | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
HTML | |
--- | |
<div id="overlay" class="sign-in" ng-controller="OverlayCtrl" ng-show="loading"> | |
<div class="loading"> | |
<img src="/img/loading.gif"> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
HTML | |
--- | |
<div id="overlay" class="sign-in" ng-controller="OverlayCtrl" ng-show="loading"> | |
<div class="loading"> | |
<img src="/img/loading.gif"> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
HTML | |
--- | |
<div id="overlay" class="sign-in" ng-controller="OverlayCtrl" ng-show="loading"> | |
<div class="loading"> | |
<img src="/img/loading.gif"> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
HTML | |
--- | |
<div id="overlay" class="sign-in" ng-controller="OverlayCtrl" ng-show="loading"> | |
<div class="loading"> | |
<img src="/img/loading.gif"> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
HTML | |
--- | |
<div id="overlay" class="sign-in" ng-controller="OverlayCtrl" ng-show="loading"> | |
<div class="loading"> | |
<img src="/img/loading.gif"> | |
</div> | |
</div> |
NewerOlder