⚠️ Note 2023-01-21
Some things have changed since I originally wrote this in 2016. I have updated a few minor details, and the advice is still broadly the same, but there are some new Cloudflare features you can (and should) take advantage of. In particular, pay attention to Trevor Stevens' comment here from 22 January 2022, and Matt Stenson's useful caching advice. In addition, Backblaze, with whom Cloudflare are a Bandwidth Alliance partner, have published their own guide detailing how to use Cloudflare's Web Workers to cache content from B2 private buckets. That is worth reading,
This document contains excerpts from my web server logs collected over a period of 7 years that shows various kinds of recon and attack vectors.
There were a total of 37.2 million lines of logs out of which 1.1 million unique HTTP requests (Method + URI) were found.
$ sed 's/^.* - - \[.*\] "\(.*\) HTTP\/.*" .*/\1/' access.log > requests.txt
- NOTE: I had to reboot after doing this to eliminate display artifacts.
- Also, the dock doesn't appear to support using both of the displayport ports simultaneously :'(
- And MST (https://en.wikipedia.org/wiki/DisplayPort#Multi-Stream_Transport_(MST) ) doesn't seem to work on this dock, so you can't daisy chain monitors.
- download driver from http://www.displaylink.com/downloads/ubuntu
- unpack
Here's a list of mildly interesting things about the C language that I learned mostly by consuming Clang's ASTs. Although surprises are getting sparser, I might continue to update this document over time.
There are many more mildly interesting features of C++, but the language is literally known for being weird, whereas C is usually considered smaller and simpler, so this is (almost) only about C.
1. Combined type and variable/field declaration, inside a struct scope [https://godbolt.org/g/Rh94Go]
struct foo {
struct bar {
int x;| <?php | |
| /********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/ | |
| /* Change size for Yoast SEO OpenGraph image for all content | |
| * Credit: Yoast Development team | |
| * Last Tested: May 19 2020 using Yoast SEO 14.1 on WordPress 5.4.1 | |
| * Accepts WordPress reserved image size names: 'thumb', 'thumbnail', 'medium', 'large', 'post-thumbnail' | |
| * Accepts custom image size names: https://developer.wordpress.org/reference/functions/add_image_size/ | |
| */ | |
Source: https://opensource.com/business/16/2/top-6-open-source-crm-tools-2016 + community contributions
EspoCRM `github.com/espocrm/espocrm`_ PHP https://www.espocrm.com
| ! model | |
| pc101 Generic 101-key PC | |
| pc102 Generic 102-key (Intl) PC | |
| pc104 Generic 104-key PC | |
| pc105 Generic 105-key (Intl) PC | |
| dell101 Dell 101-key PC | |
| latitude Dell Latitude series laptop | |
| dellm65 Dell Precision M65 | |
| everex Everex STEPnote | |
| flexpro Keytronic FlexPro |
| # Basic setup to copy Wordpress files, | |
| # expected to be at '.', into the image | |
| FROM orchardup/php5 | |
| ADD . /code |
| MEMPTR, esoteric register of the ZiLOG Z80 CPU. | |
| by Boo-boo (first and draft English translation by Vladimir Kladov) | |
| As it is known, after the instruction BIT n,(HL) execution, bits 3 and 5 of the flag register become containing values that is not documented in the official documentation at all. Actually these bits are copied from the bits 11 and 13 of the internal register pair of Z80 CPU, which is used for 16-bit operations, and in most cases to handle addresses. This is usual practice for processors having 8-bits data bus working with 16-bits data. | |
| It is not known why and how these bits of the internal buffer register are copied to the flags register though. At least Sean Young in the "Undocumented Z80 Documented" refers to that phenomenon (http://www.myquest.nl/z80undocumented/) and a bit more info can be found in the Z80 description of another "nocash" project (http://www.work.de/nocash/zxdocs.htm) where such register pair is called as MEMPTR. Unfortunately until now attemts to crack the algorithm se |
| # BEGIN WordPress | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| # Prevent requests to index.php from being rewritten | |
| RewriteRule ^index\.php$ - [L] | |
| # Prefix specified PHP files with 'wordpress' | |
| RewriteRule ^((wp-login|xmlrpc)\.php) wordpress/$1 [R=301,L] |