Skip to content

Instantly share code, notes, and snippets.

View Alexisvt's full-sized avatar
🎯
Focusing

Alexis Villegas Torres Alexisvt

🎯
Focusing
  • San Jose, Costa Rica
View GitHub Profile
@Alexisvt
Alexisvt / docker_compose_cheatsheet.md
Created November 10, 2019 23:46 — forked from jonlabelle/docker_compose_cheatsheet.md
Docker Compose Cheatsheet
@Alexisvt
Alexisvt / ssh.md
Last active November 8, 2021 21:53 — forked from bradtraversy/ssh.md
SSH & DevOps Crash Course Snippets

SSH Cheat Sheet

This sheet goes along with this SSH YouTube tutorial

Login via SSH with password (LOCAL SERVER)

$ ssh [email protected]

Create folder, file, install Apache (Just messing around)

$ mkdir test

$ cd test

@Alexisvt
Alexisvt / rm_mysql.md
Created November 8, 2019 23:05 — forked from vitorbritto/rm_mysql.md
Remove MySQL completely from Mac OSX

Remove MySQL completely

  1. Open the Terminal

  2. Use mysqldump to backup your databases

  3. Check for MySQL processes with: ps -ax | grep mysql

  4. Stop and kill any MySQL processes

  5. Analyze MySQL on HomeBrew:

brew remove mysql

@Alexisvt
Alexisvt / docker-help.md
Last active November 12, 2019 21:15 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@Alexisvt
Alexisvt / settings.json
Last active December 23, 2019 14:07
Another VSCode configuration to work with Vue.js or Nuxt.js. If you want to see the original file go to this post: https://alligator.io/vuejs/eslint-vue-vetur/
{
"vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.defaultFormatter.html": "prettier",
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
// put all of these as false if you didn't start the project
"editor.formatOnSave": true,
"typescriptHero.imports.insertSemicolons": false,
"typescriptHero.imports.organizeOnSave": true,
"editor.formatOnPaste": true,
// end
@Alexisvt
Alexisvt / apple-touch-startup-image.html
Created September 9, 2019 03:25 — forked from EvanBacon/apple-touch-startup-image.html
An example of full iOS PWA startup image (splash screen) support.
<html>
<head>
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="apple-mobile-web-app-title" content="Expo" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<link
rel="apple-touch-icon"
sizes="180x180"
@Alexisvt
Alexisvt / global-component-loader.js
Created September 2, 2019 14:29
Plugin that load all the Vue components stored in the components folder in Nuxt project
import _ from 'lodash'
import Vue from 'vue'
const components = require.context('@/components', false, /[A-Z]\w+\.(vue)$/)
_.forEach(components.keys(), (fileName) => {
const componentConfig = components(fileName)
const componentName = fileName
.split('/')
.pop()
.split('.')[0]
@Alexisvt
Alexisvt / settings.json
Last active September 2, 2019 15:19 — forked from agcty/settings.json
Nuxt's VSCode settings file
{
"eslint.validate": [
{
"language": "vue",
"autoFix": true
},
{
"language": "javascript",
"autoFix": true
},
@Alexisvt
Alexisvt / .zshrc
Created July 4, 2019 17:33
.zshrc configuration file configured to work with Android and Flutter
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/aleville3/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
@Alexisvt
Alexisvt / launch.json
Created July 1, 2019 20:10 — forked from marshallswain/launch.json
Setting up Visual Studio Code to work with Nuxt.js
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "npm run dev",
"runtimeExecutable": "npm",
"windows": {
"runtimeExecutable": "npm.cmd"