CuterCorley CuterCorley
4年前
Python 字典 使用技巧
1.遍历字典的3种方式Python3中:pythond{'x':1,'y':2,'z':3}1.遍历keys:pythonforkind:print(k)print(dkey)或者pythonforkind.keys():print(k)print(dkey)2.遍历val
Wesley13 Wesley13
3年前
java8之lambda表达式(变量作用域)
通常,我们希望能够在lambda表达式的闭合方法或类中访问其他的变量,例如:package java8test;public class T1 {    public static void main(String args) {        repeatMessage("Hello", 20);
Stella981 Stella981
3年前
Hexo 主题配置
hexothemenext主题配置大全,图文并茂,持续更新中。1安装NexT主题参考hexothemenext主题官网(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fthemenext.iissnan.com%2F)1
Stella981 Stella981
3年前
Linux内核修炼之framebuffer分析
Linux(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Flib.csdn.net%2Fbase%2Flinux)源代码包中/document/fb/framebuffer.txt有例如以下介绍:Theframebufferdeviceprovidesanabstract
Wesley13 Wesley13
3年前
VS2019(Windows+Mac)编辑文件模板
macOS找到设置中的如图条目!(https://oscimg.oschina.net/oscnet/8d7c1644e489ca90f58f6a0c3c7e8be7ba4.png)设置如下内容:
Stella981 Stella981
3年前
Android版添加phonegap
1.下载插件包。2\.解压所下载的包,从lib目录中得到所需要的所有的库:BaiduSocialShareSDKAndroid2.0.0.jar3\.修改AndroidManifest.xml,增加以下权限:<usespermissionandroid:name"android.permiss
Stella981 Stella981
3年前
Linux学习:正则表达式习题
1.显示/etc/passwd文件中以bash结尾的行123\root@www ~\ grep n '\\(bash\\)$' /etc/passwd1:root:x:0:0:root:/root:/bin/bash38:Allen:x:500:500:Allen.Huang:/hom
Stella981 Stella981
3年前
Opencv读取并获取视频属性
opencv中通过VideoCaptrue类对视频进行读取操作以及调用摄像头.常用的操作如下:1、常用构造函数1.VideoCapture类的构造函数:C:VideoCapture::VideoCapture()C:VideoCapture::VideoCapture(conststring&filename)C
PostgreSQL:内存结构
本文分享自天翼云开发者社区@《》,作者:我是小朋友在Postgresql中,内存大概被分为两块Localmemoryarea:为每一个backendprocess分配的内存Sharedmemoryarea:PostgreSQLserver所有的backgr
凿壁偷光 凿壁偷光
2年前
SVN客户端SnailSVN Pro for mac
SnailSVNMac版是一款类似于TortoiseSVN的ApacheSubversion(SVN)客户端,与Finder紧密集成。SnailSVNMac版允许你从Finder的上下文菜单中快速访问各种最常用的SVN功能。