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
root@batman:~/node-sass-test# npm -v | |
1.4.28 | |
root@batman:~/node-sass-test# node -v | |
v0.10.36 | |
root@batman:~/node-sass-test# node -p process.versions | |
{ http_parser: '1.0', | |
node: '0.10.36', | |
v8: '3.14.5.9', | |
ares: '1.9.0-DEV', | |
uv: '0.10.30', |
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
root@batman:~/node-sass-test# ll | |
total 92 | |
drwxr-xr-x 2 root root 4096 Mar 4 15:16 ./ | |
drwx------ 21 root root 86016 Mar 4 14:44 ../ | |
root@batman:~/node-sass-test# npm install node-sass | |
... | |
root@batman:~/node-sass-test# ll | |
total 96 |
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": "qc-user", | |
"version": "0.0.1", | |
"dependencies": { | |
"proxy-middleware": "^0.9.0", | |
"url": "^0.10.2", | |
"gulp": "^3.8.10", | |
"gulp-concat": "^2.4.2", | |
"gulp-filter": "^1.0.2", | |
"gulp-ng-annotate": "^0.3.5", |
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
INFO [PhantomJS 1.9.8 (Windows 7 0.0.0)]: Connected on socket HLnqWOhWJAMoHmvuqe5G with id 77618788 | |
? "before each" hook | |
ReferenceError: Can't find variable: DSHttpAdapter | |
at C:/WEB/jsData_2.0/karma.start.js:117 | |
ERROR LOG: TypeError{message: ''undefined' is not an object (evaluating 'this.xhr.restore')', line: 359, sourceId: 81498128, sourceURL: 'http://localhost:9876/base/karma.start.js?f7586ca4623cbeaf8a47eeb3fb3815ad7a97ee1a', stack: 'TypeError: 'undefined' is not an ob | |
ject (evaluating 'this.xhr.restore') | |
at http://localhost:9876/base/karma.start.js?f7586ca4623cbeaf8a47eeb3fb3815ad7a97ee1a:359 | |
at callFn (http://localhost:9876/base/node_modules/mocha/mocha.js?452afbc6302de4c245643397222e5d4f828605ed:4562) | |
at http://localhost:9876/base/node_modules/mocha/mocha.js?452afbc6302de4c245643397222e5d4f828605ed:4555 |
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 {Component} from "@angular/core"; | |
import {isIOS} from "tns-core-modules/platform"; | |
import {topmost} from "tns-core-modules/ui/frame"; | |
import * as app from 'application'; | |
declare var android; | |
@Component({ | |
selector: "ns-app", | |
templateUrl: "app.component.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
declare function require(name:string); | |
var striptags = require('striptags'); | |
// export var console2:Console2Interface = null; | |
let originalConsoleLog:Function = console.log; | |
interface Console2Interface { | |
extendedLog: Function | |
} |
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
[ | |
{ | |
'id': 1, | |
'name': 'Sziget Fesztivál', | |
'date': '2017-08-03', | |
'pictureURL': 'assets/sziget.png', | |
'description': 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Quo.' | |
}, | |
{ | |
'id': 2, |
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
getAllTickets() { | |
return this._http.get(`${environment.firebase.baseUrl}/tickets.json`) | |
.map(ticketsObject => Object.values(ticketsObject)) | |
.map(ticketsArray => ticketsArray.map(tm => | |
Observable.zip( | |
Observable.of(tm), | |
this._eventService.getEventById(tm.eventId), | |
this._userService.getUserById(tm.sellerUserId), | |
(t: TicketModel, e: EventModel, u: UserModel) => { | |
return { |
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
create(param: TicketModel) { | |
return this._http | |
.post<{ name: string }>(`${environment.firebase.baseUrl}/tickets.json`, param) | |
// konnyitsuk meg magunknak kicsit az eletunket es kuldjuk tovabb csak azt ami kell nekunk | |
.map(fbPostReturn => fbPostReturn.name) | |
// ez itt amiatt kell, hogy meglegyen a fbid objektumon belul is, | |
// mert kesobb epitunk erre az infora | |
// viszont ezt csak a post valaszaban kapjuk vissza | |
// es legalabb hasznaljuk a patch-et is :) | |
.switchMap(ticketId => this._saveGeneratedId(ticketId)) |
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
export const $NAME$ = '[$NAMESPACE$] $TYPE$'; | |
export class $ACTION$ implements Action { | |
readonly type = $NAME$; | |
constructor(public payload: $PAYLOAD_TYPE$) {} | |
} |
OlderNewer