openapi-generator version
openapi-generator help
openapi-generator list
openapi-generator help generateopenapi-generator generate -g spring -i api.yml -o build/spring_server
openapi-generator generate -g php -i api.yml -o build/php_client| \definecolor{delim}{RGB}{20,105,176} | |
| \definecolor{numb}{RGB}{106, 109, 32} | |
| \definecolor{string}{rgb}{0.64,0.08,0.08} | |
| \lstdefinelanguage{json}{ | |
| numbers=left, | |
| numberstyle=\small, | |
| frame=single, | |
| rulecolor=\color{black}, | |
| showspaces=false, |
| #!/bin/bash | |
| function usage() { | |
| ( | |
| echo "usage: $0 <auth-token> <group-address> <mbox-dir>" | |
| echo "To generate an auth token go to https://developers.google.com/oauthplayground/ and get an access token for Google Groups migration" | |
| ) >&2 | |
| exit 5 | |
| } |
| node: Platform built on V8 to build network applications | |
| git: Distributed revision control system | |
| wget: Internet file retriever | |
| yarn: JavaScript package manager | |
| python3: Interpreted, interactive, object-oriented programming language | |
| coreutils: GNU File, Shell, and Text utilities | |
| pkg-config: Manage compile and link flags for libraries | |
| chromedriver: Tool for automated testing of webapps across many browsers | |
| awscli: Official Amazon AWS command-line interface | |
| automake: Tool for generating GNU Standards-compliant Makefiles |
openapi-generator version
openapi-generator help
openapi-generator list
openapi-generator help generateopenapi-generator generate -g spring -i api.yml -o build/spring_server
openapi-generator generate -g php -i api.yml -o build/php_client| # Install command line developer tools | |
| xcode-select --install | |
| # Install Brew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| # Reset brew | |
| brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup | |
| # Install HTTPIE |
You can download whole courses from an array of tutorial sites with the CLI tool youtube-dl. In the example further down I'm using my Pluralsight account to get videos from a course at their site. Here is a list of all supported sites that you can download from with this tool
The flags you have to supply may vary depending on which site you make a request to.
You can get a free 3 month trial to Pluralsight by signing up for free to Visual Studio Dev Essentials
If you're using a high-end bluetooth headset on your Macbook Pro it's likely your mac is using an audio codec which favors battery efficiency over high quality. This results in a drastic degradation of sound, the SBC codec is the likely culprit, read more about it here.
It's quite straightforward to use GitLab Pages to deploy a Storybook instance per branch (and remove it whenever the branch will be removed). And yeah, it's irony to document this in a GitHub Gist 😅
You just need a .gitlab-ci.yml like this one:
stages:
- setup
- build-and-test
- deployment
- pagesHello there.
So, if you are here you probably saw my previous tweet where I asked for tips & tricks on improving the timing on an iOS/React Native app build time.
What will follow was how I mixed those suggestions + some good old GoogleSearch-fu + me deep diving on this for ~2 days.
| #!/bin/bash | |
| # source: https://www.linuxbabe.com/ubuntu/install-resilio-sync-ubuntu-16-04-16-10 | |
| # add resilio source | |
| echo "deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" | sudo tee -a /etc/apt/sources.listdeb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free | |
| # download public keys | |
| wget https://linux-packages.resilio.com/resilio-sync/key.asc | |
| # import key |