- https://en.wikipedia.org/wiki/ipkg
- https://en.wikipedia.org/wiki/opkg
- http://www.b.shuttle.de/hayek/hayek/jochen/wp/blog-en/2017/11/15/synology-optware/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # map of content type -> expires header | |
| map $sent_http_content_type $expires { | |
| default off; | |
| text/html epoch; | |
| text/css max; | |
| application/javascript max; | |
| ~image/ max; | |
| } | |
| # listen for BS traffic on 80 that lacks a hostname, and just serve |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - (void)viewDidLoad | |
| { | |
| [super viewDidLoad]; | |
| [[NSNotificationCenter defaultCenter] addObserver:self | |
| selector:@selector(keyboardWillShow:) | |
| name:UIKeyboardWillShowNotification | |
| object:nil]; | |
| [[NSNotificationCenter defaultCenter] addObserver:self | |
| selector:@selector(keyboardWillHide:) |