Posts

CSS Side Borders for a HTML5 Game

Image
It's time to created a HTML game with a more efficient background. As it stands I have already created an effective way to display my icy landscape with the actual game load on top of the canvas. Making it so I don't have to clear the whole canvas to create animations.This is a great improvement verse what I had before,  it was a much bigger image and had everything inside it. So moving from there I separated the side borders and split them into two images. Using a Div around my canvas tag I set the left image as the background and the second image on the canvas tag itself. This was not enough I now wanted to see if I could use a single image flipped horizontally for the other side. The Setup < div id = "game" > < canvas id = "window" > Sorry but Canvas is not Supported </ canvas > </ div > First Attempt Doing some research I found a way to flip background image. The problem was the flip effecting both images and trying

Integrating Orchard CMS with an Existing MVC Apps

I have created multiple modules within the Orchard CMS framework and even setup complete systems that have helped maintain internal data but after all that I still had a question for myself. Can I use Orchard for a project where Orchard was not the focus of the application and integrated with existing applications. So in other words Orchard was an extension or a sub application. Resources Orchard Project - Integrate Orchard with existing asp.net web forms site asp.net mvc - How do I integrate Orchard CMS with a current MVC2 application? - Stack Overflow .net - Integrate existing ASP.NET MVC application with Orchard CMS - Stack Overflow Orchard Project - Integrating Orchard into existing MVC site Orchard Project - Can I integrate nopCommerce with Orchard Theory Using MVC's Area concept you might be able to create a MVC application and have Orchard rest inside the created area and if you wanted also have your database on a single or separate instance from the Orchard solut

Google App Engine: Ignoring Files/Folders on a Windows PC

This is a short article but important for my case since I have a lot of files that I do not want to release with the final production of my app. My assumption at first was that if your "app.yaml" file does not contain a handler for the specified a file or folder it would by simply ignore it but  does not seem to be the case. Resources Google App Engine App.yaml config for skip-files to ignore Mercurial files - Stack Overflow Create/rename a file/folder that begins with a dot in Windows? - Super User Summary Just put a dot in front as well as at the back of a folder/file's name.

Using TFS with Eclipse

Image
This article is from the experience I gain while setting out to complete my capstone and a point in time where I was exploring that ways to manage a team. I also wanted to help move things forward with the process for the team to code rather than spending more time on design. My capstone was along the side with three other colleagues and we did not all have the same idea with what systems or tools should be in place to help us achieve our tasks. Still after the fourth change of repository system in my team, I figured it was time that I took charge and started making changes for the better with my suggestion to use TFS. Plugin :  TFS Plug-in for Eclipse | Eclipse Plugins, Bundles and Products - Eclipse Marketplace Right Click Inside Project Explorer > Team > Shared Project The following plugin behaves much like the native built-in tool for visual studio but with a slight twist for the  tab locations because of how eclipse is setup. At first when I started researching thi

Visual Studio "Access Denied" When Checking in with TFS

The problem was that when I went to check in changes with Visual Studio, it would report back saying I did not have permission. I knew it couldn't have been the TFS setup because I had everything configured straight forward for a single user which was just me and I know it was fine since it was working a few days ago. The only thing that changed on my machine was the that I lost access to my domain account that I was working with. So I created a second account that has administrative permissions, which might have lead me to this problem. Resources You may receive an "Access is denied" error message when you try to debug a Web application in Visual Studio .NET, and you have administrative permissions  -  First search got the job done! Access Denied on TFS - Stack Overflow  - Just looking at other reasons that could have been the cause

Inheriting Apps with Asp.net MVC

While cleaning up some code in the webconfigs of an Asp.net MVC application I came across a line of code to which I had no knowledge of and even more so was showing up as an error.  I asked myself was it's purpose and most of all why was the Intellisense saying "The 'inheritInChildApplications' attribute is not allowed."? Resources How do I allow all users access to one route within a website with integrated auth? - Stack Overflow Changing ASP.NET web.config inheritance when mixing versions of child applications - Scott Hanselman Conclusion All the information can be seen and found in the following links but after looking at the comments you will find the reason behind the shown error.  " Be aware that the inheritInChildApplications attribute is not part of the web.config schema (even in VS 2012) so you will get blue  squiggles  under it with a message of "The 'inheritInChildApplications' attribute is not allowed." It will, however,

Penguins Rising: Eliminate render-blocking JavaScript

Image
For the most part I have already done a lot of the work for this and this has always been something in my practice to do. In the past what I have done is render all javascripts at the bottom of the page and all styles at the top inside the header. However with this application and since so much of my code is customized and mineralized, I believe I have a small issue with the Jquery taking up more time than the css to load. So Close to 100/100! Code (function () { var script = document.createElement('script'); script.setAttribute("type", "text/javascript"); script.setAttribute("src", "js/jquery-2.0.3.min.js"); document.getElementsByTagName("head")[0].appendChild(script); Resources Remove Render-Blocking JavaScripts - PageSpeed Insights — Google Developers HTML script async Attribute  - This might have also worked but look at later. javascript - load jquery after the pa

Popular posts from this blog

UI-Bootstrap Collapsible Sticky Footer

Installing Windows on Acer chromebook 15 cb3-532

Aspetcore: NLog with Postgresql