Step 1: Get Token
Generate the firebase token from your terminal using the command $ firebase login:ci
Waiting for authentication...
✔ Success! Use this token to login on a CI server:
1/VXXXXXXX--YOUR-FIREBASE-CI-TOKEN--XXXXXh92o
<?php # -*- coding: utf-8 -*- | |
/** | |
* Plugin Name: T5 Page Feed | |
* Description: Adds a feed for pages at <code>/feed/?post_type=page</code>. | |
* Version: 2012.05.22 | |
* Author: Thomas Scholz | |
* Author URI: http://toscho.de | |
* License: MIT | |
* License URI: http://www.opensource.org/licenses/mit-license.php | |
*/ |
# App configuration for static site with auth. | |
# | |
# Originally from: https://gist.github.com/873098 | |
application: you-app-name-here | |
version: 1 | |
runtime: python | |
api_version: 1 | |
default_expiration: "30d" |
mkdir ~/app-root/data/tmp | |
mysqldump -h $OPENSHIFT_MYSQL_DB_HOST -P ${OPENSHIFT_MYSQL_DB_PORT:-3306} -u ${OPENSHIFT_MYSQL_DB_USERNAME:-'admin'} --password="$OPENSHIFT_MYSQL_DB_PASSWORD" --all-databases > ~/app-root/data/tmp//all.sql |
//Simply to import to app.module.ts and start to use all angular | |
// by this way is easier to maintenance you app.module | |
import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; | |
import {MatCheckboxModule} from '@angular/material'; | |
import {MatButtonModule} from '@angular/material'; | |
import {MatInputModule} from '@angular/material/input'; | |
import {MatAutocompleteModule} from '@angular/material/autocomplete'; | |
import {MatDatepickerModule} from '@angular/material/datepicker'; | |
import {MatFormFieldModule} from '@angular/material/form-field'; |
div.page-content.positions { | |
background-color: #000000; | |
color: #ffffff; | |
} | |
h3.page-title.small { | |
color: #ffffff; | |
} | |
span.text-label.small.aqua.indigo { |
#!/bin/bash | |
# update apt-get | |
export DEBIAN_FRONTEND="noninteractive" | |
sudo apt-get update | |
# remove previously installed Docker | |
sudo apt-get purge lxc-docker* | |
sudo apt-get purge docker.io* |
#AND | |
<b:if cond='data:blog.pageType == "index"'> | |
<b:if cond='data:blog.searchQuery'> | |
<!--search_page AND index_page--> | |
</b:if> | |
</b:if> | |
#OR |
import speech_recognition | |
import pyttsx | |
speech_engine = pyttsx.init('sapi5') # see http://pyttsx.readthedocs.org/en/latest/engine.html#pyttsx.init | |
speech_engine.setProperty('rate', 150) | |
def speak(text): | |
speech_engine.say(text) | |
speech_engine.runAndWait() |
<!-- [ Meta Tag SEO ] --> | |
<include expiration='7d' path='*.css'/> | |
<include expiration='7d' path='*.js'/> | |
<include expiration='3d' path='*.gif'/> | |
<include expiration='3d' path='*.jpeg'/> | |
<include expiration='3d' path='*.jpg'/> | |
<include expiration='3d' path='*.png'/> | |
<meta content='sat, 02 jun 2020 00:00:00 GMT' http-equiv='expires'/> | |
<meta charset='utf-8'/> | |
<meta content='width=device-width, initial-scale=1' name='viewport'/> |