| Input | Action |
|---|---|
CTRL+U |
Page up 1/2 |
CTRL+D |
Page dw 1/2 |
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;This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
This is an anchor-linked version of the excellent, amazing original opus magnum by Michael Tandy.
Counterexample: Royal Opera House, Covent Garden, London, WC2E 9DD, United Kingdom.
Counterexample: 1A Egmont Road, Middlesbrough, TS4 2HT
| #import <UIKit/UIKit.h> | |
| #import <CoreText/CTFont.h> | |
| @interface UIFont (Traits) | |
| @property(nonatomic, readonly) CTFontRef CTFontRef; | |
| @property(nonatomic, readonly) CTFontSymbolicTraits traits; | |
| @property(nonatomic, readonly, getter=isBold) BOOL bold; | |
| @property(nonatomic, readonly, getter=isItalic) BOOL italic; |