| /******************************************************************************* | |
| * Don't Be a Jerk: The Open Source Software License. | |
| * Adapted from: https://github.com/evantahler/Dont-be-a-Jerk | |
| ******************************************************************************* | |
| * _I_ am the software author - JohannesMP on Github. | |
| * _You_ are the user of this software. You might be a _we_, and that's OK! | |
| * | |
| * This is free, open source software. I will never charge you to use, | |
| * license, or obtain this software. Doing so would make me a jerk. | |
| * |
| # The standard now | |
| version: '2' | |
| # All of the images/containers compose will deal with | |
| services: | |
| # our strongloop service shall be known as 'api' | |
| api: | |
| # use your user name | |
| image: davepoon/strongloop-dev |
I work as a full-stack developer at work. We are a Windows & Azure shop, so we are using Windows as our development platform, hence this customization.
For my console needs, I am using Cmder which is based on ConEmu with PowerShell as my shell of choice.
Yes, yes, I know nowadays you can use the Linux subsystem on Windows 10 which allow you to run Ubuntu on Windows. If you are looking for customization of the Ubuntu bash shell, check out this article by Scott Hanselman.
| // An outline shader made for Unity with the help of @OverlandGame by @miichidk | |
| // It adjusts the size of the outline to automatically accomodate screen width and camera distance. | |
| // See how it looks here: https://twitter.com/OverlandGame/status/791035637583388672 | |
| // How to use: Create a material which uses this shader, and apply this material to any meshrenderer as second material. | |
| Shader "OutlineShader" | |
| { | |
| Properties | |
| { | |
| _Width ("Width", Float ) = 1 | |
| _Color ("Color", Color) = (1,1,1,1) |
EDIT: this is an old post and a lof the information in this document is outdated.
Git is a popular free and open source distributed version control system.
I am new to Unity, but as a long time git user, I wanted to use git for my
| /** | |
| * Based on @ericprieto code https://github.com/strongloop/loopback/issues/651#issuecomment-140879983 | |
| * place this file into common/mixins/disableAllMethods.js | |
| * | |
| **/ | |
| module.exports = function(Model, options) { | |
| if(Model && Model.sharedClass) { | |
| var methodsToExpose = options.expose || []; |
Some code allocates memory when running in the editor and not on the device. This is due to Unity doing some extra error handling so possible error messages can be output in the console. Much of this code is stripped during build. It's therefore important to profile on device, and do it regularly.
Optimizations often makes code more rigid and harder to reason. Don't do it until you really need to.
When profiling, wrap methods or portions of a method in Profiler.BeginSample(string name) and Profiler.EndSample() to make them easier to find in the profiler.
public class SomeClass {https://github.com/djvirgen/virgen-acl Simple and elegant, create your own checks. No middleware?
https://github.com/OptimalBits/node_acl Use as middleware, create your own roles and access. Great choice.
https://github.com/tschaub/authorized Similar to connect roles... but a bit more robust? you can create roles and action, and associate many roles with that action
