- Arquitetura de Software: A diferença entre Arquitetura e Design - Eduardo Rabelo 📖 ⭐
- Software Architecture - The Difference Between Architecture and Design - Mohamed Aladdin 📖 ⭐
- Knocking down the Ivory Tower - Christopher Laine 📖
- The Ivory Tower Architect - Deep Shah 📖
- Modeling Software Architecture With C4 📖 ⭐
- [Software Architecture: The Most Important Architectural Patterns You Need to Know 📖 ⭐](https://levelup.gitconnected.com/software-architecture-the-important-architectural-patterns-you-need-to-know-a1f5e
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Polyfill SVG path support for iOS | |
*/ | |
SVGCircleElement.prototype.getTotalLength = function() { | |
let width = this.parentNode.clientWidth, // Get the parent node width (trying to get the current node width returns 0) | |
radius = width / 2, // Get the radius by dividing by 2 | |
length = 2 * Math.PI * radius; // Get the circumference from 2πr | |
// Return the calculated value | |
return length; |
This function create a saga that runs the sagas in the startingSagas
array and takes
the actions with type indicated by changeActionType
to replace the running sagas.
The replacing actions must have a field sagas
cointaining the array with the new sagas.
function createDynamicSaga (changeActionType, startingSagas) {
function* _start (sagas) {
try {
yield sagas
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var imageAddr = "https://upload.wikimedia.org/wikipedia/commons/2/2d/Snake_River_%285mb%29.jpg"; | |
var downloadSize = 5245329; //bytes | |
var oProgress = document.getElementById("speed"); | |
function ShowProgressMessage(msg) { | |
if (console) { | |
if (typeof msg == "string") { | |
console.log(msg); | |
} else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
/* Adjust font size */ | |
font-size: 100%; | |
-webkit-text-size-adjust: 100%; | |
/* Font varient */ | |
font-variant-ligatures: none; | |
-webkit-font-variant-ligatures: none; | |
/* Smoothing */ | |
text-rendering: optimizeLegibility; | |
-moz-osx-font-smoothing: grayscale; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// http://eslint.org/docs/rules/ | |
"ecmaFeatures": { | |
"binaryLiterals": false, // enable binary literals | |
"blockBindings": false, // enable let and const (aka block bindings) | |
"defaultParams": false, // enable default function parameters | |
"forOf": false, // enable for-of loops | |
"generators": false, // enable generators | |
"objectLiteralComputedProperties": false, // enable computed object literal property names |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* SSSL: smallest, simpelst script loader | |
* version: 1.0.1 | |
* | |
* API: | |
* Normal usage | |
* sssl(source [,complete]); | |
* | |
* Example: | |
* sssl('jquery.js', function(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF | |
appify v3.0.1 for Mac OS X - http://mths.be/appify | |
Creates the simplest possible Mac app from a shell script. | |
Appify takes a shell script as its first argument: | |
`basename "$0"` my-script.sh |