This procedure is tested on Mac OS X 10.10.5 with Developpers tools installed (xCode).
PHP 5.6 installed with Homebrew.
Download the following files from Oracle website (yes, you need to create an account and accept terms):
# This is a sample build configuration for PHP. | |
# Check our guides at https://confluence.atlassian.com/x/e8YWN for more examples. | |
# Only use spaces to indent your .yml configuration. | |
# You can specify a custom docker image from Docker Hub as your build environment. | |
# run composer check-platform-reqs for a list of required extensions. | |
image: php:7.2-fpm | |
pipelines: | |
default: | |
# Not needed unless you're doing feature tests. | |
# - step: |
<?php declare(strict_types=1); | |
require_once "✨.🐘"; | |
✨($_)->strlen("foo")->var_dump($_); |
# tunnel online | |
ngrok tcp 3306 | |
# connection | |
user=root | |
pass=techne | |
host=0.tcp.ngrok.io | |
port=16799 | |
mysql -u$user -h$host -P$port -p$pass |
<?xml version="1.0" encoding="UTF-8"?> | |
<ruleset name="Laravel and similar phpmd ruleset" | |
xmlns="http://pmd.sf.net/ruleset/1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd" | |
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd"> | |
<description> | |
Inspired by https://github.com/phpmd/phpmd/issues/137 | |
using http://phpmd.org/documentation/creating-a-ruleset.html | |
</description> |
package src.LinkedList; | |
public class LinkedList { | |
public Node head; | |
public int listCount; | |
public LinkedList(){ | |
head = new Node(0); | |
listCount = 0; | |
} |
#add 'node_modules' to .gitignore file | |
git rm -r --cached node_modules | |
git commit -m 'Remove the now ignored directory node_modules' | |
git push origin <branch-name> |
This procedure is tested on Mac OS X 10.10.5 with Developpers tools installed (xCode).
PHP 5.6 installed with Homebrew.
Download the following files from Oracle website (yes, you need to create an account and accept terms):
{ | |
"name": "hechoendrupal/composer-ui", | |
"description": "Composer UI", | |
"minimum-stability": "dev", | |
"authors": [ | |
{ | |
"name": "David Flore", | |
"email": "dmouse.x@gmail.com" | |
} | |
], |