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
'use strict'; | |
angular.module('Yeopen') | |
.service('$videoApi', ['$modal', '$rootScope', '$state', 'AbstractService', 'Routes', | |
function ($modal, $rootScope, $state, AbstractService, Routes) { | |
var videoApi = new AbstractService(Routes.gallery); | |
angular.extend(videoApi, { | |
create: function(data) { |
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
.directive('embedVideoSrc', ['$compile','VideoService', function ($compile, VideoService) { | |
return { | |
link: function(scope, element, attrs) { | |
scope.srcVideo = attrs.embedVideoSrc; | |
var template = ''; | |
var serviceVideo = VideoService.getVideoServiceByUrl(attrs.embedVideoSrc); | |
console.log(attrs); | |
attrs.embedVideoHeight = attrs.embedVideoHeight || 315; |
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
php artisan --help OR -h | |
php artisan --quiet OR -q | |
php artisan --version OR -V | |
php artisan --no-interaction OR -n | |
php artisan --ansi | |
php artisan --no-ansi | |
php artisan --env | |
// -v|vv|vvv Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug | |
php artisan --verbose |
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
// Исходные данные | |
"1550869200000": {"subscribers": 0, "conversion": 0, "subscribers_day_growth": 0}, | |
"1550782800000": {"subscribers": 1, "conversion": 1, "subscribers_day_growth": 1}, | |
"1550696400000": {"subscribers": 2, "conversion": 2, "subscribers_day_growth": 2}, | |
"1550610000000": {"subscribers": 3, "conversion": 3, "subscribers_day_growth": 3}, | |
"1550523600000": {"subscribers": 4, "conversion": 4, "subscribers_day_growth": 4}, | |
"1550437200000": {"subscribers": 5, "conversion": 5, "subscribers_day_growth": 5}, | |
"1550350800000": {"subscribers": 6, "conversion": 6, "subscribers_day_growth": 6}, | |
"1550264400000": {"subscribers": 7, "conversion": 7, "subscribers_day_growth": 7}, | |
"1550178000000": {"subscribers": 8, "conversion": 8, "subscribers_day_growth": 8}, |
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
backend_1_474f56b381c3 | Дневная 11/23/2018, 12:00:00 AM | |
backend_1_474f56b381c3 | Дневная 11/24/2018, 12:00:00 AM | |
backend_1_474f56b381c3 | Дневная 11/25/2018, 12:00:00 AM | |
backend_1_474f56b381c3 | Дневная 11/26/2018, 12:00:00 AM | |
backend_1_474f56b381c3 | Дневная 11/27/2018, 12:00:00 AM | |
backend_1_474f56b381c3 | Дневная 11/28/2018, 12:00:00 AM | |
backend_1_474f56b381c3 | Дневная 11/29/2018, 12:00:00 AM | |
backend_1_474f56b381c3 | Неделя 11/29/2018, 12:00:00 AM | |
backend_1_474f56b381c3 | Дневная 11/30/2018, 12:00:00 AM | |
backend_1_474f56b381c3 | Дневная 12/1/2018, 12:00:00 AM |
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
backend_1_474f56b381c3 | Дневная 11/24/2018, 12:00:00 PM | |
backend_1_474f56b381c3 | Дневная 11/25/2018, 12:00:00 PM | |
backend_1_474f56b381c3 | Дневная 11/26/2018, 12:00:00 PM | |
backend_1_474f56b381c3 | Дневная 11/27/2018, 12:00:00 PM | |
backend_1_474f56b381c3 | Дневная 11/28/2018, 12:00:00 PM | |
backend_1_474f56b381c3 | Дневная 11/29/2018, 12:00:00 PM | |
backend_1_474f56b381c3 | Дневная 11/30/2018, 12:00:00 PM | |
backend_1_474f56b381c3 | Неделя 11/30/2018, 12:00:00 PM | |
backend_1_474f56b381c3 | Дневная 12/1/2018, 12:00:00 PM | |
backend_1_474f56b381c3 | Дневная 12/2/2018, 12:00:00 PM |
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
const { request } = require('graphql-request'); | |
const sendDataToLkMedia = (user, account, order) => { | |
// сообщаем lk.tooligram.com об оплате | |
const postData = `mutation { | |
createClient( | |
tooliUserId: "${order.user_id}", | |
tooliAccountId: "${order.account_id}", | |
instagramLogin: "${order.insta_login}", |
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
function getShortcodeFromTag (tag) { | |
let id = bigInt(tag.split('_', 1)[0]); | |
const alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_'; | |
let remainder; | |
let shortcode = ''; | |
while (id.greater(0)) { | |
let division = id.divmod(64); | |
id = division.quotient; | |
shortcode = `${alphabet.charAt(division.remainder)}${shortcode}`; |
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
.class public final Lcom/facebook/f/a/d; | |
.super Ljava/lang/Object; | |
.source "" | |
# interfaces | |
.implements Lorg/apache/http/conn/ssl/X509HostnameVerifier; | |
# instance fields | |
.field private final a:Lcom/instagram/realtimeclient/RealtimeClient$6$1; |
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
<template> | |
<div class="add-task"> | |
<div class="card"> | |
<div class="card-body"> | |
<form @submit.prevent="savePost"> | |
<div class="add-task-form"> | |
<div class="add-task-form__left"> | |
<div class="upload-file" | |
:class="{ disabled: finalImages.length >= 10 || (stories && finalImages.length >= 1), '_full': stories }"> | |
<label for="exampleFormControlFile1"> |