Let's print "Hi" 打印输出“Hi” In your first computer program, let's print something on the screen to display. 在您的第一个计算机程序中,让我们在屏幕上打印一些内容进行显示。 How can we i ...
分类:
其他好文 时间:
2020-07-24 09:35:30
阅读次数:
92
jQuery 添加元素append() prepend() after() before() 1,jQuery append() 方法 jQuery append() 方法在被选元素的结尾插入内容。 实例$("p").append("Some appended text."); 2,jQuery p ...
分类:
移动开发 时间:
2020-07-23 22:35:43
阅读次数:
88
题目链接:http://codeforces.com/contest/71/problem/A Sometimes some words like "localization" or "internationalization" are so long that writing them many ...
分类:
其他好文 时间:
2020-07-23 22:29:02
阅读次数:
80
01. sudo add-apt-repository ppa:fcitx-team/nightly 02. sudo apt-get update 03. sudo apt-get install fcitx 04. sudo apt-get install fcitx-config-gtk an ...
分类:
系统相关 时间:
2020-07-23 09:20:25
阅读次数:
475
Assigning a balloon color to each problem is one of the tasks we need to do every year, and sometimes itis tricky. We noticed that some contestants as ...
分类:
其他好文 时间:
2020-07-22 20:29:29
阅读次数:
62
pip 最常用命令 获取帮助 pip --help 升级 pip pip install -U pip 安装包 pip install SomePackage 卸载包 pip uninstall SomePackage 升级指定的包 pip install -U SomePackage 搜索包 pi ...
分类:
其他好文 时间:
2020-07-22 11:35:27
阅读次数:
76
1.Macos本地无法使用monkeyPatch调试的原因 引用一段原文,意思是,操作系统不能通过对一个内存页执行写和执行的操作。(Linux似乎没有这个问题) (Monkey won't work on some security-oriented operating system that do ...
分类:
系统相关 时间:
2020-07-21 14:23:37
阅读次数:
115
1、some(过滤) const bool = [2, 3, 4].some((v, i, a) => { // v当前值,i下标,a当前数组 console.log(v) console.log(i) console.log(a) return v > 1 // 只要有其中一个数值满足就不再执行 ...
分类:
编程语言 时间:
2020-07-21 14:11:25
阅读次数:
75
当基类中的函数被protected的时候,只有继承的子类才能访问,为了使得非继承的类也可以使用,使用friend class (类名)来进行操作 #include <iostream> using namespace std; class Lover{ public: Lover(string th ...
分类:
编程语言 时间:
2020-07-19 23:16:52
阅读次数:
128
This section describes lock types used by InnoDB. 翻译:本节描述了InnoDB使用的锁类型。 Shared and Exclusive Locks(共享锁和排他锁) Intention Locks(意向锁) Record Locks(记录锁) Gap ...
分类:
数据库 时间:
2020-07-18 22:25:46
阅读次数:
107