You can use static in generic to refer to the current class. This is useful in trait implementations:
| :root { | |
| --color-canvas-default: #00000000; | |
| } | |
| .markdown-body { | |
| background-color: var(--color-canvas-default); | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| .markdown-body { |
| <?xml version="1.0" encoding="UTF-8" ?> | |
| <ruleset name="Default"> | |
| <description>Coding standard configuration.</description> | |
| <rule ref="PSR12" /> | |
| <rule ref="PEAR.Functions.ValidDefaultValue" /> | |
| <rule ref="PEAR.Commenting.InlineComment" /> | |
| <rule ref="Squiz.Operators.ValidLogicalOperators" /> | |
| <rule ref="Squiz.PHP.CommentedOutCode"> | |
| <properties> | |
| <property name="maxPercentage" value="50" /> |
| import { NgModule } from '@angular/core'; | |
| import { RouterModule, Routes } from '@angular/router'; | |
| import { DeactivatableGuard } from './deactivatable.guard'; | |
| import { AddPhoneNumberPage } from './add-phone-number.page'; | |
| const routes: Routes = [ | |
| { | |
| path: '', | |
| component: AddPhoneNumberPage, |
| @function dasherize($string) { | |
| $progress: str-slice($string, 2); | |
| $result: str-slice($string, 1, 1); | |
| @while str-length($progress) > 0 { | |
| $char: str-slice($progress, 1, 1); | |
| $mayus: to-upper-case($char); | |
https://cloud.google.com/php/grpc
Install via PECL:
sudo pecl install grpc
sudo pecl install protobuf| { | |
| "env": { | |
| "browser": true, | |
| "es6": true, | |
| "node": true | |
| }, | |
| "extends": [ | |
| "eslint:recommended", | |
| "plugin:react/recommended" | |
| ], |
| . |
Info original: https://git-scm.com/book/es/v2/Inicio---Sobre-el-Control-de-Versiones-Instalaci%C3%B3n-de-Git
Algunas personas desean instalar Git a partir de su código fuente debido a que obtendrás una versión más reciente. Los instaladores binarios tienen a estar un poco atrasados. Sin embargo, esto ha hecho muy poca diferencia a medida que Git ha madurado en los últimos años.
Para instalar Git desde el código fuente necesitas tener las siguientes librerías de las que Git depende: curl, zlib, openssl, expat y libiconv. Por ejemplo, si estás en un sistema que tiene yum (como Fedora) o apt-get (como un sistema basado en Debian), puedes usar estos comandos para instalar todas las dependencias:
Fedora