码迷,mamicode.com
首页 >  
搜索关键字:erb    ( 1223个结果
unittest
import unittestclass Mytest(unittest.TestCase): def setUp(self): print('start...') def test_001(self): self.assertEqual('a','b') print('001') def test ...
分类:其他好文   时间:2018-11-18 13:35:52    阅读次数:239
基于GDAL库,读取.grd文件(以海洋地形数据为例)C++版
基于GDAL库,读取.grd文件(以海洋地形数据为例)C++版 ...
分类:编程语言   时间:2018-11-17 11:56:54    阅读次数:196
内核启动时在挂载ubi文件系统时提示UBIFS error (ubi0:0 pid 1): ubifs_read_superblock: min. I/O unit mismatch
一.背景 1.1 笔者机器的内核错误信息如下: UBIFS error (ubi0:0 pid 1): ubifs_read_superblock: min. I/O unit mismatch: 2048 in superblock, 8 real 1.2 笔者为ubi文件提供的flash分区大小 ...
分类:其他好文   时间:2018-11-15 12:07:05    阅读次数:394
Tomcat启动时报org.springframework.web.context.ContextLoaderListener错误解决方案
问题现象:新从svn上检出maven的项目maven+spring+springmvc项目在Tomcat启动时,报如下错误。 严重: Error configuring application listener of class org.springframework.web.context.Con ...
分类:编程语言   时间:2018-11-14 14:36:24    阅读次数:311
QueryableHelper
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; namespac... ...
分类:其他好文   时间:2018-11-14 14:28:51    阅读次数:119
父与子的编程之旅2——easygui
1、要用EasyGui显示一个消息框,可以使用msgbox(),如下: easygui.msgbox("This is the answer!") 2、要用EasyGui得到一个字符串输入,要用enterbox,如下: easygui = easygui.enterbox("What is your ...
分类:其他好文   时间:2018-11-10 15:03:26    阅读次数:200
人工智能入门(二):语音识别基本模型
spectral analysis和formants,倒频谱,mel谱等feature有关; training和recognition涉及到:基础的(DWT,HMM,Viterbi等);高阶的(deep learning等)。 ...
分类:其他好文   时间:2018-11-10 10:49:34    阅读次数:247
Spark开发的完整基础_欢乐的马小纪
map是对每个元素操作, mapPartitions是对其中的每个partition操作 mapPartitionsWithIndex : 把每个partition中的分区号和对应的值拿出来, 看源码 val func = (index: Int, iter: Iterator[(Int)]) => ...
分类:其他好文   时间:2018-11-09 12:15:32    阅读次数:202
Linux基本命令 关机命令
linux下常用的关机命令有:shutdown、halt、poweroff、init;重启命令有:reboot。下面本文就主要介绍一些常用的关机命令以及各种关机命令之间的区别和具体用法。 首先来看一下linux下比较常用的一些关机命令 关机命令: 1、halt 立刻关机 2、poweroff 立刻关 ...
分类:系统相关   时间:2018-11-08 22:14:21    阅读次数:212
Django系列之第一个项目搭建
一、安装 (1)使用pip3 install django在控制台安装django; (2)添加到环境变量 二、创建项目 方式1:通过命令创建 (1)创建project: 通过django-admin.py startproject mysite: mysite为自己的项目名称 (2)创建app: ...
分类:其他好文   时间:2018-11-06 13:23:53    阅读次数:176
1223条   上一页 1 ... 45 46 47 48 49 ... 123 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!