For homebrew version 0.9.5.
brew -v # => Homebrew 0.9.5
Install the current version of mysql.
# Install current mysql version
brew install mysql
{ | |
"yaml.schemas": { | |
"file:///Users/macbookpro/.vscode/extensions/atlassian.atlascode-2.9.1/resources/schemas/pipelines-schema.json": "bitbucket-pipelines.yml" | |
}, | |
"atlascode.jira.jqlList": [ | |
{ | |
"id": "895d1640-8fc1-447f-9239-5f2987daafaf", | |
"enabled": true, | |
"name": "My 2coders Issues", | |
"query": "assignee = currentUser() AND resolution = Unresolved ORDER BY lastViewed DESC", |
vsprintf(str_replace('?', '%s', $query->toSql()), collect($query->getBindings())->map(function ($binding) { | |
return is_numeric($binding) ? $binding : "{$binding}"; | |
})->toArray()) |
<?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> |
import { DiagramEngine, NodeModel, AbstractNodeFactory } from "storm-react-diagrams"; | |
import { CustomNodeWidget, CustomNodeModel } from "../../components"; | |
import * as React from "react"; | |
export class CustomNodeFactory extends AbstractNodeFactory { | |
constructor() { | |
super("custom"); | |
} | |
generateReactWidget(diagramEngine, node) { |
<?php | |
namespace App\Http\Middleware; | |
use Closure; | |
class Cors | |
{ | |
/** | |
* Handle an incoming request. |
/* | |
Advanced BH1750 library usage example | |
This example has some comments about advanced usage features. | |
Connection: | |
VCC -> 3V3 or 5V | |
GND -> GND |
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).
#!/usr/bin/env bash | |
# check if running as sudo | |
if [[ $UID == 0 ]]; then | |
echo "LOG => Please don´t run this script as sudo, it will ask for your password when required" | |
exit 1 | |
fi | |
# packages |