Posts

Bugging Out About Code

Its one battle after another battle and not one you can always win. I've watched good ideas die before they even had a chance but even worse bad ideas take over development. Its a difficult thing to watch. I think the most important things on how to approaching this issue comes down to these points. Encouraging & passinate work environment. people who don't understand will try and want to here. Strong co-worker relationship working alone is nice but teams should come together on certain projects or piceces of code. Clear Objective goals If you can't get support from your team/manager then use deadlines to beat the competition.  It gets harder at this point to not just complain about things or talk about my experience. Whic think could give some insight. Instead I'll just follow my last point and and the article with this. Passion is never a negative and there's always another problem to be solve so don't burn yourself out.

Not just Open Source, but Something a little more

For the most difficult parts of my career I have pushed for open source among my peers. The number one benfit being standardized code, a benefit for everyone involved. I've even drawn  a fine line for everyone I'm come across with to make it simple. If a user can see your code they can take it, so why not improve it with the help of others. Let others improve upon it or poke holes in it. I've also pointed out to nay sayers that it is a good idea not to make your code specific to an application's needs. Aboid sensitive information that can get tangled inside your logic. Separate it, mask and encrypt it do whatever you got to do. As for frontend code in the modern world, its like writting a book. Your core will be read by someone. If it's good enough people will repeat it. Which is what you should want, Just like books some of the pages are unnecessary or fill up the book with more context which can tie it down. Its on that idea why I adopted other people's code

Android Cheatsheet

The best part about android now days is how easy firebase makes things. I could probably just get rid of all my notes and just list off all the firebase examples I used in the past but I think in the future I will have a few projects non-firebase. http://www.gradle.org/ http://stackoverflow.com/questions/16718026/how-to-build-an-android-library-with-android-studio-and-gradle http://stackoverflow.com/questions/26554996/change-toolbar-color-in-appcompat-21 http://stackoverflow.com/questions/5861661/actionbar-text-color http://stackoverflow.com/questions/13724007/how-to-send-notifications-from-a-website-to-an-android-app https://github.com/jreyes/UdacityXYZReader http://www.recursiverobot.com/post/60331340133/very-simple-example-of-a-loader-and-loadermanager http://stackoverflow.com/questions/22821139/how-should-i-track-fragments-in-google-analytics-v4 http://stackoverflow.com/questions/25381435/unconditional-layout-inflation-from-view-adapter-should-use-view-holder-patter ht

Angular Cheatsheet

http://stackoverflow.com/questions/13743058/how-do-i-access-the-scope-variable-in-browsers-console-using-angularjs https://stackoverflow.com/questions/15529496/a-way-to-know-when-angular-http-is-requesting https://stackoverflow.com/questions/18961332/angular-ui-router-show-loading-animation-during-resolve-process http://stackoverflow.com/questions/18646756/how-to-run-function-in-angular-controller-on-document-ready http://angularjs.blogspot.com/2014/03/angular-20.html https://www.airpair.com/angularjs/posts/top-10-mistakes-angularjs-developers-make http://stackoverflow.com/questions/15671471/angular-js-how-does-eval-work-and-why-is-it-different-from-vanilla-eval http://www.linkplugapp.com/a/1412749?utm_content=buffer7f89b&utm_medium=social&utm_source=linkedin.com&utm_campaign=buffer https://docs.angularjs.org/api/ng/directive/script http://www.pluralsight.com/courses/angularjs-dotnet-developers http://codepen.io/mcfoster/pen/vEgOoJ/ http://ghost.scriptwer

Aspnet MVC Cheatsheet

Probably the best place to start with this cheatsheet is with this blog itself. I have tons of articles under my tags "aspnet" and "aspnet-mvc" on this blog. Since aspnet is where I started in my career its probably the most important cheatsheet I should have ready. This article will always be on going... Assigning and Setting Bound models some of my notes here include javascript because so much of my code is, but you need to be aware how it ties in with the backend. Accessing Your Model's Data from a Controller Microsoft Workers Worry Most About Re-Org - Dice News Use View Models instead of FormCollection - Jaco Pretorius Assign Model property value from JavaScript value MVC 3 form post and persisting model data Setting property on the model object? (javascript) Controller without a form? Sending JSON to an ASP.NET MVC Action Method Argument JSON.stringify not converting array.object correctly (javascript) associative array to JSON (javascri

Linux Cheatsheet

With everything going on with logicoma, I will be frequently updating this page so I can just jump back into whatever system tasks at hand. I should add this I'm going to keep this focused on ubuntu/debian. http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html http://www.cyberciti.biz/faq/linux-viewing-drive-partitions-with-fdisk-parted/ X11 Forwarding using Putty on Windows - YouTube Storage http://tldp.org/LDP/lame/LAME/linux-admin-made-easy/checking-storage-space.html https://www.cyberciti.biz/faq/linux-check-memory-usage https://unix.stackexchange.com/questions/106561/finding-the-pid-of-the-process-using-a-specific-port Commands fdisk -l mkdir ← a directoy of where to mount the disk mount ← mount a disk using /dev/[disk] ln ← creates a link file from another name ← use 'a' to get all the information on the server rm /path/to/directory/* https://askubuntu.com/questions/402589/the-following-packages-were-automatical

Javascript Cheatsheet

At times I do still just use pure javascript and nothing else because how small I want the project to be. As always more coming soon... JavaScript best practices 19+ JavaScript Shorthand Coding Techniques Best way to find an item in a JavaScript array? - Stack Overflow Replace multiple whitespaces with single whitespace in JavaScript string - Stack Overflow javascript - How can I disable highlighting in html or JS? - Stack Overflow javascript - drag and drop, prevent awkward highlighting? - Stack Overflow Basic Json Request Using XMLHttpRequest Performance    There is a lot of talking about how to test the real performance of javascript and for the most part I have no clue where to start as I write this. Hopefully that will change be the end, skip to it if you dont want to learn the process as well. http://stackoverflow.com/questions/1003855/howto-benchmark-javascript-code Fun Example  function DisplayQuestions() { var Questions = new Array(20); Questions[