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
npm config set strict-ssl false | |
yarn config set strict-ssl false |
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
sudo find / -nouser -exec chown -R $USER {} + |
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
<?php | |
/** | |
* Calculator Class | |
* @author Jeff Yates <hello+gist@jeffyates.com> | |
*/ | |
class Calculator | |
{ | |
public function __call($method, $args) | |
{ | |
$methods = array( |
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
1. Edit ~/Library/Preferences/<preference.plist> | |
2. Open Terminal | |
3. Execute the following commands to clear preference cache from defaults | |
defaults read ~/Library/Preferences/<preference.plist> | |
defaults read <preference.plist> | |
4. Launch application |
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
svn del `find . -type d -name _notes` |
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
<?php | |
printf("<pre>%s</pre>", print_r($array, 1)); |