- Install
osxfuse:
brew cask install osxfuse-
Reboot your Mac.
-
Install
ntfs-3g:
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Upload File using jQuery.ajax() with progress support</title> | |
| </head> | |
| <body> | |
| <input type="file" name="file" id="sel-file"/> |
| FROM mysql | |
| ADD my.cnf /etc/mysql/my.cnf | |
| CMD ["mysqld", "--datadir=/var/lib/mysql", "--user=mysql"] |
| <?php | |
| if (!isset($_GET['ILoveMauticReallyIDo'])) { | |
| echo 'The secret phrase is wrong.'; | |
| die; | |
| } | |
| $link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; | |
| $allowedTasks = array( | |
| 'cache:clear', |
| // -------------------------------------------------- | |
| // Flexbox SASS mixins | |
| // The spec: http://www.w3.org/TR/css3-flexbox | |
| // -------------------------------------------------- | |
| // Flexbox display | |
| @mixin flexbox { | |
| display: -webkit-box; | |
| display: -moz-box; | |
| display: -ms-flexbox; |
| # [<tag>] (If applied, this commit will...) <subject> (Max 72 char) | |
| # |<---- Preferably using up to 50 chars --->|<------------------->| | |
| # Example: | |
| # [feat] Implement automated commit messages | |
| # (Optional) Explain why this change is being made | |
| # |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
| # (Optional) Provide links or keys to any relevant tickets, articles or other resources | |
| # Example: Github issue #23 |
osxfuse:brew cask install osxfuseReboot your Mac.
Install ntfs-3g:
| <system.webServer> | |
| <rewrite> | |
| <rules> | |
| <rule name="React Routes" stopProcessing="true"> | |
| <match url=".*" /> | |
| <conditions logicalGrouping="MatchAll"> | |
| <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> | |
| <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> | |
| <add input="{REQUEST_URI}" pattern="^/(api)" negate="true" /> | |
| </conditions> |
| #!/bin/bash | |
| # | |
| # Minimalistic_Pomodoro_Timer | |
| # | |
| # Based on the SU answer found here: https://superuser.com/questions/224265/pomodoro-timer-for-linux/669811#669811 | |
| # | |
| # Tested in Ubuntu 16.04 and Arch | |
| pomodorotime () { | |
| notify-send "Time to Work" "Focus" -u normal -a 'Pomodoro' -i $HOME/Documentos/icon.png | |
| paplay /usr/share/sounds/freedesktop/stereo/window-attention.oga |
DDD é um conjunto de boas práticas de orientação a objetos e um padrão de modelagem de sistemas, uma metodologia para aplicação de conceitos e padrões no projeto.
DDD tende a ser uma idéia geral focando em entender primeiro o domínio.
Os problemas em questão, os objetos com os quais está trabalhando.
São construídos os modelos primeiro, ferramentas para manipulá-los em segundo lugar, e depois a lógica de negócios no topo para resolver os problemas de domínio por exigência de negócios.
Normalmente trabalha em mecanismos de persistência em seguida, e apresentação por último.
Isso vem em contrapartida com o uso comum do Data-Driven Design ou Projeto Orientado a Dados, que a maioria dos desenvolvedores usa sem mesmo ter consciência disso. Devemos em um primeiro momento esquecer de como os dados são persistidos e nos preocupar mais em como representar melhor as necessidades de negócio em classes e comportamentos.
| #!/bin/env python3 | |
| import argparse | |
| import io | |
| import json | |
| import os | |
| import sys | |
| import urllib.parse | |
| import urllib.request | |
| from typing import Optional, NamedTuple |