how can we use NOR flash in user code on VSC7427 - embedded-linux

We use U-Boot on Microchip VSC7427 and user code for user code.
We have access to NOR flash in U-Boot, and read and write data on NOR flash.
We want to use SPI NOR flash function in user code.
If possible, then please give some guidance.

Related

How to print directly to the printer using only Laravel or make a pdf and print it directly from the browser?

I need to print all the grades by level from a school, I'm working using Laravel and I have searched for the way to do it but I could'nt find the answer.
Do someone here knows how to send a view to be printed directly to the printer? or instead, how to make a pdf with all the grades and then use the pdf software to print? I prefer to not using third party plugins also, could someone give me ligth about this issue?
There are ways in 'vanilla' PHP to create PDFs but they're pretty dense imo. You can find out about it here.
Although if you were to rethink your policy on 3rd parties, DOMPDF is a lot easier.
With the latter you can write HTML (and can use the blade templating from laravel) and pass it straight to DOMPDF to render it as is. There are some examples for both in the links above.
Hope this points you in the right direction.
EDIT: It's early and I didn't read your question properly.
To print trigger a physical print of a page you'll need some javascript. It depends strongly on what printers are there. If they have some sort of print by email function it's easier, just generate the PDF and use MailChimp or something to shoot it off to the printer. Some have FTP or file sharing options also.
If this isn't an option you'll have to load the page and trigger the browser print using the javascript window.print(); function.

The Program (web or program) that can tutorial and test user about how to use the application

I want to know the program name that can help me to teach the user and can test the user.
For example, I develop web application and I want to train user how to use this web application (using VDO). After training, I want to test the user that user know about my web. (EX. Please go to ABC page -> user try to use user interface to go to ABC page can or can't)
I want the program that can help me to do like this.
You can use Camstudio software to record video tutorial then create a simple survey to know if the user know about your website.
to download Camstudio : CamStudio

Get the page protection of a user mode page from kernel mode

I want to get the page protection of a user-mode page from user kernel-mode.
I know it's possible using the undocumented function NtQueryVirtualMemory (which is the way that windows XP uses when VirtualQuery is called in user mode)
But I rather do it in some documented way...
If it's Possible to traverse the VAD list in a documented way it will be great as well, because it will allow me to check the page protection of a lot of pages quickly.

WP7: Is it possible to get a referrer from the installation page/link?

This question involves both programming and architectural subjects.
Firstly, sorry if it was asked previously, with other words or in another way. I just haven't found anything that matches with my issue.
Here we go. Supose that you have developed a WP app and uploaded it to Windows Store. Now supose you have a webpage named "any_dynamic_name_that_can_change.php" with a button that redirects you to your Windows Store app's page. And now, FROM THE APP (after you install it on your device), you want to know the page's name from where the Windows Store was accessed.
I've checked WP docummentations and I'm fully aware that WP SDK don't have any features that allow us to implement this behavior. In android SDK, one can make use of Referrer/BroadcastReceiver features to pass arguments through your page and Google Play. I've sussccesfuly made it in my Android's app version.
My question is: is there a solution to implement this "know-from" behavior? I don't care if it involves using third systems or saving arguments somewhere, or even if the solution is a "hard-to-do" task. I'm just looking for it, if it exists...
Any hints, comments and answers will be very welcome!
And sorry if my question wasn't well explained, or if it is too broad!
Unfortunately the Windows Phone Store does not provide this and has no way of providing the information that would be needed to implement this either.
The nearest thing you could do would be to look at the IP address of requests to the pages with the links and the first request from the app. Obviously there are lots of reasons why this wouldn't be a perfect solution but it may be better than nothing.
The only other solution would involve the person viewing the page(s) and the app to provide a unique identifier such as their credentials.
An alternative approach would be to track clicks on the individual pages. It wouldn't be able to tell you conversions once the person gets to the store but it could tell you which pages were the greatest drivers of people to your apps in the store.
There is a not so complex way to do that.
Requirements:
Register protocol handler into your app like myappname:// or similar.
The big flow for tracking installation referrer is:
1 - Redirect the user to your site into device system browser http://mysite.com/start_tracking
2 - in that page add cookie to keep track of source page
3 - then Redirect user to the windows phone market installation page
4 - ** INSTALLATION PROCESS ** (this register the protocol handler myappname://)
5 - On the first launch of your native app you need to open the system browser with http://mysite.com/referrer_2_app location, then sys browser send to your web server cookie information stored in step 2.
6 - Then your /referrer_2_app redirect the browser to myappname://cookievalue
7 - This automatically re-open your native app and .....
8 - You are able to read /cookivalue and close your tracking
Hope that this big picture is enough.
If someone need more details let me know.
Tobia

How to make the system duplicate a page when a new user registers

My idea is to have a sample page, when a user registers he will fill that sample, but I will create that sample just one time, and I want Joomla to create a copy of that empty sample with different URL each time a new user registers.
I'm thinking if there is any macro extension for joomla that can do that, do you know any?
Without that, I needed to create a sample or duplicate it myself each time a user registers and that's crazy!
Do you know any extension to duplicate the page each time the user registers?
There is any way that I can manipulate the system to do that?
I'm not sure, but I think you might be looking for something like Jomsocial. At registration, the user fills in information about themselves, which is then made available on their profile page.
Here is an example of the information that can be showed on their profile page http://www.jomsocial.com/community/101675-thanh/profile.html
Another extension similar to that would be Community builder. EDIT: Here is some more information on the registration and profile https://www.joomlapolis.com/community-builder#vtabs27
If I have misunderstood, can you write more about what your sample page is trying to do? Thanks.

Resources