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
const username = pm.environment.get("authUser"); | |
const password = pm.environment.get("authPass") | |
const options = { | |
url: 'https://api.be/v1/auth/token', | |
method: 'POST', | |
header: { | |
'Authorization': 'Basic ' + btoa(username + ':' + password) | |
} | |
}; |
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
# software | |
alias cat="bat" | |
alias ls="exa" | |
alias pstorm="phpstorm" | |
alias ea="pstorm ~/.zsh_aliases" | |
# folders | |
alias pre="cd ~/Documents/Projects" | |
# git |
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
// vue.config.js | |
module.exports = { | |
filenameHashing: false, | |
configureWebpack: { | |
output: { | |
filename: 'js/app.build.js', | |
}, | |
optimization: { | |
splitChunks: 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
# generate self signed certificate for local environments | |
openssl genrsa -des3 -passout pass:x -out host.key 2048 | |
openssl rsa -passin pass:x -in host.key -out server.key | |
openssl req -new -key server.key -out server.csr | |
openssl x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt |
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
import React from 'react'; | |
export default class ${NAME} extends React.Component{ | |
render() { | |
return( | |
<div /> | |
) | |
} | |
} |