This file contains hidden or 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, OnInit, OnDestroy } from '@angular/core'; | |
import { ActivatedRoute, Router, Params } from '@angular/router'; | |
import { ToastsManager } from 'ng2-toastr/ng2-toastr'; | |
import { CustomerApi } from '../../shared/sdk/services/custom/Customer'; | |
import { Customer } from '../../shared/sdk/models/Customer'; | |
import { LoopBackAuth } from '../../shared/sdk/services/core/auth.service'; | |
import * as zxcvbn from 'zxcvbn'; |
This file contains hidden or 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
setInterval(function() { | |
t = $(".following").find(".follow-button"); //.not-following | |
if (!t[0]) { | |
window.scrollTo(0, | |
$(document).height()); | |
} else { | |
console.log(t.attr("class")); | |
t.trigger("click"); | |
} | |
}, 100) |
This file contains hidden or 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'; | |
/* | |
* Capitalize the first letter of the string | |
* Takes a string as a value. | |
* Usage: | |
* value | capitalizefirst | |
* Example: | |
* // value.name = daniel | |
* {{ value.name | capitalizefirst }} | |
* fromats to: Daniel |
This file contains hidden or 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
/* Smartphones (portrait and landscape) ----------- */ | |
@mixin Smartphones { | |
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) { | |
/* Styles */ | |
@content; | |
} | |
} | |
/* Smartphones (landscape) ----------- */ | |
@mixin Smartphones-Landscape { |
This file contains hidden or 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
[user] | |
name = Daniel | |
email = [email protected] | |
[color] | |
ui = true | |
[alias] | |
co = checkout | |
dev = pull origin develop | |
mast = pull origin master | |
todev = push origin develop |
NewerOlder