I hereby claim:
- I am kyonli on github.
- I am kyon (https://keybase.io/kyon) on keybase.
- I have a public key ASClQJKzuCH1nV_82sfQeyo8H5Sx-UEibU8SIDz12LrsmQo
To claim this, I am signing this object:
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: ocserv | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
### END INIT INFO | |
# Copyright Rene Mayrhofer, Gibraltar, 1999 | |
# This script is distibuted under the GPL |
- (void)viewWillAppear:(BOOL)animated | |
{ | |
[super viewWillAppear:animated]; | |
if (self.tableView.indexPathForSelectedRow) { | |
[self.tableView deselectRowAtIndexPath:self.tableView.indexPathForSelectedRow animated:animated]; | |
} | |
} |
- rewrite: if ( !is_dir() && !is_file() && path ~ "^generate_204$" ) goto "generate_204.php" |
./configure --prefix=/usr/share/nginx \ | |
--sbin-path=/usr/sbin/nginx \ | |
--modules-path=/usr/lib/nginx/modules \ | |
--conf-path=/etc/nginx/nginx.conf \ | |
--error-log-path=/var/log/nginx/error.log \ | |
--http-log-path=/var/log/nginx/access.log \ | |
--pid-path=/run/nginx.pid \ | |
--lock-path=/var/lock/nginx.lock \ | |
--user=www-data \ | |
--group=www-data \ |
func configureNavBar() { | |
let navBackground = isNight(readerConfig.nightModeMenuBackground, UIColor.whiteColor()) | |
let tintColor = readerConfig.tintColor | |
let navText = isNight(UIColor.whiteColor(), UIColor.blackColor()) | |
let font = UIFont(name: "Avenir-Light", size: 17)! | |
setTranslucentNavigation(color: navBackground, tintColor: tintColor, titleColor: navText, andFont: font) | |
if FolioReader.nightMode { | |
UIApplication.sharedApplication().setStatusBarStyle(UIStatusBarStyle.LightContent, animated: true) | |
} else { | |
UIApplication.sharedApplication().setStatusBarStyle(UIStatusBarStyle.Default, animated: true) |
<Configuration> | |
<Add OfficeClientEdition="64" > | |
<Product ID="O365ProPlusRetail" > | |
<Language ID="zh-cn" /> | |
<ExcludeApp ID="Access" /> | |
<ExcludeApp ID="Groove" /> | |
<ExcludeApp ID="InfoPath" /> | |
<ExcludeApp ID="Lync" /> | |
<ExcludeApp ID="OneNote" /> | |
<ExcludeApp ID="Outlook" /> |
[CATransaction begin]; | |
[CATransaction setCompletionBlock:^{ | |
[_tableView scrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionMiddle animated:YES]; | |
}]; | |
[_tableView reloadRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationNone]; | |
[CATransaction commit]; |
[photoImgeView setImageWithURL:[NSURL URLWithString:photoPath] | |
completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType) { | |
if (cacheType == SDImageCacheTypeNone) { | |
photoImgeView.alpha = 0; | |
[UIView animateWithDuration:0.3 animations:^{ | |
photoImgeView.alpha = 1; | |
}]; | |
} else { | |
photoImgeView.alpha = 1; | |
} |
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: Aria2 | |
# Required-Start: $network $local_fs $remote_fs | |
# Required-Stop:: $network $local_fs $remote_fs | |
# Should-Start: $all | |
# Should-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Aria2 - Download Manager |
I hereby claim:
To claim this, I am signing this object: