Skip to content

Instantly share code, notes, and snippets.

View trollfalgar's full-sized avatar
🏠
Working from home

Tiago Oliveira trollfalgar

🏠
Working from home
View GitHub Profile

How to install Laravel globally in Ubuntu

===================================================================

Open your terminal using Ctrl+Alt+T and type the following commands

Step 1: Install Laravel

composer global require "laravel/installer"
@sebmellen
sebmellen / tailwind.config.js
Last active November 4, 2023 15:38
A tailwind.config.js file with the full color palette of Tailwind CSS 2.0, which I couldn't find available elsewhere. As of 2020-12-22, this config file works properly. Note that it will significantly increase the bundle size of your unpurged tailwind.css file!
// NOTE: AS REQUESTED, TAILWIND CSS 3.0 HAS FULL SUPPORT FOR ALL COLORS BY DEFAULT
// SEE https://tailwindcss.com/blog/tailwindcss-v3#every-color-out-of-the-box.
// As of 2020-12-22, this tailwind.config.js file includes all colors
// from the Tailwind CSS color palette reference laid out in full at this
// link: https://tailwindcss.com/docs/customizing-colors#color-palette-reference.
// Note that this will increase your unpurged Tailwind CSS file size immensely,
// for me it went from 3.64MB to 7.62MB! Be sure to purge your CSS in production!
// First we import the tailwindcss/colors dependency, as referenced
@danielstgt
danielstgt / imagick3.4.4-PHP7.4-forge.sh
Last active April 19, 2024 11:33
Install ImageMagick / Imagick 3.4.4 on PHP 7.4 server (Laravel Forge)
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
apt-get install pkg-config libmagickwand-dev -y
cd /tmp
wget https://pecl.php.net/get/imagick-3.4.4.tgz
tar xvzf imagick-3.4.4.tgz
@dinhchi27
dinhchi27 / Key Sublime Text 3.2.1 Build 3207 - Sublime Text 3 License Key
Last active March 10, 2025 08:28
Key Sublime Text 3.2.1 Build 3207 - Sublime Text 3 License Key
Key Sublime Text 3.2.1 Build 3207
----- BEGIN LICENSE -----
Member J2TeaM
Single User License
EA7E-1011316
D7DA350E 1B8B0760 972F8B60 F3E64036
B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD
FA0A2ABE 25F65BD8 D51458E5 3923CE80
87428428 79079A01 AA69F319 A1AF29A4
A684C2DC 0B1583D4 19CBD290 217618CD

How to install Laravel globally in Ubuntu

===================================================================

Open your terminal using Ctrl+Alt+T and type the following commands

Step 1: Install Laravel

composer global require "laravel/installer"
@miyasinarafat
miyasinarafat / how_to_install_laravel_globally_in_ubuntu.md
Last active December 2, 2023 10:41 — forked from abhi9bakshi/laravel_setup_ubuntu_1610.md
How to install Laravel globally in Ubuntu

How to install Laravel globally in Ubuntu

===================================================================

Open your terminal using Ctrl+Alt+T and type the following commands

Step 1: Install Laravel

composer global require "laravel/installer"
@hmaesta
hmaesta / pikaday-ptBR.js
Last active August 28, 2023 19:30
Pikaday Brazilian Portuguese translation (Português Brasileiro)
var i18n = {
previousMonth: 'Mês anterior',
nextMonth: 'Próximo mês',
months: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'],
weekdays: ['Domingo', 'Segunda-feira', 'Terça-feira', 'Quarta-feira', 'Quinta-feira', 'Sexta-feira', 'Sábado'],
weekdaysShort: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb']
};
$("#date").pikaday({
format: "YYYY-MM-DD", //adjust to your liking
changeMonth: true,
@edirpedro
edirpedro / estados-brasil.php
Last active October 12, 2024 21:26
Estados do Brasil (Lista, Array)
// Lista
AC, Acre
AL, Alagoas
AP, Amapá
AM, Amazonas
BA, Bahia
CE, Ceará
DF, Distrito Federal
ES, Espirito Santo
@DHS
DHS / PHP Countries Array
Created November 4, 2011 18:51
PHP array of all country names
<?php
$countries = array("Afghanistan", "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla", "Antarctica", "Antigua and Barbuda", "Argentina", "Armenia", "Aruba", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia", "Bosnia and Herzegowina", "Botswana", "Bouvet Island", "Brazil", "British Indian Ocean Territory", "Brunei Darussalam", "Bulgaria", "Burkina Faso", "Burundi", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", "Chad", "Chile", "China", "Christmas Island", "Cocos (Keeling) Islands", "Colombia", "Comoros", "Congo", "Congo, the Democratic Republic of the", "Cook Islands", "Costa Rica", "Cote d'Ivoire", "Croatia (Hrvatska)", "Cuba", "Cyprus", "Czech Republic", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "East Timor", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Falkland Island