Skip to content

Instantly share code, notes, and snippets.

View vamuigua's full-sized avatar
💠
KAIZEN 💯

Victor Allen vamuigua

💠
KAIZEN 💯
View GitHub Profile
@vamuigua
vamuigua / interviewitems.MD
Created August 6, 2016 12:41 — forked from KWMalik/interviewitems.MD
My answers to over 100 Google interview questions

##Google Interview Questions: Product Marketing Manager

  • Why do you want to join Google? -- Because I want to create tools for others to learn, for free. I didn't have a lot of money when growing up so I didn't get access to the same books, computers and resources that others had which caused money, I want to help ensure that others can learn on the same playing field regardless of their families wealth status or location.
  • What do you know about Google’s product and technology? -- A lot actually, I am a beta tester for numerous products, I use most of the Google tools such as: Search, Gmaill, Drive, Reader, Calendar, G+, YouTube, Web Master Tools, Keyword tools, Analytics etc.
  • If you are Product Manager for Google’s Adwords, how do you plan to market this?
  • What would you say during an AdWords or AdSense product seminar?
  • Who are Google’s competitors, and how does Google compete with them? -- Google competes on numerous fields: --- Search: Baidu, Bing, Duck Duck Go
@vamuigua
vamuigua / deployment_guide.md
Created February 23, 2022 06:45 — forked from vicgonvt/deployment_guide.md
Deployment Guide for Ubuntu Server from Scratch with Laravel
@vamuigua
vamuigua / deploy.sh
Created May 25, 2022 20:34 — forked from stancl/deploy.sh
Deploy using GitHub actions and SSH to a VPS
#!/bin/sh
set -e
vendor/bin/phpunit
npm run prod
git add .
(git commit -m "Build frontend assets for deployment to production") || true
(git push) || true
@vamuigua
vamuigua / cd.yml
Created May 28, 2022 17:04 — forked from madsem/cd.yml
GitHub Workflows For: Laravel CI with Mysql 8 & Laravel Vapor Deployment
name: Laravel Vapor CD
on:
release:
types: [ published, deleted ]
branches:
- master
jobs:
deploy_release:
runs-on: ubuntu-20.04
@vamuigua
vamuigua / Configuration for Laravel Project on local machine.md
Last active May 31, 2022 05:41
Configuration for Laravel Project on local machine

Configuration for Laravel Project on local machine

  1. Clone project
git clone <project-url>
  1. Move into project
@vamuigua
vamuigua / AppServiceProvider.php
Created June 11, 2022 19:03 — forked from simonhamp/AppServiceProvider.php
A pageable Collection implementation for Laravel
<?php
namespace App\Providers;
use Illuminate\Support\Collection;
use Illuminate\Pagination\LengthAwarePaginator;
class AppServiceProvider extends ServiceProvider
{
public function boot()
@vamuigua
vamuigua / Markdown emoji.md
Last active September 2, 2022 10:33 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@vamuigua
vamuigua / MySQL Import CMD.md
Last active January 10, 2023 08:42
How to import mysql dump using cmd

Method 1:

mysql -u <username> -p <database_name> < import.sql

Method 2:

  1. Open mysql on cmd
@vamuigua
vamuigua / GitCommitBestPractices.md
Created March 27, 2023 06:35 — forked from luismts/GitCommitBestPractices.md
Git Tips and Git Commit Best Practices

Git Commit Best Practices

Basic Rules

Commit Related Changes

A commit should be a wrapper for related changes. For example, fixing two different bugs should produce two separate commits. Small commits make it easier for other developers to understand the changes and roll them back if something went wrong. With tools like the staging area and the ability to stage only parts of a file, Git makes it easy to create very granular commits.

Commit Often

Committing often keeps your commits small and, again, helps you commit only related changes. Moreover, it allows you to share your code more frequently with others. That way it‘s easier for everyone to integrate changes regularly and avoid having merge conflicts. Having large commits and sharing them infrequently, in contrast, makes it hard to solve conflicts.

@vamuigua
vamuigua / Install PHP 7.4 on Ubuntu.md
Last active April 18, 2023 13:41
Install PHP 7.4 on Ubuntu

To install php7.4 on Ubuntu run the following commands in order:

sudo apt-get update
sudo apt install -y software-properties-common ca-certificates lsb-release apt-transport-https