The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
- Image from https://www.archlinux.org/
| #! /usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import datetime | |
| from mock import patch | |
| from django.test import TestCase | |
| from django.utils import timezone | |
| class DatesTestCase(TestCase): |
The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
| 000000 Officially Xerox | |
| 000001 SuperLAN-2U | |
| 000002 BBN (was internal usage only, no longer used) | |
| 000003 XEROX CORPORATION | |
| 000004 XEROX CORPORATION | |
| 000005 XEROX CORPORATION | |
| 000006 XEROX CORPORATION | |
| 000007 XEROX CORPORATION | |
| 000008 XEROX CORPORATION | |
| 000009 powerpipes? |
| from sanic import Sanic | |
| import json | |
| import asyncio | |
| app = Sanic(__name__) | |
| feeds = {} | |
| class Feed(object): |
| ESP_ERROR_CHECK( esp_wifi_set_config(WIFI_IF_STA, &sta_config) ); | |
| ESP_ERROR_CHECK( esp_wifi_start() ); | |
| ESP_ERROR_CHECK( | |
| tcpip_adapter_set_hostname(TCPIP_ADAPTER_IF_STA, "custom-hostname") ); | |
| ESP_ERROR_CHECK( esp_wifi_connect() ); |
| openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 10000 -nodes |
| // Source https://bradenmacdonald.com/blog/2015/uwsgi-emperor-multiple-python | |
| Building a uWSGI Emperor for multiple python versisons | |
| September 5, 2015 | |
| This is a quick update to my tutorial on hosting Django Apps on Ubuntu with Nginx and uWSGI. I recently wanted to move to a mix of Python 3.4 and Python 2.7 web apps on one of my servers that was set up as described in that tutorial. Here's how to do that. | |
| Normally, I just install uWSGI using pip. The big downside of that approach is that it only builds uWSGI for the version of Python with which you install it. So to get one emperor that can run apps (vassals) with different versions of Python, we need to compile uWSGI. Luckily it's really easy. | |
| Here is an example of the required steps. Just run the following commands as root. |
| High level error codes | |
| 0x1080 PEM - No PEM header or footer found | |
| 0x1100 PEM - PEM string is not as expected | |
| 0x1180 PEM - Failed to allocate memory | |
| 0x1200 PEM - RSA IV is not in hex-format | |
| 0x1280 PEM - Unsupported key encryption algorithm | |
| 0x1300 PEM - Private key password can't be empty | |
| 0x1380 PEM - Given private key password does not allow for correct decryption | |
| 0x1400 PEM - Unavailable feature, e.g. hashing/encryption combination |
Postgres 15 is just out, and while there is a lot to love about this new release, you're in for a surprise if you try to set it up with Django following tutorials like this one.
The reason is stated in the release announcement:
Remove PUBLIC creation permission on the public schema (Noah Misch) The new default is one of the secure schema usage patterns that Section 5.9.6 has recommended...
Provided your web app doesn't access your database as a superuser (it shouldn't) and uses a dedicated user, it is not allowed to use the public schema anymore. You have to create one for this specific user, and the next section will
hi, i'm daniel. i'm a 15-year-old high school junior. in my free time, i hack billion dollar companies and build cool stuff.
3 months ago, I discovered a unique 0-click deanonymization attack that allows an attacker to grab the location of any target within a 250 mile radius. With a vulnerable app installed on a target's phone (or as a background application on their laptop), an attacker can send a malicious payload and deanonymize you within seconds--and you wouldn't even know.
I'm publishing this writeup and research as a warning, especially for journalists, activists, and hackers, about this type of undetectable attack. Hundreds of applications are vulnerable, including some of the most popular apps in the world: Signal, Discord, Twitter/X, and others. Here's how it works:
By the numbers, Cloudflare is easily the most popular CDN on the market. It beats out competitors such as Sucuri, Amazon CloudFront, Akamai, and Fastly. In 2019, a major Cloudflare outage k