码迷,mamicode.com
首页 >  
搜索关键字:note to self    ( 21530个结果)
【iOS 知识汇】判断一串字符串是否都是汉字
/// 判断一串字符串是否都是汉字 - (BOOL)isAllCheniseWithString:(NSString *)string{ NSString *regex =@"(^[\u4e00-\u9fa5]+$)"; NSPredicate *pred = [NSPredicate predic ...
分类:移动开发   时间:2020-07-07 13:06:21    阅读次数:64
1503. Last Moment Before All Ants Fall Out of a Plank
We have a wooden plank of the length n units. Some ants are walking on the plank, each ant moves with speed 1 unit per second. Some of the ants move t ...
分类:其他好文   时间:2020-07-07 10:21:05    阅读次数:78
文件读取一些payload
#Windows: C:boot.ini //查看系统版本 C:WindowsSystem32inetsrvMetaBase.xml //IIS配置文件 C:Windowsrepairsam //存储系统初次安装的密码 C:Program Filesmysqlmy.ini //Mysql配置 C:P ...
分类:其他好文   时间:2020-07-07 09:49:57    阅读次数:73
conda配置安装pytorch tensorflow-gpu
// conda配置安装pytorch 1、新建环境,避免与基础环境出现冲突 conda create -n pytorch_gpu python=3.7 2、切换到pytorch环境 conda activate pytorch_gpu 3、安装基本框架 conda install pandasc ...
分类:其他好文   时间:2020-07-07 09:46:35    阅读次数:117
面试准备季——MyBatis 面试专题(含答案)
写在前面:2020年面试必备的Java后端进阶面试题总结了一份复习指南在Github上,内容详细,图文并茂,有需要学习的朋友可以Star一下!GitHub地址:https://github.com/abel-max/Java-Study-Note/tree/master1、什么是Mybatis?(1)Mybatis是一个半ORM(对象关系映射)框架,它内部封装了JDBC,开发时只需要关注SQL语句
分类:其他好文   时间:2020-07-06 20:06:15    阅读次数:59
springboot themleaf ajax总结
1.bootstrapTable updaterow后数据不重写回去 2.ajax post请求 3.summernote富文本框用法总结 4.bootstrap-table一个页面两个table ,一个options怎么获取不同数据 有时间来补充 ...
分类:编程语言   时间:2020-07-06 20:02:31    阅读次数:81
new self() 与 new static() 用法区别
new static()是php 5.3添加的延迟静态绑定(后期延迟绑定)功能。 它和new self()的相同点在于都是用来实例化一个类, 但new self()是实例化代码声明时所在的类, 而new static()是实例化调用时所在的类。 事例: class A{ public static ...
分类:其他好文   时间:2020-07-06 16:23:06    阅读次数:45
28实现strSTR()
class Solution: def strStr(self, haystack: str, needle: str) -> int: # 判断needle是否为NOne或者为空字符串 if not needle or len(needle) == 0: return 0 # 定义两个变量,用来接 ...
分类:其他好文   时间:2020-07-06 11:10:15    阅读次数:49
36. Valid Sudoku
package LeetCode_36 /** * 36. Valid Sudoku * https://leetcode.com/problems/valid-sudoku/description/ * * Determine if a 9x9 Sudoku board is valid. Onl ...
分类:其他好文   时间:2020-07-06 09:18:05    阅读次数:57
python单例模式
单例模式(Singleton Pattern)是一种常用的软件设计模式,该模式的主要目的是确保某一个类只有一个实例存在。当你希望在整个系统中,某个类只能出现一个实例时,单例对象就能派上用场。 import time class A(): instance=None def __init__(self ...
分类:编程语言   时间:2020-07-06 01:37:14    阅读次数:75
共21530条   上一页 1 ... 61 62 63 64 65 ... 2153 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!