Posts

Travis-Ci & Saucelabs Environment Variables

Firebase's example on how to auto deploy with Travis shows us a more secure way rather than how I did.  fassetar/jquery-maskmoney  if I can create a similar approach with this project I would feel better about the security. https://github.com/fassetar/site/blob/master/.travis.yml https://github.com/fassetar/jquery-maskmoney/blob/master/.travis.yml https://docs.travis-ci.com/user/environment-variables/ https://docs.travis-ci.com/user/encryption-keys/ https://saucelabs.com/platforms More coming soon...

Presteps to Making My Own CMS Part II

Before I try to create my own cms I looked recreating  some middlware for blogger. To be clear I didn't create my own database layer simple used Oauth and the blogger api's with a re-skinned UI/UX using Material Angular. I also created some tools for myself awhile I'm using the app and started creating a backup on github process like I talked about a few years back. http://stackoverflow.com/questions/31915099/how-do-i-get-an-instance-of-iappbuilder-elsewhere-in-my-asp-net-mvc-5-2-3-applic  http://stackoverflow.com/questions/32501238/how-exactly-iappbuilder-createperowincontextt-should-be-used/36044219#36044219  http://stackoverflow.com/questions/19669125/send-receive-email-with-google-oauth-2-and-asp-net-mvc https://www.asp.net/downloads/starter-kits/blog-engine

Powershell Cheatsheet

   One of the things that I have been getting use to is powershell, I'm not a server administrator.  Or at least if I'm going to be one I prefer linux. Most of my server are and I'm going to have a update here once I get my lab setup. For now this is how I manage my job and correct the systems that have gone wild. http://www.anotherchris.net/misc/starting-and-stopping-all-iis-sites-in-powershell/ http://stackoverflow.com/a/21674873/1265036 https://social.technet.microsoft.com/Forums/windows/en-US/be3afe83-4a7e-48a0-b2e7-95fd081a7571/login-to-website-using-powershell?forum=winserverpowershell http://stackoverflow.com/a/25035181/1265036 http://stackoverflow.com/questions/15528492/display-all-sites-and-bindings-in-powershell https://stackoverflow.com/questions/12789516/powershell-download-files-from-url-that-does-not-include-file-name-in-the-ur https://stackoverflow.com/questions/6204003/kill-a-process-by-looking-up-the-port-being-used-by-it-from-a-bat https://sta

Git Cheatsheet

I'm always handling the code wherever I go so maybe its time I shared my notes. I'm really surprised but I should with my experience how many developers don't know git. msysgit - git: 'credential-cache' is not a git command How do I update the password for Git? How do you attach a new pull request to an existing issue on github Squash commits! I'm always forgetting this and its really simple to do if you remember both commands. git rebase -i xxxxxxxxxxxxxxxx git push --force origin master "where xxxxxxxxxx is the SHA of the commit upto which I've to squash" .  Get username git config user.name Change Email git config user.email Caching Password on Windows. git config --global credential.helper wincred More coming soon...

Gimp Cheatsheet

I really should just get a graphic's designer to do all my work but that's probably the words of every developer has said. I don't have the skills or patience but sometimes my needs are very simple and that's really what I work with for my games. Someday I'll pay for one, maybe when I make actually money off my games. How to Smooth an Images Edge After Resizing - YouTube GIMP White Background Removal Tutorial - YouTube Pixilze an Image More coming soon..

Presteps to Making My Own CMS

A lot of these notes here are just my experiences and design changes to orchard cms for the pre-setup into how I will create my own cms. For my own cms I will not be using any of orchard's code but my experiences will help, also by getting familiar with orchard so I can move forward with my employer on other legacy applications that are dependent on aspnet 4.5. So its a win on both sides. Major Design Changes: SafeMode Theme - Removed/Moved Originally I was completely against having this feature at all however with some thought I think its a matter of default behavior in the core/module features. I did something similar with the Admin Theme menu.cshtml. Instead of changing the tag element view in the core file I simple rewrote the look of the admin menu. Instead of the admin menu adding all the classes to the li tag in the for-loop they are placed in the link tag for fontawesome. The key is no css or javascript just the html. SafeMode can only be used for display purposes at

A Dependency of Dependency Inject

Image
    I have voiced my opinion in the past on dependency injection, and even got myself in some stupid conversations with other developers who are little obsessed with this topic. I was first caught off guard because I questioned for my support for angular which I'll come back to in a minute. My first rule for using any tool or technology is to using it for its greatest strength and really use it or not at all. Which is creating tests around my code and creating versions of those dependencies."we need dependency injection for unit testing/scalability".  Neither of these reasons are wrong and I agree them but if you build blindly follow them without reason you miss the point. I one point used Ninject, and was actually stumped on the explanation given. This was because up to that point dependency injection was something I understood how to use but not its method. However I moved pass that point and started making my opinion clear. Show me the tests! The reason I given was sc

Popular posts from this blog

UI-Bootstrap Collapsible Sticky Footer

Installing Windows on Acer chromebook 15 cb3-532

Aspetcore: NLog with Postgresql