Install mkweb ( https://manz.dev/software/mkweb/ )
sudo apt-get install curl jq
sudo curl -s https://manz.dev/download/mkweb -o /usr/local/bin/mkweb
sudo chmod +x /usr/local/bin/mkweb
mkweb project-name
cd project-name
sudo apt-get install curl jq
sudo curl -s https://manz.dev/download/mkweb -o /usr/local/bin/mkweb
sudo chmod +x /usr/local/bin/mkweb
mkweb project-name
cd project-name
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{58ad8b0c-3ef8-5f4d-bc6f-13e4c00f2530}", | |
// To learn more about global settings, visit https://aka.ms/terminal-global-settings | |
"copyOnSelect": true, | |
"confirmCloseAllTabs": true, | |
"copyFormatting": false, | |
"largePasteWarning": true, |
#!/bin/bash | |
if [ "$1" == "" ]; then | |
echo "Syntax: create-lit-element <folder>" | |
exit | |
fi | |
if [ -x git ]; then | |
echo "Command git not found. Install with sudo apt-get install git" | |
exit |
# Actualizamos los repositorios de apt-get | |
apt-get update | |
# Instalamos (si no los teníamos ya, sudo, curl, vim y nano) | |
apt-get install sudo curl vim nano | |
# Este paso descarga el instalador de node 13 y lo ejecuta | |
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash - | |
# Este paso puedes obviarlo (sólo lo utilice para crear un usuario sin permisos) |
# Por defecto, npm instala en una ruta (habitualmente /usr) todos los comandos CLI de NPM instalados con "npm install -g" | |
# Con el siguiente comando, puedes ver donde está guardando NPM en tu sistema: | |
> npm config get prefix | |
# Si te aparece /usr, vamos a cambiarlo por ~/.npm-global ( /home/TUUSUARIO/.npm-global ) para evitar problemas de permisos | |
# PASOS PARA SOLUCIONAR EL PROBLEMA | |
# PASO 1: Creamos nueva carpeta donde guardaremos toda la información global de NPM | |
mkdir ~/.npm-global |
#!/bin/bash | |
# Colors | |
BLUE=$(printf '\033[34m') | |
YELLOW=$(printf '\033[33m') | |
PINK=$(printf '\033[35m') | |
CYAN=$(printf '\033[36m') | |
GREEN=$(printf '\033[32m') | |
RED=$(printf '\033[31m') | |
RESET=$(printf '\033[m') |
#!/bin/bash | |
# Script for prepare Ubuntu/Debian distro | |
# 2019 - Manz (terminaldelinux.com) | |
# | |
# Prerequisites: | |
# - curl sudo bash installed | |
# - script executed as non-root (but sudo permissions) | |
# | |
# --gui Install GUI software |
export DISPLAY=:0 | |
# Copy/Paste | |
alias pbcopy='xsel --clipboard --input' | |
alias pbpaste='xsel --clipboard --output' | |
# Top Commands | |
alias topcommands='history | tr -s " " | cut -d" " -f3 | sort | uniq -c | sort -n | tail -20' | |
# Javascript |