- Go to "Keychain Access"
- Double click the Private Key under the certificate use to code sign your App
- Add "Xcode" to "Always allows these applications:" under the "Access Control" section list.
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
var arr1 = [ | |
{ | |
"prop1": "value1", | |
"prop2": "value2", | |
}, | |
{ | |
"prop1": "value3", | |
"prop2": "value4", | |
}, | |
{ |
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 pkill coreaudiod |
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
# To use nvm with brew, uncomment the line below | |
. "$(brew --prefix nvm)/nvm.sh" --no-use | |
export NODE_BINARY=$(command -v node) |
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
# add to ~/.ssh/config | |
Host gitlab.com | |
UpdateHostKeys no |
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 nano /etc/hostname | |
sudo nano /etc/hosts | |
sudo reboot |
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
find . -type d -exec rm -rf {} \; |
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
const formatMemoryUsage = (data) => `${Math.round(data / 1024 / 1024 * 100) / 100} MB`; | |
const memoryData = process.memoryUsage(); | |
const memoryUsage = { | |
rss: `${formatMemoryUsage(memoryData.rss)} -> Resident Set Size - total memory allocated for the process execution`, | |
heapTotal: `${formatMemoryUsage(memoryData.heapTotal)} -> total size of the allocated heap`, | |
heapUsed: `${formatMemoryUsage(memoryData.heapUsed)} -> actual memory used during the execution`, | |
external: `${formatMemoryUsage(memoryData.external)} -> V8 external memory`, | |
}; |
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
// launch.json for Chrome | |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "chrome", | |
"request": "launch", | |
"name": "Debug with Chrome", | |
"url": "http://localhost:4000", | |
"webRoot": "${workspaceFolder}/app" |
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
# (Optional) unset previous configuration | |
git config --global --unset gpg.format | |
# List all PGP Keys | |
gpg --list-secret-keys --keyid-format=long | |
# ------------------------------------ | |
# sec 4096R/3AA5C34371567BD2 2016-03-10 [expires: 2017-03-10] | |
# uid Hubot <[email protected]> | |
# Set signing key by key-id |