vladimir

Experience

14,870

0 Best Reply Awards

  • Member Since 2 Years Ago
  • 264 Lessons Completed
  • 20 Favorites

23rd March, 2017

vladimir left a reply on How To Cache My Css And Js Files In Laravel? • 1 month ago

This is apache, what about nginx? Eg Forge comes with nginx

vladimir left a reply on Problem When Importing Css From Google In App.scss When Running "npm Run Production" • 1 month ago

I am having same problem, and adding body{} did not solve it. Still looking for solution

18th March, 2017

vladimir started a new conversation Creating A Quizz For A Kid And Need Help To Solve A Few Problems And Suggestions • 1 month ago

I have asked this on vue forums, but will ask here as well, even tho i believe we are all on both forums :) Anyway here it goes: Making a quizz for a kid and learning things along the way, and want to share code. Currently i am facing a few problems which i commented in code on jsfidle. To all of you willing to help to make quiz to work, here is the fiddle link:

https://jsfiddle.net/vladimirn/j5yfmsyd/2/

I did read thru documentation and tried many things so far to achieve what i want, but did not manage to make it as i want so far. But i did make a big progress. Documentation is not always clear to me and sometimes i simply have no idea what author want to say. I cant give you any particular example now. Here are my ideas and what i have problem with:

Description:

  • There will be (n) questions (most likely 50-90 so she can play for a long time) Idea:
  • I want that when she click on answer, all offered answers get disabled, correct answer marked green, and wrong answers marked red. If she gives a correct answer, it should be marked green, all answers disabled and wrong answers marked to red. If she click on wrong answer, all answers should be disabled, wrong answers marked red and correct answer marked green. Problem Currently, i can't mark and disable all of them, just those answers currently clicked.

Idea

  • once she choose the answer, a few thing should happen: a) update number of correctAnswers b) update number of wrongAnswers c) update number of remainedQuestions Problem I cant update those figures

Idea

  • when answer is chosen and she click on Next Page, and get next Set of Questions, in case that she click Previous button again, i want to keep her previous answers and answers should be marked as they was when she left that page. Problem Not sure if that is possible without vuex? If its not possible i will simply had to remove . the previous button.

Thank you all for help

vladimir left a reply on Laravel Valet TDL Per Project- Is It Possible? • 1 month ago

@willvincent I am heavy docker user as well for other projects. But as i said, its not me who decides what and how things will developed and deployed. Thanks for the advise tho :)

17th March, 2017

vladimir left a reply on Laravel Valet TDL Per Project- Is It Possible? • 1 month ago

@Snapey i apologize for my harsh comment. I misunderstand your intention and missed to see what is behind your comment. Tho, you are right that how it should not be developed, and i could not agree more. But as i said, its not always on developer to decide the course. Thank you. @willvincent thank you for a time and long explanation of your thoughts on this. Just to say, we do work with Vagrant, but As you know, Valet will spend much less resources and i want to see how it would be. For me personally its a just line of learning by trying to make something crossed my mind, and listening to other respectable people opinions.

vladimir left a reply on Laravel Valet TDL Per Project- Is It Possible? • 1 month ago

Yeah site is not developed on Laravel, and heavily depends on env files. That is why i would like to know if its possible to have valet to serve .dev and .com or any other tld at the same time. I dont see why is entirely of the scope of what valet aims to accomplish. @willvincent as i get it Valet is a simple one step get ready dev enviroment on mac. It works with several poplar framework and it can be customized to serve any tld. But as i understand its only one tld per time. Which i dont see why would be wrong having it to serve multiple tld at time? What in that of scope? I dont see it

vladimir left a reply on Laravel Valet TDL Per Project- Is It Possible? • 1 month ago

alright, the company i am working for has everything depending on the domain name and its local.xxx.com stage.xxx.com etc... Other projects i am working on could go with .dev He did not ask the reason, he actually did, with mentioning that my sites should be developed agnostic of the domain name. How they should or not should be is not always on developer to decide you would agree? I am not answering questions like that. If he would asked as @Chris1904 did i would gladly provide the answer as i did now, cause i understand why he is asking me, without giving me advise that my site should be developed like this or that. I am not asking how my sites should be developed as you probably noticed. I am asking pretty clear and need help. So one more time, i have no influence on how site is developed, i am coding together with 50 other developers on project and i would like to get rid of vagrant and to use valet.

16th March, 2017

vladimir left a reply on Laravel Valet TDL Per Project- Is It Possible? • 1 month ago

Thanks for the comment but it's useless. Why bother to comment?

vladimir left a reply on Laravel Valet TDL Per Project- Is It Possible? • 1 month ago

it seems that its globally configured when i am looking at that json { "domain": "dev", "paths": [ "/Users/vladimir/Projects" ] } if there was: { "domain": { "name" : "dev", "paths": [ "/Users/vladimir/Projects" ] }

}

Then i think would be worth of trying. I dont see in first case who i could assign new domain/path. I tried adding one more record but it brokes existing and valet is not working.

vladimir started a new conversation Laravel Valet TDL Per Project- Is It Possible? • 1 month ago

Is it possible to use Valet TDL per project? Saying that i mean if i have ~/Sites/Blog and ~/Sites/Todo and i want to have blog.dev and todo.app

Is that possible?

12th March, 2017

vladimir left a reply on Laravel Dusk Opening Opening Browser Window • 1 month ago

@jeffz2016 set you APP_URL to the same url you are using in browser for your local development.

11th March, 2017

vladimir left a reply on Laravel Dusk Opening Opening Browser Window • 1 month ago

Same problem here @jeffz2016 , have you solved it?

3rd March, 2017

vladimir left a reply on Inspiration • 1 month ago

Like it :)

vladimir started a new conversation Chart From Laracasts.com/series/charting-and-you/ • 1 month ago

Above is broken, since a lot of changes from the date it was published. Does not matter, i've got it working with vue 2 and laravel 5.4 Anyway, there is a problem that i cant solve for now. In the series, component is created, and that is great, but there is a line component, with only one line into graph. How to pass two lines into graph? Or more? Here is the part of code:

<div class="column">
          <div class="chart-wrapper">
                  <revenue-graph url="/fetchLast7Days" :range="30" label=""></revenue-graph>
            </div>
</div>

And vue part:

var Graph = Vue.extend({
        template: `
        <div>
            <canvas width="400" height="400" ref="canvas"></canvas>
            {{ legend }}
        </div>
    `,
        props: {
            url: '',
            label: '',
            background: {
                default: "rgba(220,220,220,0.1)"
            }
        },
        data() {
            return {
                chart: '',
                legend: '',
            };
        },
        mounted() {
            this.load();
        },
        methods: {
            load() {
                this.fetchData().then(
                    response => this.render(response.data)
                );
            },
            fetchData() {
                return axios.get(this.url);
            },
            render(data){
                console.log(data)
                this.chart = new Chart(this.$refs.canvas, {
                    type: 'line',
                    data: {
                        labels: data.labels,
                        datasets: [
                            {
                                label: this.label, // move to a property to make dynamic.
                                backgroundColor: this.background, //"rgba(220,220,220,0.2)",
                                strokeColor: "rgba(220,220,220,1)",
                                pointColor: "rgba(220,220,220,1)",
                                pointStrokeColor: "#fff",
                                pointHighlightFill: "#fff",
                                pointHighlightStroke: "rgba(220,220,220,1)",
                                data: data.data
                            }
                        ]
                    }
                });
                this.legend = this.chart.generateLegend();
                console.log(this.legend)
            },
            reload() {
                this.chart.destroy();
                this.load();
            }
        }
    });
    var RevenueGraph = Graph.extend({
        template: `
                    <div>
                        <div>
                            <label>How Many Days?</label>
                            <select v-model="range" @change="reload">
                                <option v-for="n in 365">{{ n }}</option>
                            </select>
                        </div>
                        <canvas ref="canvas"></canvas>
                        <div v-html="legend"></div>
                    </div>
                `,
        props: {
            range: {default: 30}
        },

        methods: {
            fetchData() {
                return axios.get(
                    this.url, {range: this.range}
                );
            }
        }
    });
    

vladimir left a reply on Project Going Live, Needs Refactoring Big Time! • 1 month ago

Plenty of us looking there daily for new Larajobs.

1st March, 2017

vladimir left a reply on Call A Method From Created. • 1 month ago

use arrow syntax and no need to make let self = this; Event.$on('load-dashboard', (id) =>{

       self.loadDashboard(id);
    });

23rd November, 2016

vladimir left a reply on Contact Us Form (sending Email) Laravel 5 • 5 months ago

Where is your code? How your env file looks like? I just tried tutorial code and it works correctly once you set up everything as said

vladimir left a reply on Apache Serves Old Cached Files • 5 months ago

Same thing is happening to me right now, suddenly, no new changes are visible. I did view: [email protected]:~/Code/VladimirNikolic$ php artisan cache:clear Cache cleared successfully. [email protected]:~/Code/VladimirNikolic$ php artisan view:clear Compiled views cleared! [email protected]:~/Code/VladimirNikolic$ php artisan clear-compiled The compiled class file has been removed.

Restarted computer, restarted Homestead, emptying cache from Browser, opened page in incognito window, opened page in new browser never visited page and still, old page is there.

16th February, 2016

vladimir left a reply on Updating Homestead • 1 year ago

homestead update ==> default: Checking for updates to 'laravel/homestead' default: Latest installed version: 0.2.7 default: Version constraints: default: Provider: virtualbox ==> default: Updating 'laravel/homestead' with provider 'virtualbox' from version ==> default: '0.2.7' to '0.4.1'... ==> default: Loading metadata for box 'https://atlas.hashicorp.com/laravel/homestead' ==> default: Adding box 'laravel/homestead' (v0.4.1) for provider: virtualbox default: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.4.1/providers/virtualbox.box ==> default: Box download is resuming from prior download progress An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again.

HTTP server doesn't seem to support byte ranges. Cannot resume.

13th February, 2016

vladimir left a reply on Middleware Parameters • 1 year ago

unfortunately none of links above is not working for me

16th December, 2015

vladimir started a new conversation Coding To Interface • 1 year ago

Probably all of us have seen a brilliant series about design patterns. Personally i loved and watched it so many times that i even dont know. There is one example Jeffrey gave us and its about billing gateway. Completely understood whats and why, but there is one thing i never got to understand. How to implement it outside of laravel? In video Jeffrey said that is death simple just App::bind('new gateway', blabla) (dont remember egzactly now) So, how to do it outside of laravel? How to instruct interface which model will be used?

27th November, 2014

vladimir started a new conversation Once Per Year Discount On Laracast • 2 years ago

I have seen the link. Clicked, but it says i am already a member. Does it mean that we who payed full price can not apply for discount for next subscription period or upgrade current subscription by discounted price?

11th September, 2014

vladimir left a reply on FORGE- Composer Update Memory Allocation • 2 years ago

Talked to Taylor and he suggest to resize to 1GB of ram which i did. No problems since then, site is up and running.

6th September, 2014

vladimir left a reply on Codception Functional Tests And Redirects • 2 years ago

i am having the same problem, and i set in my functional suite: Laravel4: filters:true did not help, any other idea/suggestion?

15th August, 2014

vladimir left a reply on FORGE- Composer Update Memory Allocation • 2 years ago

Thanks Mike, it is working now!!!

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.