numbers

Pages + Keynote + Numbers: 三件套,ipad pro必备app文字处理类、图形处理类、音乐处理类、工具类

匿名 (未验证) 提交于 2019-12-03 00:34:01
用iOS平台上使用了快7年了,这里分享一下我平时经常用的,和我发现的一些好用App。由于本人专业原因,这里分成一下几类: 原文地址: https://www.wentong.org/tech/201806212847.html 1.文字处理类 2.图形处理类 3.音乐处理类 3.工具类 一.文字处理类 1. Pages + Keynote + Numbers: 三件套,这个是iOS平台必备的,分别对应文字,幻灯片 和 表格。最重要的是免费。 2.PDF Expert: 处理PDF文件的软件,通常我都配合iBooks使用。 二.图形处理类 1.Procreate: 个人认为 iPad Pro 上面最好用的画图软件 4.Graphic:矢量图处理软件,同样有Mac版,方便后期到电脑里继续调整。 三.音乐类 GarageBand + Music Memous + Logic Remote: 苹果自家的三件套,需要配合Mac版一起使用。 四.工具类 1. Astropad:可以让iPad Pro 变成手绘板连接电脑使用,同时支持压感。 3.Penultimate + Evernote:都是同一个团队出的,一般记笔记就用这两个软件。 6.Calculator + MathPad:一定是你这辈子见过的最炫酷的计算器了,用过就知道了。两个软件都是一个团队出的。 栏目名称: iPad Pro

记录:列表排序(二)

匿名 (未验证) 提交于 2019-12-03 00:29:01
文章来源――JAVA程序员成功面试秘籍 冒泡排序 。效率低,最坏情况性能是O(n*n),最好情况性能是O(n)。 //伪代码 for i between 0 and ( array length - 2 ) if ( array [ i + 1 ]< array [ i ]) 交换 array [ i ]和 array [ i + 1 ] 一直重复,直到在一次完整的迭代中没有元素被交换 //冒泡排序例子 public void bubbleSort ( int [] numbers ){ boolean numbersSwitched ; do { numberSwitched = false ; for ( int i = 0 ; i < numbers . length - 1 ; i ++){ if ( numbers [ i + 1 ] < numbers [ i ]){ int temp = numbers [ i + 1 ]; numbers [ i + 1 ] = numbers [ i ]; numbers [ i ] = temp ; numbersSwitched = true ; } } } while ( numbersSwitched ); } 2. 插入排序 。 算法返回值是一个新的List,而且是链表LinkedList的实例

golang中map声明及初始化

匿名 (未验证) 提交于 2019-12-03 00:22:01
1 map简介 2 map声明 var map变量名 map[key] value var numbers map[string] int var myMap map[string] personInfo type personInfo struct { ID string Name string Address string } 3 map初始化 rating := map[string] float32 {"C":5, "Go":4.5, "Python":4.5, "C++":2 } myMap := map[string] personInfo{"1234": personInfo{"1", "Jack", "Room 101,..."},} numbers := make(map[string] int) myMap = make(map[string] personInfo) myMap = make(map[string] personInfo, 5) numbers["one"] = 1 myMap["1234"] = personInfo{"1", "Jack", "Room 101,..."} 4 map元素查找 value, ok := myMap["1234"] if ok{ //处理找到的value } 5 map元素修改(赋值) numbers["one

GO select用法详解

匿名 (未验证) 提交于 2019-12-03 00:19:01
在执行select语句的时候,运行时系统会自上而下地判断每个case中的发送或接收操作是否可以被立即执行(立即执行:意思是当前Goroutine不会因此操作而被阻塞) select的用法与switch非常类似,由select开始一个新的选择块,每个选择条件由case语句来描述。与switch语句可以选择任何可使用相等比较的条件相比,select有比较多的限制,其中最大的一条限制就是每个case语句里必须是一个IO操作,确切的说,应该是一个面向channel的IO操作。 下面这段话来自官方文档: send receive "switch" 语法格式如下: select { SendStmt: RecvStmt: default: } 其中, SendStmt : channelVariable <- value RecvStmt : variable <-channelVariable short variable declaration (IdentifierList := value) . The RecvExpr must be a (possibly parenthesized) receive operation(<-channelVariable). There can be at most one default case and it may appear

get extremes from list of numbers [closed]

限于喜欢 提交于 2019-12-02 23:57:05
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . If I have a list of numbers like this one: 10,9,8,8,9,7,6,5,4,6,7,8,11,10,12,14,16,20,30,29,28,29,27,25,20,18,15,10,8,5,4,1 I want to get the following numbers (accordint to this example) : 10,4,30,1 Is it

Regex pattern for capital letters and numbers only, with possible 'List'

非 Y 不嫁゛ 提交于 2019-12-02 23:54:28
What is the regex to match words that have the pattern: Number or Capital in any order * 3 (+possible 'List' on the end) For example, OP3 G6H ZZAList 349 127List are all valid, whereas a3G P-0List HYiList def YHr are all invalid. You can use the regex: ^[A-Z0-9]{3}(?:List)?$ Explanation: ^ : Start anchor [A-Z0-9] : Char class to match any one of the uppercase letter or digit {3} : Quantifier for previous sub-regex (?:List) : A literal 'List' enclosed in non-capturing paranthesis ? : To make the 'List' optional $ : End anchor See it 来源: https://stackoverflow.com/questions/6290173/regex-pattern

linux驱动设备号

与世无争的帅哥 提交于 2019-12-02 23:51:08
一、设备号基础   一般来说,使用ls -l命令在时间一列的前一列的数字表示的是文件大小,但如果该文件表示的是一个设备的话,那时间一列的前一列将有两个数字,用逗号分隔开,如下图:      前一个数字表示主设备号,后一个数组表示次设备号。 主设备号用来区分不同种类的设备,而次设备号用来区分同一类型的多个设备。   实际上主设备号和次设备号组合起来就是一个32位的数字,用dev_t类型表示,前12位表示主设备号,后20位表示次设备号。   可以通过MAJOR提取出主设备号,可以通过MINOR提取出次设备号,或者用MKDEV将主设备号和次设备号组合成一个dev_t类型的设备号,它们的定义见下图:        注意是在linux/kdev_t.h中定义的    在内核代码Documentation目录下的devices.txt中记录了已经使用的各个设备的主设备号和次设备号如下图:      比如/dev/mem主设备号为1,次设备号为1,这么说/dev/ram1主次设备号与/dev/mem一样,是不是就冲突了呢,事实上并没有/dev/ram1这个文件,如下图:    二、分配主设备号    方法一:静态申请     使用register_chrdev_region函数,该函数的原型如下: /** * register_chrdev_region() - register a range

How to show number of a line in a RichTextBox C#

倾然丶 夕夏残阳落幕 提交于 2019-12-02 23:50:52
I am making a simple text and script editor with code highlighting. For that I use a RichTextBox. But I don't know how to make it show the lines' numbers on the left side, like in VS or Notepad++. Is there any solution? Cheeso I tried re-using the code from the codeproject articles referenced elsewhere, but every option I looked at, seemed a bit too kludgy. So I built another RichTextBoxEx that displays line numbers. The line numbering can be turned on or off. It's fast. It scrolls cleanly. You can select the color of the numbers, the background colors for a gradient, the border thickness, the

conversiton to number doesn't work

柔情痞子 提交于 2019-12-02 23:45:11
问题 Can anyone explain to me why this code doesn't works correctly: var num = '10'; Number(num); console.log(typeof(num));//string parseInt(num); console.log(typeof(num));//string parseFloat(num, 10); console.log(typeof(num));//string console.log('-------------'); var num = '10'; var string = 'aklñjg'; num = Number(num); string = Number(string); console.log(typeof(num));//number console.log(typeof(string));//number num = parseInt(num); string = parseInt(string); console.log(typeof(num));//number

Why aren't rational numbers implemented and stored as fractions with zero loss of information? [closed]

这一生的挚爱 提交于 2019-12-02 23:38:58
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. I know this is a bit hypothetical but I am wondering why no language I know does it. For example, you want to store 1/3. Give the programmer an option to specify it as 1/3, and store 1 and 3. Something like struct float { int numerator; int denominator; };