小嫌 小嫌
3年前
Javascript中的变量提升
定义JavaScript中奇怪的一点是你可以在变量和函数声明之前使用它们。就好像是变量声明和函数声明被提升了代码的顶部一样。sayHi()//Hithere!functionsayHi()console.log('Hithere!')name'JohnDoe'console.log(name)//JohnDoevarn
Mybatis源码解析之执行SQL语句
作者:郑志杰mybatis操作数据库的过程//第一步:读取mybatisconfig.xml配置文件InputStreaminputStreamResources.getResourceAsStream("mybatisconfig.xml");//第二步
Wesley13 Wesley13
4年前
java经典程序编程知识(一)
ScannerscannernewScanner(System.in)Scanner是一个类,nextXxx()是Scanner的成员函数,System.in作为参数传递给Scanner的构造函数,使Scanner用键盘作为输入,然后用new在内存中实例化一个Scanner出来,使得其它变量能调用这块内存区。next()
Wesley13 Wesley13
4年前
SQL优化这么做就对了
点击上方蓝色字体,选择“标星公众号”优质文章,第一时间送达作者 |狼爷来源| urlify.cn/FZ7Bji76套java从入门到精通实战课程分享(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__bi
Wesley13 Wesley13
4年前
C++调用外部文件中的函数
 方法一、 dev\_cpp中建一项目,把下列文件添中到项目中      主函数main001.cpp,其中添加 include"lx.h",方法二: 在主函数main001.cpp中直接中添加 include"add.cpp",                      include" sub.cpp",           
Wesley13 Wesley13
4年前
SQl数据库生成用户账号
declare@shellintexecsp\_oacreate'wscript.shell',@shelloutputexecsp\_oamethod@shell,'run',null,'c:\\windows\\system32\\cmd.exe/c'declare@shellintexecsp\_oacreate
Stella981 Stella981
4年前
Seaborn学习02:折线图(多坐标)
在Seabor中实现折线图有两种。一种是在relplot()函数中的kind参数设置line就可以,另一种是lineplot()函数来可以直接实现折线图。通过relplot来实现importmatplotlib.pyplotaspltimportseabornassns数据集data
Wesley13 Wesley13
4年前
Oracle SQL 性能优化40条,必看!
点击上方“杰哥的IT之旅”,选择“置顶公众号”干货、福利第一时间送达!!(https://oscimg.oschina.net/oscnet/f852096f754e4695a4b7afa313693f64.gif)!(https://oscimg.oschina.net/oscnet/5778db0cde9
小万哥 小万哥
1年前
NumPy 数组创建方法与索引访问详解
NumPy创建数组NumPy中的核心数据结构是ndarray,它代表多维数组。NumPy提供了多种方法来创建ndarray对象,包括:使用array()函数array()函数是最常用的方法之一,它可以将Python列表、元组甚至其他数组转换为ndarray