#pragma mark ---- UITextViewDelegate
- (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text{
// 根据字符数量显示或者隐藏 `placeholderLabel`
if (textView.text.length > 0 && [text isEqualToString:@"\n"] == YES) {
[textView resignFirstResponder];
return NO;
}
//九宫格输入码误判为表情,处理
if ([text isEqualToString:@"➋"] || [text isEqualToString:@"➌"] || [text isEqualToString:@"➍"] || [text isEqualToString:@"➎"] || [text isEqualToString:@"➏"] || [text isEqualToString:@"➐"] || [text isEqualToString:@"➑"] || [text isEqualToString:@"➒"]) {
This file contains 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
;; Required setup for emacs init file | |
(package-initialize) | |
(require 'org) | |
(require 'org-protocol) | |
;; Set 'my-org-directory' to the base directory of all of | |
;; your org files (with a trailing slash). For me it's: | |
(setq my-org-directory "/scp:org:/home/orgmode/") | |
;; But it could be a local directory for you |
This file contains 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
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: cyan; icon-glyph: pray; | |
/* ********************************************** | |
by : @supermamon | |
on : 16 Oct 2021 | |
ver: 1.0.0 | |
for: https://www.reddit.com/r/Scriptable/comments/q8r061/make_widget_table_from_data_scraped_from_website/ | |
********************************************** */ |
This file contains 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
caf00ac49011e37f307503307408cfc8 01/28/21 20:18 private | |
d17ccddc630992c87d66f4b8f1d96f06 01/28/21 20:07 public | |
4938331650b6cf0ce7a94a0d6717fd5f 11/25/20 11:35 private description | |
037dae2568083ab417551050482d83a2 06/14/19 08:32 public | |
9acada44ffa1c7faad114c4f39f50634 05/28/19 07:57 public | |
74955febbbddf2d7c82dba84a8609275 05/28/19 07:47 public | |
45e609bae8aa48dc9abe9836da32b62d 02/27/19 06:43 private | |
+ c0d87bc77f11dde7ac601fb2d34b547e 02/08/17 10:48 public shell命令 | |
+ 902b8411a8cd6bc52859d9d130855f85 12/04/16 16:58 public The introduction to Reactive Programming you've been missing | |
760d3a9045ac107a722a6e16746b16dc 04/21/16 15:51 public scrollView API |
title | date | updated | comments |
---|---|---|---|
定制开源的CLImageEditor图片编辑工具 |
2019-06-13 22:19:57 +0800 |
2019-06-13 22:19:57 +0800 |
true |
other link 添加-ObjC
This file contains 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
# Configuration file for jupyter-notebook. | |
#------------------------------------------------------------------------------ | |
# Application(SingletonConfigurable) configuration | |
#------------------------------------------------------------------------------ | |
## This is an application. | |
## The date format used by logging formatters for %(asctime)s | |
#c.Application.log_datefmt = '%Y-%m-%d %H:%M:%S' |
This file contains 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
sdf |
This file contains 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
指令名称:ln | |
使用权限:所有使用者 | |
使用方式:ln[options]sourcedist其中option的格式为: | |
[bdfinsvF][Sbackupsuffix][V{numberedexistingsimple}] | |
[help][version][] | |
说明:Linux/Unix档案系统中有所谓的链接(link)我们可以将其视为档案的别名 | |
链接可分为两种:硬链接(hardlink)与软链接(symboliclink) | |
硬链接的意思是一个档案可以有多个名称而软链接的方式则是产生一个特殊的档案该档案的内容是指向另一个档案的位置 | |
硬链接是存在同一个档案系统中而软连结却可以跨越不同的档案系统 | |
lnsourcedist是产生一个连结(dist)到source至于使用硬连结或软链结则由参数决定 |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
This file contains 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
public var scrollsToTop: Bool | |
var scrollsToTop: Bool { get set } | |
Description | |
A Boolean value that controls whether the scroll-to-top gesture is enabled. | |
The scroll-to-top gesture is a tap on the status bar. When a user makes this gesture, the system asks the scroll view closest to the status bar to scroll to the top. If that scroll view has scrollsToTop set to false, its delegate returns false from scrollViewShouldScrollToTop:, or the content is already at the top, nothing happens. | |
After the scroll view scrolls to the top of the content view, it sends the delegate a scrollViewDidScrollToTop: message. | |
The default value of scrollsToTop is true. | |
On iPhone, the scroll-to-top gesture has no effect if there is more than one scroll view on-screen that has scrollsToTop set to true. |
NewerOlder