Skip to content

Instantly share code, notes, and snippets.

View kszyrvercobrador's full-sized avatar
🚀
Working from home

Kszyr Ver Cobrador kszyrvercobrador

🚀
Working from home
  • Philippines
View GitHub Profile
@kszyrvercobrador
kszyrvercobrador / save.sh
Created January 12, 2023 02:43
Save and commit changes (Git)
#!/bin/bash
git add -A; git commit -m "$(date +"Update: %d/%m/%Y %H:%M:%S")"; git push
# ----------------------
# Git Aliases
# ----------------------
alias ga='git add'
alias gaa='git add .'
alias gaaa='git add --all'
alias gb='git branch'
alias gc='git commit'
alias gcm='git commit --message'
alias gco='git checkout'
@kszyrvercobrador
kszyrvercobrador / imagemagick.md
Created June 19, 2020 12:25
How to install imagemagick and php ext on mac

First, install pkg-config and imagemagick itself

brew install pkg-config imagemagick

Next up, use pecl to get the PHP extension compiled.

pecl install imagick
@kszyrvercobrador
kszyrvercobrador / php-imagemagick.md
Last active May 16, 2021 06:30
How to install imagemagick php extension on Ubuntu 18.04

Installing ImageMagick with Apt

sudo apt install imagemagick

Installing Imagick PHP Extension

sudo apt install php-imagick