码迷,mamicode.com
首页 >  
搜索关键字:author    ( 11116个结果
连表查询 复习
昨日内容回顾 创建 1 class Author(models.Model): #比较常用的信息放到这个表里面 2 name=models.CharField( max_length=32) 3 age=models.IntegerField() 4 authorDetail=models.OneT ...
分类:其他好文   时间:2020-06-21 14:17:44    阅读次数:54
【Spring注解驱动开发】如何使用@Bean注解指定初始化和销毁的方法?看这一篇就够了!!
写在前面 在【String注解驱动开发专题】中,前面的文章我们主要讲了有关于如何向Spring容器中注册bean的知识,大家可以到【String注解驱动开发专题】中系统学习。接下来,我们继续肝Spring,只不过从本篇文章开始,我们就进入Spring容器中有关Bean的生命周期的学习。 项目工程源码 ...
分类:编程语言   时间:2020-06-21 09:38:37    阅读次数:67
Linux : Forks()
/* * fork_test.c * version 1 * Created on: 2010-5-29 * Author: wangth */ #include <unistd.h> #include <stdio.h> int main () { pid_t fpid; int count=0; ...
分类:系统相关   时间:2020-06-20 19:41:54    阅读次数:64
33、JDK1.8新特性(Lambda表达式、Stream流)
Lambda表达式 package org.westos.demo; import java.util.ArrayList; import java.util.Comparator; /** * @author lwj * @date 2020/6/20 9:00 */ public class M ...
分类:其他好文   时间:2020-06-20 18:32:55    阅读次数:46
js判断字符串中是否包含特殊字符、中文
/** * @author:xc * @desc: 特殊字符校验 除了下划线 */ containSpecial(str) { var containSpecial = RegExp( /[(\ )(\~)(\!)(\@)(\#)(\$)(\%)(\^)(\&)(\*)(\()(\))(\-)(\+ ...
分类:Web程序   时间:2020-06-20 14:22:22    阅读次数:233
使用maven打包无框架的java项目
1、创建maven项目,项目结构如下: 2、创建启动类 /** * 启动类 * * @author Administrator * @date 6/20/2020 */ public class JarTestApplication { public static void main(String[ ...
分类:编程语言   时间:2020-06-20 13:47:54    阅读次数:54
python脚本随便记录一次
1 # -*- coding: utf-8 -*- 2 """ 3 Created on Mon Nov 25 17:07:26 2019 4 5 @author: user 6 """ 7 8 import pandas as pd 9 from pathlib import Path 10 im ...
分类:编程语言   时间:2020-06-20 11:30:33    阅读次数:56
python应用 曲线拟合03
问题 有许多待拟合的曲线,需批量拟合。 解决 写一个类 1 # -*- coding: utf-8 -*- 2 """ 3 @author: kurrrr 4 """ 5 6 import numpy as np 7 import matplotlib.pyplot as plt 8 import ...
分类:编程语言   时间:2020-06-20 11:07:00    阅读次数:61
Python基础 读取二进制文件
问题 有二进制文件中保存了 20 亿个 2 Bytes 的数,需将其读出,每 20000 个数作图,拟合后输出结果。 解决 1 # -*- coding: utf-8 -*- 2 """ 3 @author: kurrrr 4 """ 5 6 import struct 7 8 def main() ...
分类:编程语言   时间:2020-06-19 22:37:46    阅读次数:65
Codeforces Global Round 8
传送门 视频题解 先填坑,详细题解晚上晚些时候再补。先附上代码。 A. C+= /* * Author: heyuhhh * Created Time: 2020/6/18 22:46:31 */ #include <iostream> #include <algorithm> #include < ...
分类:其他好文   时间:2020-06-19 21:11:24    阅读次数:48
11116条   上一页 1 ... 44 45 46 47 48 ... 1112 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!