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 / proto3.md
Created September 4, 2020 17:47 — forked from figassis/proto3.md
Protocol Buffer CheatSheet

Proto3 Cheat Sheet

Information From: https://developers.google.com/protocol-buffers/docs/proto3

A few rules

  • Declaring Message In Protocol Buffer:

  • As you can see, each field in the message definition has a unique number.

  • Field numbers identify fields in message binary format. Should not be changed once message is in use

@Alexisvt
Alexisvt / Search my gists.md
Created January 23, 2020 11:52 — forked from santisbon/Search my gists.md
How to search gists

Enter this in the search box along with your search terms:

Get all gists from the user santisbon.
user:santisbon

Find all gists with a .yml extension.
extension:yml

Find all gists with HTML files.
language:html

@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 / 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 brad@192.168.1.29

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 / 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 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
},