码迷,mamicode.com
首页 > 2018年05月23日 > 全部分享
数据库升级,给某张表增加字段,防止重复升级时sql脚本报错
create or replace function func_add_column() returns int as$body$begin perform * from pg_tables where tablename = '表名'; if found then perform * from p ...
分类:数据库   时间:2018-05-23 22:09:09    阅读次数:191
字符串操作
id ='440508199907291717' area =id[0:6] birthday =id[6:14] sex =id[-2] print(area,birthday,sex) if (int(sex) %2 ==0): print('girl') else: print('boy') ... ...
分类:其他好文   时间:2018-05-23 22:09:02    阅读次数:125
字符串操作
id= '36072319990616004X' area = id[0:6] birthday = id[6:16] sex = id[-2] print(area,birthday,sex) if (int(sex) % 2 == 0): print('girl') else: print('b... ...
分类:其他好文   时间:2018-05-23 22:08:53    阅读次数:177
刘国柱- Unity游戏开发深度学习 系列课程福利大放送
刘国柱--Unity游戏开发深度学习 系列课程福利大发送!不单优惠, 还送Unity最新版本必备实战书籍。 HI, 各位热心的Unity爱好者与学员,《Unity3D/2D 游戏开发从0到1(第二版)》书籍已经正式发行。 这本书籍是在广受好评的2015年第一版基础之上,从“心”梳理,按照Unity最新版本做了重大改版优化的最新书籍:本书籍突出三个重大特色: “更新”、“更多”、“更实用”
分类:编程语言   时间:2018-05-23 22:08:46    阅读次数:268
hdoj 1069
Monkey and Banana Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 18640 Accepted Submission(s): 9 ...
分类:其他好文   时间:2018-05-23 22:08:28    阅读次数:148
字符串操作
id= ' 440111199903260346' area = id[0:6] birthday = id[6:14] sex = id[-2] print(area,birthday,sex) if (int(sex) % 2 == 0): print('girl') else: print('... ...
分类:其他好文   时间:2018-05-23 22:08:19    阅读次数:196
BaasServer
一、UI2设计好后,BaasServer编译,打包后。如果需要异地部署到其他apache-tomcat服务器上。 1、一定要把BassServer也要拷贝过去。tomcat平级 的位置创建一个runtime 目录,里面放置BaasServer。 2、在tomcat 启动的批处理中添加 环境变量:JU ...
分类:其他好文   时间:2018-05-23 22:08:12    阅读次数:170
数据库之mongodb
启动mongodb服务端 : sudo service mongod start 或者 sudo /usr/local/mongodb/bin/mongod --config /etc/mongodb.conf 停止mongodb服务端: sudo service mongodb stop 查询mo ...
分类:数据库   时间:2018-05-23 22:08:02    阅读次数:178
凯撒密码
s = input('明文:') for c in s: print(chr(ord(c)+3),end='') 明文:i love you l#oryh#|rx Process finished with exit code 0 s = input('密文:') for c in s: print... ...
分类:其他好文   时间:2018-05-23 22:07:55    阅读次数:144
字符串操作
id='440682199901084345' area = id[0:6] birthday = id[6:14] sex = id[-2] print(area,birthday,sex) if (int(sex) % 2 == 0): print('girl') else: print('bo... ...
分类:其他好文   时间:2018-05-23 22:07:40    阅读次数:132
Linux基础
linux基础 ip a 查看ip地址 ip addr 查看网卡 关机 shutdown h now 重启 shutdown r now 或者reboot linux目录结构及操作命令 linux目录结构 /bin 命令存放目录 /boot 启动目录 /dev 设备文件存放目录 /etc 配置文件存 ...
分类:系统相关   时间:2018-05-23 22:07:32    阅读次数:227
十三、结构类型(2)——结构
声明结构的形式 对于第一种和第二种形式,都声明了结构point。但是第三种形式没有声明point,只是定义了两个变量。 结构变量 结构初始化 结构成员 (1)结构和数组有点像。 (2)数组用[]运算符和下标访问其成员。 (3)结构用.运算符和名字访问其成员。 结构运算 (1)要访问整个结构,直接用结 ...
分类:其他好文   时间:2018-05-23 22:07:22    阅读次数:158
数据增强(每10度进行旋转,进行一次增强,然后对每张图片进行扩充10张patch,最后得到原始图片数*37*10数量的图片)
# -*- coding: utf-8 -*- """ Fourmi This is a temporary script file. """ import cv2 import os import numpy as np import random import math def extract_... ...
分类:其他好文   时间:2018-05-23 22:07:11    阅读次数:368
常用的Git命令整理
之前一直忙于项目苦于没有时间总结,今天刚好有时间特来总结一下在工作中常用到的代码版本管理器Git。至于为什么要用Git?Git相比SVN有哪些好处?我就不多说了,前人已经总结的很好。今天主要介绍的是常用的Git命令。 Git工作流 一般来说,日常使用只要记住下图6个命令,就可以了。 Remote:远 ...
分类:其他好文   时间:2018-05-23 22:06:47    阅读次数:187
字符串操作
stuNum = '201709090060' print('年级是:'+stuNum[0:4]) print('专业编号是:'+stuNum[4:9]) print('序号是:'+stuNum[-3:]) IDNo= '440509199906180026' print('省市是:'+IDNo[0... ...
分类:其他好文   时间:2018-05-23 22:06:38    阅读次数:152
字符串操作
idno ='440000199804024147' 地区=idno[0:6] 生日=idno[6:14] 性别=idno[-2] print(地区,生日,性别) if(int(性别) % 2 == 0): print('girl') else: print('boy') for i in rang... ...
分类:其他好文   时间:2018-05-23 22:06:28    阅读次数:144
字符串操作
id='440902199706280054' area=id[0:8] birthday=id[6:14] sex=id[-2] print(area,birthday,sex) if(int(sex) % 2 == 0): print('girl') else: print('boy') pri... ...
分类:其他好文   时间:2018-05-23 22:06:05    阅读次数:158
1378条   上一页 1 ... 8 9 10 11 12 13 14 ... 82 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!