This document serves as a quick overview for setting up a new M1 Mac for Python based development.
-
Install Docker Desktop https://www.docker.com/products/docker-desktop/
-
Install xcode command line tools
xcode-select --install
| // ==UserScript== | |
| // @name Medium Paywall Bypass | |
| // @namespace Violentmonkey Scripts | |
| // @run-at document-start | |
| // @match *://*/* | |
| // @grant none | |
| // @version 2.4_6 | |
| // @updateURL https://gist.githubusercontent.com/zzJinux/364725e7c61810719286d94e88a4e38c/raw/medium.user.js | |
| // @downloadURL https://gist.githubusercontent.com/zzJinux/364725e7c61810719286d94e88a4e38c/raw/medium.user.js | |
| // @website https://freedium.cfd |
This document serves as a quick overview for setting up a new M1 Mac for Python based development.
Install Docker Desktop https://www.docker.com/products/docker-desktop/
Install xcode command line tools
xcode-select --install
| from rest_framework import serializers | |
| from rest_framework.fields import empty | |
| from rest_framework.utils import html | |
| class CharacterSeparatedField(serializers.ListField): | |
| """ | |
| Character separated ListField. | |
| Based on https://gist.github.com/jpadilla/8792723. |
Shared memory is an efficient means of passing data between programs. Because two or more processes can use the same memory space, it has been discovered that, since shared memory is, by default, mounted as read/write, the /run/shm space can be easily exploited.
That translates to a weakened state of security.
If you’re unaware, shared memory can be used in an attack against a running service. Because of this, you’ll want to secure that portion of system memory.