Map | Action |
---|---|
<F1> | Causes Netrw to issue help |
<cr> | Netrw will enter the directory or read the file |
<del> | Netrw will attempt to remove the file/directory |
- | Makes Netrw go up one directory |
a | Toggles between normal display, hiding (suppress display of files matching g:netrw_list_hide) showing (display only files which match g:netrw_list_hide) |
c | Make browsing directory the current directory |
C | Setting the editing window |
d | Make a directory |
tldr; | |
DDD is primarily about modeling a Ubiquitous (= überall vertreten) Language in an Bounded Context. | |
It avoids the design of monolithic applications. | |
Use DDD when the business model complexity is high (higher than the technical aspects of the project). | |
Bounded Context - semantic contextual boundary | |
Within the boundary, each component of the software model has a specific meaning and does specific things | |
The components inside a Bounded Context are context specific and semantically motivated. | |
In the Beginning of software modeling the Bounded Context is only coceptual and is part of the Problem Space. |
tldr; | |
DDD is primarily about modeling a Ubiquitous (= überall vertreten) Language in an Bounded Context. | |
It avoids the design of monolithic applications. | |
Use DDD when the business model complexity is high (higher than the technical aspects of the project). | |
Bounded Context - semantic contextual boundary | |
Within the boundary, each component of the software model has a specific meaning and does specific things | |
The components inside a Bounded Context are context specific and semantically motivated. | |
In the Beginning of software modeling the Bounded Context is only coceptual and is part of the Problem Space. |
class Spiderman { | |
lookOut() { | |
alert('My Spider-Sense is tingling.'); | |
} | |
} | |
let miles = new Spiderman(); | |
miles.lookOut(); |
#!/bin/bash | |
leapyear=1 | |
year=${1:-$(date '+%Y')} | |
day=${2:-$(date '+%j')} | |
([ $(($day)) -lt 60 ]) || ([ $(($year % 4)) -eq 0 ] && ([ $(($year % 100)) -ne 0 ] || [ $(($year % 400)) -eq 0 ])) && | |
leapyear=0 | |
file=$(($day + leapyear)).jpg | |
qimgv /usr/local/share/daily-stoic/$file |
upstream comlog { | |
server unix:/tmp/comlog.socket; | |
} | |
server { | |
listen 80; | |
listen 443 ssl; | |
ssl_certificate /etc/nginx/certs/dev.comlog.crt; | |
ssl_certificate_key /etc/nginx/certs/dev.comlog.key; |
/********************************************************** | |
ADOBE SYSTEMS INCORPORATED | |
Copyright 2005-2010 Adobe Systems Incorporated | |
All Rights Reserved | |
NOTICE: Adobe permits you to use, modify, and | |
distribute this file in accordance with the terms | |
of the Adobe license agreement accompanying it. | |
If you have received this file from a source |
--- ----------------- ---- | |
Map Quick Explanation Link | |
--- ----------------- ---- | |
< <F1> Causes Netrw to issue help | |
<cr> Netrw will enter the directory or read the file |netrw-cr| | |
<del> Netrw will attempt to remove the file/directory |netrw-del| | |
<c-h> Edit file hiding list |netrw-ctrl-h| | |
<c-l> Causes Netrw to refresh the directory listing |netrw-ctrl-l| | |
<c-r> Browse using a gvim server |netrw-ctrl-r| | |
<c-tab> Shrink/expand a netrw/explore window |netrw-c-tab| |
I had a heck of a time getting a Cuckoo sandbox running, and below I hope to help you get one up and running relatively quickly by detailing out the steps and gotchas I stumbled across along the way. I mention this in the references at the end of this gist, but what you see here is heavily influenced by this article from Nviso
- Setup a Ubuntu 16.04 64-bit desktop VM (download here) in VMWare with the following properties:
- 100GB hard drive
- 2 procs
- 8 gigs of RAM
While building a React Chrome extension using the create-react-app
utility (v2.x), I came across the following error on loading my unpacked extension:
Refused to execute inline script because it violates the following Content Security Policy directive: “script-src ‘self’
blob: filesystem: chrome-extension-resource:”. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-
GgRxrVOKNdB4LrRsVPDSbzvfdV4UqglmviH9GoBJ5jk=’), or a nonce (‘nonce-…’) is required to enable inline execution.
Basically, this error arises as Chrome (or almost any modern browser) will not allow inline scripts to get executed. This CSP restriction resulted in the above error as the build script in create-react-app
bundles the .js
files in <script>
tags in the <body>
of index.html
.