-
Open the Terminal
-
Use
mysqldumpto backup your databases -
Check for MySQL processes with:
ps -ax | grep mysql -
Stop and kill any MySQL processes
-
Analyze MySQL on HomeBrew:
brew remove mysql
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0" /> | |
| <title>iOS 8 position: fixed; input element workaround</title> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; |
This file contains hidden or 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
| /* | |
| * 打印 JavaScript 函数调用堆栈 | |
| */ | |
| function printCallStack() { | |
| var i = 0; | |
| var fun = arguments.callee; | |
| do { | |
| fun = fun.arguments.callee.caller; | |
| console.log(++i + ': ' + fun); | |
| } while (fun); |
https://github.com/djvirgen/virgen-acl Simple and elegant, create your own checks. No middleware?
https://github.com/OptimalBits/node_acl Use as middleware, create your own roles and access. Great choice.
https://github.com/tschaub/authorized Similar to connect roles... but a bit more robust? you can create roles and action, and associate many roles with that action
This file contains hidden or 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
| ____________ | |
| < beavis.zen > | |
| ------------ | |
| \ __------~~-, | |
| \ ,' , | |
| / \ | |
| / : | |
| | ' | |
| | | | |
| | | |
by Asim Jalis, MetaProse.com
An interactive shell is useful for quickly trying out different commands. While Ruby, Python, and Clojure come with interactive shells, Perl does not. However, it is easy to create one using this one-liner on Unix systems:
perl -e 'do{print("perl> ");$_x=<>;chomp $_x;print(eval($_x)."\n")}while($_x ne "q")'
This file contains hidden or 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
| # CLOSURES IN RUBY Paul Cantrell http://innig.net | |
| # Email: username "cantrell", domain name "pobox.com" | |
| # | |
| # 翻译: kenshin54 http://kenbeit.com | |
| # I recommend executing this file, then reading it alongside its output. | |
| # 我强烈建议执行此脚本,然后根据它的输出来理解它。 | |
| # | |
| # Alteratively, you can give yourself a sort of Ruby test by deleting all the comments, | |
| # then trying to guess the output of the code! |
This file contains hidden or 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
| Copyright 2012 Shin Suzuki<[email protected]> | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software | |
| distributed under the License is distributed on an "AS IS" BASIS, |
NewerOlder