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
{ | |
"name": "openapi-tools", | |
"version": "1.0.0", | |
"main": "index.js", | |
"license": "MIT", | |
"scripts": { | |
"gen:python-flask": "npx openapi-generator generate -i petstore.openapi.yml -g python-flask -o ./server/python-flask", | |
"gen:spring": "npx openapi-generator generate -i petstore.openapi.yml -g spring -o ./server/spring", | |
"gen:nodejs-express-server": "npx openapi-generator generate -i petstore.openapi.yml -g nodejs-express-server -o ./server/nodejs-express-server", | |
"gen:python": "npx openapi-generator generate -i petstore.openapi.yml -g python -o ./client/python", |
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
#!/bin/bash | |
# npm | |
npm install -g --unsafe-perm node-red | |
npm install -g yarn | |
# yarn | |
yarn global add bower | |
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
#!/bin/bash | |
pushd drawio-desktop | |
NODE_ENV=development | |
npm start | |
popd |
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
#!/bin/bash | |
git clone --recursive https://github.com/jgraph/drawio-desktop.git | |
pushd drawio-desktop | |
npm install | |
pushd drawio | |
npm install | |
popd | |
popd |
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
#!/bin/bash | |
tensorboard --logdir ./logs |
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
#!/bin/bash | |
cd ~/ | |
docker run --runtime=nvidia -it --rm -v $(realpath ~/notebooks):/tf/notebooks -p 8888:8888 -p 6006:6006 tensorflow/tensorflow:1.12.0-gpu-py3 |
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
@startuml | |
title GeoJSON | |
hide methods | |
abstract class GeoJson { | |
type : String | |
bbox : Double[0..2n] | |
} | |
class FeatureCollection { |
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
# comments | |
temp=1 |
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
@echo off | |
setlocal enabledelayedexpansion | |
:main | |
pushd %~dp0 | |
rem set arguments | |
set arg1=%1 | |
set arg2=%2 |