Since Chrome apps are now being deprecated. Download postman from https://dl.pstmn.io/download/latest/linux
Although I highly recommend using a snap
sudo snap install postman
tar -xzf Postman-linux-x64-5.3.2.tar.gz| // npm i axios stream-concat | |
| import { pipeline } from 'stream/promises' | |
| import StreamConcat from 'stream-concat' | |
| import axios from 'axios' | |
| const API_01 = 'http://localhost:3000' | |
| const API_02 = 'http://localhost:4000' | |
| const streams = (await Promise.all([ | |
| axios({ |
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| export ANDROID_HOME=~/Android/Sdk | |
| export PATH="$PATH:$ANDROID_HOME/tools" | |
| export PATH="$PATH:$ANDROID_HOME/platform-tools" | |
| # Path to your oh-my-zsh installation. | |
| export ZSH="/Users/diegofernandes/.oh-my-zsh" | |
| export PATH="$PATH:/usr/local/bin" |
| // Future versions of Hyper may add additional config options, | |
| // which will not automatically be merged into this file. | |
| // See https://hyper.is#cfg for all currently supported options. | |
| module.exports = { | |
| config: { | |
| // Choose either "stable" for receiving highly polished, | |
| // or "canary" for less polished but more frequent updates | |
| updateChannel: 'canary', |
Since Chrome apps are now being deprecated. Download postman from https://dl.pstmn.io/download/latest/linux
Although I highly recommend using a snap
sudo snap install postman
tar -xzf Postman-linux-x64-5.3.2.tar.gz| const _ = require('lodash') | |
| function genrows(groups, groupKey) { | |
| return _.toPairs(groups) | |
| .map(([key, data]) => ({[groupKey]: key, data})) | |
| } | |
| function gengroups(arr, iteratee, key) { | |
| const grouped = _.groupBy(arr, iteratee) | |
| return genrows(grouped, key) |
| public class MyBehavior : MonoBehaviour { | |
| // This will store the string value | |
| [StringInList("Cat", "Dog")] public string Animal; | |
| // This will store the index of the array value | |
| [StringInList("John", "Jack", "Jim")] public int PersonID; | |
| // Showing a list of loaded scenes | |
| [StringInList(typeof(PropertyDrawersHelper), "AllSceneNames")] public string SceneName; | |
| } |