A basic example of layering: FTP < TCP < IP < Ethernet
Benefis of layering:
- You can understand a layer without knowing much about the others.
- Minimize dependencies.
One file for each domain, both www.example.com and example.com need separate files:
{
"applinks": {
"apps": [],
"details": {
"9JA89QQLNQ.com.apple.wwdc": {| /** | |
| * ================== angular-ios9-uiwebview.patch.js v1.1.1 ================== | |
| * | |
| * This patch works around iOS9 UIWebView regression that causes infinite digest | |
| * errors in Angular. | |
| * | |
| * The patch can be applied to Angular 1.2.0 – 1.4.5. Newer versions of Angular | |
| * have the workaround baked in. | |
| * | |
| * To apply this patch load/bundle this file with your application and add a |
| def instacheck(name) | |
| unless /[a-z0-9._]{,30}/.match(name) | |
| return false | |
| end | |
| if /\.\./.match(name) | |
| return false | |
| end |
As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.
| <?php // Mind this opening PHP tag | |
| /** | |
| * Adds hidden content to admin_footer, then shows with jQuery, and inserts after welcome panel | |
| * | |
| * @author Ren Ventura <EngageWP.com> | |
| * @see http://www.engagewp.com/how-to-create-full-width-dashboard-widget-wordpress | |
| */ | |
| add_action( 'admin_footer', 'rv_custom_dashboard_widget' ); | |
| function rv_custom_dashboard_widget() { |
| import {Directive, ElementRef, Input} from '@angular/core'; | |
| @Directive({ | |
| selector: '[background-image]' | |
| }) | |
| export class BackgroundImage { | |
| private el: HTMLElement; | |
| constructor(el: ElementRef) { | |
| this.el = el.nativeElement; |
Published May-13-2020
Note: Apply TDD as much as you can.