ng add @angular-eslint/schematics
npm i prettier prettier-eslint eslint-config-prettier eslint-plugin-prettier -D
Filename: .eslintrc.json
| Organization name: [email protected] | |
| Serial Key: eNrzzU/OLi0odswsqslJTa3IzHJIz03MzNFLzs+tMTQyNrcwsTQyAIEa5xpDAIFxDy8k |
| class SnakeUpperCaseTransformer(): | |
| def __init__(self, string_param): | |
| self.string_param = string_param | |
| def showString(self): | |
| print(self.string_param) | |
| def convertToUpperCase(self): | |
| rez = [] |
| export const isValidEmail = (email: string): boolean => { | |
| const match = String(email) | |
| .toLowerCase() | |
| .match( | |
| /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/ | |
| ); |
| # remove specific file from git cache | |
| git rm --cached filename | |
| # remove all files from git cache | |
| git rm -r --cached . | |
| git add . | |
| git commit -m ".gitignore is now working" |
| <customMapSource> | |
| <name>Google Maps</name> | |
| <minZoom>0</minZoom> | |
| <maxZoom>20</maxZoom> | |
| <tileType>PNG</tileType> | |
| <tileUpdate>IfNoneMatch</tileUpdate> | |
| <url>http://mt{$serverpart}.google.com/vt/lyrs=m@176103410&hl=en-EN&x={$x}&y={$y}&z={$z}&s=Galileo&scale=1</url> | |
| <serverParts>0 1 2 3</serverParts> | |
| </customMapSource> |
| <?php | |
| namespace App\Providers; | |
| use Illuminate\Support\Collection; | |
| use Illuminate\Pagination\LengthAwarePaginator; | |
| class AppServiceProvider extends ServiceProvider | |
| { | |
| public function boot() |
| FROM php:5.6-apache | |
| RUN apt-get update && apt-get install -y libpq-dev && docker-php-ext-install pdo pdo_pgsql | |
| COPY src/ /var/www/html |
Simulador para examen Scrum Master
| /** | |
| * | |
| * WITHOUT NESTING | |
| */ | |
| // An asynchronous function that performs a task on each item | |
| /* async function performAsyncTask(item) { | |
| // Simulating an asynchronous task with a delay | |
| await delay(1000); | |
| console.log(`Task completed for item: ${item}`); |