git config --global credential.helper osxkeychain
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
This is the at-rule-no-unknown rule provided by vscode's built-in list. | |
In order to get rid of it you need to do the following: | |
1. Install stylelint extension code --install-extension stylelint.vscode-stylelint | |
2. Install stylelint recommended config npm install stylelint-config-recommended --save-dev | |
3. Add these two lines in your vscode USER SETTINGS |
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
I installed mkcert: | |
brew install mkcert | |
brew install nss # if you use Firefox | |
mkcert -install | |
Then, in your project directory: | |
mkcert 0.0.0.0 localhost 127.0.0.1 ::1 |
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
#How to remove your SSH public/private keys, recreate them, and then add your newly created public key to the servers and online services you use. | |
#Remove your SSH public/private keys: | |
rm ~/.ssh/id_rsa* | |
#Recreate the keypair, choosing a new passphrase: | |
ssh-keygen -t rsa -f ~/.ssh/id_rsa | |
#Add the newly created private key to your OS X Keychain to store the passphrase and manage unlocking it automatically: | |
ssh-add -K ~/.ssh/id_rsa |
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
sudo npm cache clean -f | |
sudo npm install -g n | |
sudo n stable |
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
cordova run ios --buildFlag='-UseModernBuildSystem=0' | |
As dpogue pointed out, cordova fixed this issue with the commit | |
92a62997adb3c8512328d5a0ae42fe5d156291f1 | |
which is in the master branch of their iOS platform repository. | |
To benefit from this fix, you'll have to install the latest dev version like this |
cd ~/Library/Application\ Support/TorBrowser-Data/Tor
vim torrc
You find it stopped
docker ps -a
You can simply start it using below command:
docker start webserver
EDIT: Alternatives If you want to start the container with below command each time,
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
#!/bin/bash -e | |
clear | |
echo "============================================" | |
echo "WordPress Install Script" | |
echo "============================================" | |
echo "Database Name: " | |
read -e dbname | |
echo "Database User: " | |
read -e dbuser | |
echo "Database Password: " |
On Mac OS X (Leopard), the Apache HTTP Server runs under the user account, _www which belongs to the group _www. To allow WordPress to configure wp-config.php during installation, update files during upgrades, and update the .htaccess file for pretty permalinks, give the server write permission on the files.
One way to do this is to change the owner of the wordpress directory and its contents to _www. Keep the group as staff, a group to which your user account belongs and give write permissions to the group.
$ cd //Sites/
NewerOlder