This tutorial from Miguel Castro demonstrates a way to create single-page application (SPA) silos in ASP.NET MVC using its server-side routing, and merging that with Angular ng-view directive and routing to simulate nested views.
Web application R&D notes, from the world of Java, Flex, CSS, XHTML, Flash, .NET, cross-browser compatibility, JavaScript, AJAX, ADA compliance, Photoshop, and any and all things related to Web development!
28 January 2016
Great podcast with the Google Angular team
The Google Angular team sat down for the "Adventures in Angular" podcast, answering a ton of questions about the upcoming Version 2.0: https://devchat.tv/adventures-in-angular/078-aia-ng-beta-with-brad-green-mi-ko-hevery-and-igor-minar. An interesting tidbit... release date for RC is around March/April time-frame this year.
27 January 2016
Disable Chrome sign-in screen
Chrome has a logon screen that can become annoying. Instructions here provided the answer. To permanently disable it on Windows,
- Close out of Chrome.
- Go to C:\Users\user-name\AppData\Local\Google\Chrome\User Data\Default\
- Open the Preferences file with Notepad (or other text editor).
- Search for "sync_promo"
- Initially, it will look something like "sync_promo": { "startup_count": 6}
- Edit it to this:
"sync_promo":{"startup_count":6,"user_skipped":true,"view_count":4} - Save the file.
- Exit the text editor.
- Open Chrome. Viola! No more annoying logon screen.
26 January 2016
Stationary corner triangle DIV using CSS
Ever wanted a triangle DIV that hovers over the page and has a drop shadow? Here's one I built using nothing but CSS 3 and HTML5:
To modify the triangle, edit the border-width and border-color on the div#corner-triangle. Read more details on my Stack Overflow answer. You can also use the nifty CSS Triangle Generator.
To modify the triangle, edit the border-width and border-color on the div#corner-triangle. Read more details on my Stack Overflow answer. You can also use the nifty CSS Triangle Generator.
Learning Angular quickly
If you need to get up-to-speed on AngularJS quickly, nothing beats the collection compiled by the always great Aaron Marisi: Learning Angular Quickly. I'm just getting into the podcasts he lists, and recommend his resources.
Great beginning Angular tutorial
If you're starting with AngularJS on Visual Studio, look no further than Aaron Marisi's Angular First blog. He explains the basics and some more advanced subjects clearly and simply. Plus he follows best practices and provides the code for all his examples. Lots to learn here!
Run a program on Windows startup
I had a shortcut to a batch file that needed to run on the startup of Windows 10 x64 Enterprise startup. All the various methods described (adding to the Startup folder, adding to regular Run key in registry) didn't work. Finally, this post on Stack Overflow solved the issue. This should work well on other versions of Windows too.
Because this is a 64-bit Windows, the change has to be made in Wow6432Node:
Because this is a 64-bit Windows, the change has to be made in Wow6432Node:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunThere, you can add a new string value, give it a name, and then double-click to edit it. Place the full path of the program in double quotes. If it's something requiring administrator privileges, on startup, Windows will display the UAC dialog.
Subscribe to:
Posts (Atom)