See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| #import the bpy module to access blender API | |
| import bpy | |
| #WARNING: this is written and tested for blender 2.79 | |
| #blender 2.8 and newer will likely have a different python API | |
| #create a property group, this is REALLY needed so that operators | |
| #AND the UI can access, display and expose it to the user to change | |
| #in here we will have all properties(variables) that is neccessary | |
| class CustomPropertyGroup(bpy.types.PropertyGroup): |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.
Install Raspbian Jessie (2016-05-27-raspbian-jessie.img) to your Pi's sdcard.
Use the Raspberry Pi Configuration tool or sudo raspi-config to:
| /* Copyright (c) 2016 Tobias Buschor https://goo.gl/gl0mbf | MIT License https://goo.gl/HgajeK */ | |
| /* focusin/out event polyfill (firefox) */ | |
| !function(){ | |
| var w = window, | |
| d = w.document; | |
| if (w.onfocusin === undefined) { | |
| d.addEventListener('focus' ,addPolyfill ,true); | |
| d.addEventListener('blur' ,addPolyfill ,true); | |
| d.addEventListener('focusin' ,removePolyfill ,true); |
| function int2ip (ipInt) { | |
| return ( (ipInt>>>24) +'.' + (ipInt>>16 & 255) +'.' + (ipInt>>8 & 255) +'.' + (ipInt & 255) ); | |
| } |
| // I needed flatuicolors.com as Sass variables... | |
| // In your console, run: | |
| $('.color').get().map(function(el) { return "$" + el.classList[1] + ": " + el.getAttribute('data-clipboard-text') + ';' }).join('\r\n'); | |
| // Output: | |
| // $turquoise: #1abc9c; | |
| // $emerland: #2ecc71; | |
| // $peter-river: #3498db; | |
| // $amethyst: #9b59b6; | |
| // $wet-asphalt: #34495e; |