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
<html> | |
</html> |
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
@echo off | |
cd %~dp0 | |
REM Create text list | |
dir /b /o:n /a:d > list.txt | |
for /D %%a in (*) do ( |
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
python -m SimpleHTTPServer 8080 |
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
# .circleci/config.yml | |
# | |
# Javascript Node CircleCI 2.0 configuration file | |
# | |
# Check https://circleci.com/docs/2.0/language-javascript/ for more details | |
# | |
version: 2 | |
jobs: | |
build: | |
docker: |
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
dev: | |
scheme: ftp | |
host: ftp.my-dev-server.com | |
port: 21 | |
user: user | |
pass: password | |
check: false | |
path: | |
local: release/ | |
remote: public_html/ |
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
"scripts": { | |
"start": "npm-run-all lint ng:serve", | |
"build": "npm-run-all lint ng:build", | |
"build:prod": "npm-run-all lint ng:build:prod", | |
"build:stag": "npm-run-all lint ng:build:stag", | |
"build:gh-pages": "npm-run-all lint ng:build:gh-pages copy:404 git:add git:commit", | |
"ng:build:gh-pages": "ng build --prod --base-href /ng2-material/", | |
"copy:404": "copy .\\dist\\index.html .\\dist\\404.html", | |
"copy:200": "copy .\\dist\\index.html .\\dist\\200.html", | |
"git:add": "git add .", |
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
# Editor configuration, see http://editorconfig.org | |
root = true | |
[*] | |
charset = utf-8 | |
indent_style = space | |
indent_size = 2 | |
insert_final_newline = true | |
trim_trailing_whitespace = true |
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
{"lectures":[{"id":37407,"presenter":"Chris Turcotte","title":"Nemo ipsa eligendi velit et pariatur eaque dolores.","email":"Shyanne_Larkin@hotmail.com","description":"Rem eos ut ut libero autem. Doloremque inventore nesciunt architecto aperiam ut. Odio consequatur totam et. Incidunt excepturi eius. Aut numquam doloremque fugit sunt et qui. Doloribus blanditiis modi neque explicabo commodi minima.","series":"ipsum quis enim","url":"https://dennis.biz","datePublished":"Sun Mar 27 2016 00:42:09 GMT+0200 (Egypt Standard Time)","imageUrl":"http://lorempixel.com/640/480"},{"id":23640,"presenter":"Joany Kirlin","title":"Aut velit harum et blanditiis vel quaerat.","email":"Dewitt_Swaniawski@yahoo.com","description":"Ut perspiciatis provident commodi optio similique temporibus non occaecati neque. Voluptas quisquam eum eos rerum quisquam et iure modi nemo. Ducimus et vero ut sapiente et molestias similique sint expedita. Ut eligendi ullam.","series":"pariatur suscipit autem","url":"https://bobbie.info","datePublished |
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 { Pipe, PipeTransform } from '@angular/core'; | |
@Pipe({ | |
name: 'truncate' | |
}) | |
export class TruncatePipe implements PipeTransform { | |
transform(value: string, limit = 250, trail = '...'): string { | |
if (value.length > limit) { | |
return value.substring(0, limit) + trail; |
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, ErrorHandler } from '@angular/core'; | |
import { LoadingService } from '../loading/loading.service'; | |
import { NotificationService } from '../notification/notification.service'; | |
import { environment } from '../../../environments/environment'; | |
declare let Raven: any; | |
const logLevel = { | |
error: 'error', |
OlderNewer