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 / lock-switch-to-signup.html
Created May 22, 2019 22:45 — forked from sandrinodimattia/lock-switch-to-signup.html
Auth0 Lock example that shows how to switch to the Login page when a certain condition is met
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Sign In with Auth0</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html, body { padding: 0; margin: 0; }
@Alexisvt
Alexisvt / angular material
Last active April 1, 2020 17:22 — forked from ivantw08/angular material
A module with all Angular module.
//Simply to import to app.module.ts and start to use all angular
// by this way is easier to maintenance you app.module
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {MatInputModule} from '@angular/material/input';
import {MatAutocompleteModule} from '@angular/material/autocomplete';
import {MatDatepickerModule} from '@angular/material/datepicker';
import {MatFormFieldModule} from '@angular/material/form-field';
import {MatRadioModule} from '@angular/material/radio';
import {MatSelectModule} from '@angular/material/select';
@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"
@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 / 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 / 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.