This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { TestBed } from '@angular/core/testing'; | |
import { AngularFireAuth } from '@angular/fire/auth'; | |
import { AngularFirestore } from '@angular/fire/firestore'; | |
import { BehaviorSubject } from 'rxjs'; | |
import { AngularFireModule } from '@angular/fire'; | |
import { AngularFireAuthModule } from '@angular/fire/auth'; | |
import { AuthService } from './auth.service'; | |
const FirestoreStub = { | |
collection: (name: string) => ({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.3-fpm | |
MAINTAINER Daniel Noyola <[email protected]> | |
# Install Dependencies | |
RUN apt-get update && apt-get install -y locales unixodbc libgss3 odbcinst \ | |
devscripts debhelper dh-exec dh-autoreconf libreadline-dev libltdl-dev \ | |
unixodbc-dev wget unzip \ | |
&& rm -rf /var/lib/apt/lists/* \ | |
&& docker-php-ext-install pdo \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ahoyapi: v2 | |
commands: | |
ps: | |
cmd: docker-compose ps "$@" | |
usage: List containers. | |
start: | |
cmd: docker-compose start "$@" | |
usage: Start services. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
import { Request, Http, RequestMethod, RequestOptions, URLSearchParams, Headers } from '@angular/http'; | |
import { ENV } from '../environment/environment'; | |
import 'rxjs/add/operator/map'; | |
@Injectable() | |
export class Api { | |
url: string = ENV.API_URL; | |
constructor(public http: Http) { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.0.10-fpm | |
MAINTAINER Daniel Noyola <[email protected]> | |
# install the PHP extensions we need | |
RUN apt-get update && apt-get install -y locales unixodbc libgss3 odbcinst devscripts debhelper dh-exec dh-autoreconf libreadline-dev libltdl-dev unixodbc-dev wget unzip \ | |
&& rm -rf /var/lib/apt/lists/* \ | |
&& docker-php-ext-install pdo \ | |
&& echo "en_US.UTF-8 UTF-8" > /etc/locale.gen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Contains Drupal\demo\Form\AdminForm. | |
*/ | |
namespace Drupal\demo\Form; | |
use Drupal\Core\Form\ConfigFormBase; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Contains Drupal\demo\Plugin\Block\DemoBlock. | |
*/ | |
namespace Drupal\demo\Plugin\Block; | |
use Drupal\Core\Block\BlockBase; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/share | |
sudo git clone --branch master https://github.com/drush-ops/drush.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: El nombre que nuestro modulo va a tener | |
description: 'la descripción de nuestro modulo' | |
type: module | |
core: 8.x |
NewerOlder