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 / 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 / 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 / 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 / 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 / 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 / docker_compose_cheatsheet.md
Created November 10, 2019 23:46 — forked from jonlabelle/docker_compose_cheatsheet.md
Docker Compose Cheatsheet
@Alexisvt
Alexisvt / git-stash.md
Last active December 26, 2019 02:21 — forked from curtismckee/git-stash.md
Git Stash Cheatsheet

git stash list

  • Lists all stashes on stack.

git stash push -m "message"

  • Stash changes, where "message" is your note for that stash.

git stash apply stash@{0}

  • Applies the changes from stash but does not delete from stack.
@Alexisvt
Alexisvt / readme.md
Last active January 9, 2020 19:44
Angular Universal Cheatsheet

General commands

How to add SSR support to any existing Angular App

The next command will add the neccesary logic to activate the SRR feature on any Angular app.

npx ng generate universal --client-project your-project-name 
@Alexisvt
Alexisvt / jsconfig.json
Created January 23, 2020 11:51
A configuration file for VSCode to work with Node.js projects
{
"compilerOptions": {
"target": "es2015",
"allowSyntheticDefaultImports": true,
// why set module property https://github.com/Microsoft/vscode/issues/73118#issuecomment-488252519
"module": "commonjs",
"checkJs": true
},
"exclude": ["node_modules"]
}