- A terminal built on web technologies
- https://github.com/zeit/hyper
- Written in React
- A terminal for a more modern age
- https://github.com/Eugeny/terminus
- Written in Electron + Typescript
- Best color theme: base2tone-sea-dark
/** | |
* @description Checks if JWT Token has expired | |
* @param {string} token | |
* | |
* @return {boolean} | |
*/ | |
const isTokenExpired = token => { | |
/** @type {string[]} */ | |
const parts = token.split("."); | |
/** @type {number} */ |
#!/bin/bash | |
echo "Copying .env file..." | |
if [ ! -f ".env" ]; then | |
scp .env.example .env | |
fi | |
echo "Composer install..." | |
composer install |
Valet Linux
https://cpriego.github.io/valet-linux/
#!/usr/bin/bash | |
# Turn on maintenance mode | |
php artisan down || true | |
# Pull the latest changes from the git repository | |
# git reset --hard | |
# git clean -df | |
git pull origin master | |
# Install/update composer dependecies | |
composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev |