Skip to content

Instantly share code, notes, and snippets.

View aqlx86's full-sized avatar
🦊
Focusing

Arnel Labarda aqlx86

🦊
Focusing
View GitHub Profile
@aqlx86
aqlx86 / .gitconfig
Last active July 2, 2019 06:48 — forked from gokure/.gitconfig
dot gitconfig file
[user]
name = <Your name>
email = <Your email>
[alias]
co = checkout
ci = commit
st = status
br = branch -v
rt = reset --hard
df = diff
@aqlx86
aqlx86 / steps.md
Created March 1, 2017 04:31 — forked from undefinedzain/steps.md
Add Custom Facade on Laravel 5.3
  1. Create a custom class

?>

@aqlx86
aqlx86 / install-comodo-ssl-cert-for-nginx.rst
Created August 23, 2016 07:53 — forked from bradmontgomery/install-comodo-ssl-cert-for-nginx.rst
Steps to install a Comodo PositiveSSL certificate with Nginx.

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert

@aqlx86
aqlx86 / behat-phantomjs-webdriver.md
Created June 23, 2016 07:30 — forked from callado4/behat-phantomjs-webdriver.md
Instructions on how to make behat (with mink) use the phantomjs webdriver to run headless browser tests

Making behat use phantomjs for the tests

If you want to run it on phantomjs (a headless browser) you can add this profile to your behat.yml and you need phantomjs >= 1.8.0

phantomjs:
    extensions:
        Behat\MinkExtension\Extension:
            base_url: http://dev.local
            goutte: ~
            selenium2:
 wd_host: "http://localhost:8643/wd/hub" 
@aqlx86
aqlx86 / install.md
Created March 11, 2016 09:58 — forked from zaherg/install.md
a small tips to install latest nginx , php 5.5 & laravel 4.1 since that Laravel 4.1 has been released, i have removed the line which explain how to install laravel from dev branch using composer.

Creating Your Laravel & nginx Server

We will install Larave 4.1 with PHP5.5 & Latest nginx on Ubuntu 12.04.3 x64.

updating your system

apt-get update && apt-get upgrade
adduser [username]
usermod -aG sudo [username]
apt-get -y install git
@aqlx86
aqlx86 / mac-apps.md
Created November 8, 2015 16:44 — forked from erikreagan/mac-apps.md
Mac developer must-haves

Mac web developer apps

This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.

— Erik

### USAGE
###
### ./ElasticSearch.sh 1.5.0 will install Elasticsearch 1.5.0
### ./ElasticSearch.sh 1.4.4 will install Elasticsearch 1.4.4
### ./ElasticSearch.sh will fail because no version was specified (exit code 1)
###
### CLI options Contributed by @janpieper
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch
### ElasticSearch version
#!/bin/sh
git filter-branch --env-filter '
OLD_EMAIL="your-old-email@example.com"
CORRECT_NAME="Your Correct Name"
CORRECT_EMAIL="your-correct-email@example.com"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
################################
gource commands
################################
# basic command for big and long projects
gource --max-user-speed 500 --seconds-per-day 0.05 --file-idle-time 10 -e 0.005 -f --max-files 300 --hide-files
# some easy to understand commands
# for output file
--output-ppm-stream ~/ppm/ppm-kohana