corlydream / blog.corly.cc Goto Github PK
View Code? Open in Web Editor NEWblog
Home Page: https://corly.cc/
blog
Home Page: https://corly.cc/
https://corly.cc/2016/12/21/mysql/
CRUDinsert1INSERT INTO db1_name (field1,field2) SELECT field1,field2 FROM db2_name alter修改编码 12ALTER TABLE article
CHANGE COLUMN breif
breif
TEXT CHARACTER SET 'utf8mb4' NULL DEFAULT NULL ; conm
https://corly.cc/2017/02/15/MongoDB%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/
query查询某个字段是否存在 1db.course.find( { "lectures.lectures_count": { $exists: true } } ) update1db.standard_input.updateMany({},{$rename:{{"cacul
https://corly.cc/2015/07/25/%E8%A3%85%E9%A5%B0%E6%A8%A1%E5%BC%8F/
概念 动态地给对象添加一些额外的职责。就功能来说装饰模式比生成子类更为灵活。 在许多设计中,可能需要改进类的某个对象的功能,而不是该类创建的全部对象。例如,麻雀类的实例能连续飞行100米,如果用麻雀类创建5只麻雀,那么这5只麻雀都能连续飞行100米。假如想让其中一只麻雀能连续飞行150米,那我们应当怎么做呢?我们不想通过修改麻雀类的代码(也可能根本不允许修改)使得麻雀类创建的麻雀能够连续飞行15
https://corly.cc/2019/11/03/Ubuntu%E5%AE%89%E8%A3%85macOS-%E6%97%B6%E9%97%B4%E6%9C%BA%E5%99%A8/#more
安装avahi-daemon这个软件可以再局域网中广播,让 mac 的“时间机器”发下Linux上的 afp 服务 1sudo apt-get install avahi-daemon 新增配置文件 vim /etc/avahi/services/afpd.service 1234567891011121314151617<?xml version="1.0" standalone='no'
年轻代GC回收时间不稳定,会出现突刺下图是每分钟yong gc 所消耗的时间,没有规律的突刺。年轻代gc 使用的是 ParNew 并发收集, 下图是每分钟yong gc 的次数,可以看出每分钟gc的频率比较稳定。 每分钟gc次数没有变化,gc时间增加了,说明某次gc时间变长了。 一般程序有问题,造成的结果是每次gc时间都比较久。 再看看系统cpu有没有问题,有可能cpu压力比较大 cpu的均
https://corly.cc/2017/03/09/%E6%95%B0%E6%8D%AE%E6%B5%81%E9%87%8D%E5%AE%9A%E5%90%91Redirection/#more
数据流重导向可以将 standard output (简称 stdout) 与 standard error output (简称 stderr) 分别传送到其他的文件或装置去,而分别传送所用的特殊字符则如下所示: 标准输入 (stdin) :代码为 0 ,使用 < 或 << ; 标准输出 (stdout):代码为 1 ,使用 > 或 >> ; 标准错误
https://corly.cc/2016/07/03/%E8%A7%A3%E5%86%B3eclipse%E7%A9%BA%E6%A0%BC%E4%B8%8A%E5%B1%8F/
下载eclipse源码首先下载eclipse的源码,地址eclipse源码, 里面有org.eclipse.jface.text 这个插件的源码。 导入插件在eclipse中选择 File -> import -> Plug-ins and Fragments,点击 next,然后选择下载下来的 eclipse/plugins 点击 next 然后在输入框中搜索 jface.text
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.