Skip to content

Instantly share code, notes, and snippets.

View emiliojva's full-sized avatar
💭
Happy

Emílio Vieira emiliojva

💭
Happy
View GitHub Profile
@topdown
topdown / CI_phpStorm.php
Created January 29, 2012 05:21
Code Completion for CodeIgniter in phpStorm
<?php die('This file is not really here!');
/**
* ------------- DO NOT UPLOAD THIS FILE TO LIVE SERVER ---------------------
*
* Implements code completion for CodeIgniter in phpStorm
* phpStorm indexes all class constructs, so if this file is in the project it will be loaded.
* -------------------------------------------------------------------
* Drop the following file into a CI project in phpStorm
* You can put it in the project root and phpStorm will load it.
@andyshinn
andyshinn / composer.json
Last active February 18, 2024 12:05
Docker Compose PHP Composer Example
{
"require": {
"mfacenet/hello-world": "v1.*"
}
}
@robertopc
robertopc / bootstrap-elementary.sh
Last active November 26, 2016 13:25
Bootstrap Elementary Linux
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 &&
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list &&
sudo add-apt-repository -y ppa:noobslab/indicators &&
sudo add-apt-repository -y ppa:noobslab/apps &&
sudo add-apt-repository -y ppa:nilarimogard/webupd8 &&
sudo add-apt-repository -y ppa:mpstark/elementary-tweaks-daily &&
sudo add-apt-repository -y ppa:webupd8team/java &&
sudo add-apt-repository -y ppa:transmissionbt/ppa &&
sudo apt-add-repository -y ppa:umang/indicator-stickynotes &&
sudo add-apt-repository -y ppa:yannubuntu/boot-repair &&
@kirklewis
kirklewis / install-couchdb.md
Created August 21, 2016 12:41
Install CouchDB and Futon

Installation

Linux (Ubuntu Distros)

# Get the latest package info
sudo apt-get update

# Fetch files for managing vendor source
sudo apt-get install software-properties-common -y
@robertopc
robertopc / ubuntu-server-setup-16.04-LAMP.md
Last active March 6, 2018 19:00 — forked from Otienoh/ubuntu-server-setup-16.04-LAMP.md
LAMP Server setup for Ubuntu 16.04 on Digital Ocean

Server setup for Ubuntu 16.04 on Digital Ocean

The setup installs the following software:

The setup installs the following software:

  • Apache
  • MySQL
  • PHP
  • Node
@flyingluscas
flyingluscas / UsingFakerInPT-BR.md
Last active July 27, 2024 13:13
Utilizando Faker em pt-BR

Utilizando Faker em pt-BR

Acesse o seu arquivo app/Providers/AppServiceProvider.php, e no método register adicione o seguinte :

/**
 * Register any application services.
 *
 * @return void
 */
@emiliojva
emiliojva / Github Webhook Tutorial.md
Created October 7, 2022 18:15 — forked from jagrosh/Github Webhook Tutorial.md
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings