- 厦门自由行之第一天:
大苏子在广漂
厦门三人行之杂记出发前一天:12️28日下午15:00从广州粗发,来深圳集合!但是中间发生一个小插曲,验票时候发现车票不见了,或许也是一场恶作剧,对于不排队的人,忍不住说了一下,接下来就发现车票不见了,已经是拿在手上!不过还好,可以凭借购票订单查看到信息,所以有惊无险,顺利进站!晚上三个人一起去吃了柠檬鱼,说实话,那会,感觉美吃饱,啊哈哈!晚上回来,两个人又开始彻夜长谈,发现身边优秀的人,一大把,
- 锋哥写一套前后端分离Python权限系统 基于Django5+DRF+Vue3.2+Element Plus+Jwt 视频教程 ,帅呆了~~
java1234_小锋
Python权限系统django权限系统pythonweb权限系统djangoDRFVUE权限python
大家好,我是java1234_小锋老师,最近写了一套【前后端分离Python权限系统基于Django5+DRF+Vue3.2+ElementPlus+Jwt】视频教程,持续更新中,计划月底更新完,感谢支持。视频在线地址:打造前后端分离Python权限系统基于Django5+DRF+Vue3.2+ElementPlus+Jwt视频教程(火爆连载更新中..)_哔哩哔哩_bilibili项目介绍本课程采
- 家庭杂记 2022.03.14
怡然自得的花花
1今天是孩子们居家学习的第一天,姐姐的第一次网课的第一堂课是班队课。老师在给孩子们讲了一些关于YQ当中在家学习时,如果遇到一些心理上的问题要如何去化解和处理的方法。晚上我和老马在讨论的时候就觉得现在的老师们或者说现在的教学在这一点上还是真是和我们那时候比起来进步了不少,开始更多地在关心孩子们的心理健康。我们所在片区虽然是FF区,但老马为了不给同事们造成一些心理压力,也主动提出了居家办公,可能接下来
- 大四合院杂记(四十三,六相公的梦想就是吃饱饭)
高领001
四十三,六相公的梦想就是吃饱饭六相公是村里的五保户,一直单门独户,我们这些小屁孩的,小一点的喜欢听他讲故事,稍微大一点了,就会跟着更大一点的孩子瞎起哄:“相公相公,穿个花衣衫,娶个麻子婆,生个孩子没屁眼!”听他讲故事那时候,他很高兴,他喜欢讲他小时候受苦的故事,解放前,给财主放牛,吃不饱,穿不暖,还会挨打。他那时的梦想就是能吃饱饭。因为他是孤儿,住的地方是茅草棚子,夏天外面下大雨,里面下小雨;冬天
- python语言程序设计教程-Python语言程序设计(视频教程)
weixin_37988176
——为什么要学习计算机编程?——因为编程是件很有趣的事儿,能启迪思维,还有诗和远方...Python语言,由GuidovanRossum大牛在1990年发明,它是当今世界最受欢迎的计算机编程语言,也是一门对大多数人“学了能用、学了有用、学会能久用”的计算生态语言。本课程是一门体现大学水平的Python语言入门课程,采用“理解和运用计算生态”为教学理念,面向Python零基础学习者,不要求学习者有任
- 放风筝杂记
心和
今天,我从平台买的风筝到了。正好是星期天,正好春暖,正好有和煦的微风,儿子自己挑的风筝,收到,他自然高兴,欢喜打开,安装好,我们俩一起去东边麦田里放风筝。我长这么大,还是第一次放飞风筝。儿子小,他把放风筝的任务交给了我,在我的记忆中,风筝开始要起跑才能飞起,我试了两次,不是这样。应该是边放飞边松拉线,风筝就上飞了,我放着轮里的线,它边随着线的增长而飘摇向上,直到我将线放的很长很长,它飞得很高很高,
- 全国离线地图矢量地图矢量数据点线面数据
一个比新手旧的新手
bigemapjava开发语言
矢量数据、数据珍贵、谨慎下载同步视频教程:http://www.bigemap.com/video/play2018020621.html专题地图制作视频教程:http://www.bigemap.com/video/play201801172.html矢量测试数据下载:KML(KMZ)格式、DXF(DWG)格式、SHP格式:(请用BIGEMAP直接打开,可另存为SHP,DXF(AutoCAD)等
- 元日杂记
花委尘
2019年的元旦,难得睡了个懒觉。醒来,朋友圈一片喜气洋洋迎新岁,各种群内红包漫天洒。我羡慕生活中这些无忧无虑,活色生香,离我似乎总远了一米。出门兜了一圈,天气倒随我,没有见雪为晴,而是一种逼仄的阴冷。说是白天,却有一种奇怪的亮,是老天爷一种似笑非笑,似哭非哭的表情。大概他也在尴尬着,摆不平雨雪风晴各路人马。我对这位老天爷很是无奈,因为他摆平了我。我在他面前谨小慎微,言听计从,可是他不偏爱我。自从
- 如何利用马桶时间?
琴弦X
琴弦一.读闲书马上、枕上、厕上。这是古人读闲书的三个指定位置。三日不读书,你就会有像没洗澡一样,一声脏污秽亏。古人还云:“有书真富贵,无事小神仙”。闲人读闲书,可以说是地上神仙,享尽人间清福。闲中觅伴书为上,身外无求睡最安,是非荣辱不到处,卷书一榻清昼眠。于是我总坐在马桶上翻个几页,不管是漫话杂志,还是画册小集,亦或是小诗杂记,还真有些,身心一起清的感觉。二.写杂记。趁着如此轻松,静谧之际,写上几
- 包含所有的计算机视频教程
rart2008
程序人生windows移动开发企业应用网络分布式应用asp.net
计算机视频教程http://www.study66.cn/soft/show.asp?id=1237北京师范大-多媒体视频http://www.study66.cn/soft/show.asp?id=1240北京理工大学编译原理串讲http://www.study66.cn/soft/show.asp?id=1241北京大学计算机网络视频教程http://www.study66.cn/soft/s
- 你必须知道的真正的学习步骤
一点动见
我们会发现许多人都不会学习,为什么呢?因为他们以为听完课,就知道了,这是一种严重错误的思维。切记:知道不等于会,实践才有结果!我喜欢把听课当做练吸星大法,只吸收干货,不消化是不行的,所以还需要练习化工大法,把这些干货消化掉,变成自己的技能。化功大法如何练习呢?一共五个步骤:[玫瑰][玫瑰][玫瑰]第一步:学习无论是听课,还是看书,看视频教程,都是学习的第一步,这一步仅仅起到的是一个了解的作用,并不
- 万名学者好评的python教程:珍藏版python、java视频资料免费送。
UU带你进入编程世界
一:首先祝各位老师教师节快乐,为了回馈伟大的老师们,小编精心准备了一份很多学者给予好评的python+Java最全视频教程+珍藏TXT资料+大纲免费赠送给大家!二:由于是珍藏版资料,小编赠送名额有限,需要的抓紧时间,手慢无哦三:由于私信数量有限,由小编微信发送大家网盘链接四:私信人数比较多,小编都会一一回复大家,请大家耐心等待获取方式:关注评论后私信小编即可获取资料!图片发自App图片发自App图
- Python自动化办公2.0 即将发布
百里图书
自动化人工智能python
第一节课:数据整理与清洗第二节课:数据筛选、过滤与排序第三节课:高级数据处理技巧第四节课:数据可视化与实践案例第五节课:统计分析与报表第六节:常见的Excel报表与下方的课程形成知识体系:Python自动化办公(面向2020,Python3.7,不断更新ing)_在线视频教程-CSDN程序员研修院https://edu.csdn.net/course/detail/28031Python机器学习教
- 病中杂记
Aaron_Swartz
*以前,总是认为自己喜欢运动,便可以疏忽对身体的照料。然,昨2日突染感冒,发烧。当夜甚是痛苦,整夜不得眠,欲求药而不得,只能忍着。中间起来好几回,都是弄水给自己喝。以至于两日不敢洗澡,衣物也不敢更换。白天到公司效率低下,然吾心中纵使有百般不愿,也只能独自承受,旁人亦不得见,意志消沉,天线落下。回到家中,暖气亦坏,其中心情,可想而知。但皆此种种,皆有因果,不造恶业,不得恶果。不做好事,焉得福报。回家
- Unity Apple Vision Pro 开发(五):PolySpatial 2.0 导入方式
YY-nb
#UnityAppleVisionPro开发applevisionprounityxr
文章目录XR开发者社区链接:SpatialXR社区:完整课程、项目下载、项目孵化宣发、答疑、投融资、专属圈子视频教程:苹果VisionPro开发5—PolySpatial2.0导入方式课程内容:AppleVisionPro的Unity开发工具PolySpatial更新到了2.0以上的版本,在发布这篇文章的时候还处于预览版(Beta测试版),导入方式与之前的版本相比会有些变化,并且2.0新增,改变了
- 刘大杰《中国文学发展史》读书笔记48
小神仙记录薄
短篇小说的进展(一)严格地说起来,我国六朝时代的小说,还没有成形。这并不是因其内容的荒谬,而是因其形式与描写的拙劣与贫弱。六朝的作品,只是一些没有结构的残丛小语式的杂记,叙事没有布置,文笔亦极俗浅,实在还算不得小说。中国的文言短篇小说,在艺术上发生价值,在文学史上获得地位,是起于唐代的传奇。那些传奇,建立了相当完满的短篇小说的形式,由杂记式的残丛小语,变为洋洋大篇的文字,由三言两语的记录,变为非常
- 2022年自学Java就业全面学习路线
正等正觉*
Javajava开发语言spring编程语言后端
很多人私信问我们公司的技术栈是什么,如果今年打算学习Java应该主要学习哪些内容,这篇文章我就以一线互联网大厂的标准,为大家罗列出2022年的Java学习的主要内容,内容可能有点多,因为我是以我们公司年薪30万的Java工程师标准写的,如果需要这些知识点的各种资料,我可以免费分享给大家使用,都是我们公司内部培训员工的高质量资料。需要以下全部视频教程以及文字资料可以在文章末尾处添加我微信名片获取。J
- 日常杂记
沙雕少女最优秀
今天10月5日,日更第二天,今天的天气极其寒冷,两个字形容,那就是“真爽”!不知怎么的,大部分地区强降温,着实让许多人都受不了,关键是昨天已经和朋友约好出来游玩,怎么也没想到这么冷的天气,因为只是国庆回家,没有拿太厚的衣服,但家里的衣服又全都搬到了学校,就这样,我成了没有厚衣服穿的小孩。图片发自App骑电动车走在路上,耳边风声呼呼,大树的叶子也被吹得呼啦啦全掉了下来,给人一种好清冷的感觉,路上也有
- CPU亲和性设置 代码示例 sched_setaffinity sched_getaffinity
爱串门的小马驹
集合通信linux运维服务器
视频教程在这:cpu亲和性设置,NCCL,sched_setaffinitysched_getaffinity,CPU_ZERO、SET、ISSET、linux_哔哩哔哩_bilibili一、CPU亲和性简介CPU亲和性(CPUAffinity)设置是操作系统中一个重要的性能优化手段,它允许程序或进程被绑定到特定的CPU核心上运行。这样做的好处包括减少缓存未命中、降低线程迁移(contextswi
- thinkphp5支持php,如何让swoole完美支持ThinkPHP5呢
坎布里奇大脸猫
thinkphp5支持php
视频教程推荐TP5与workerman实战在线客服首先开启swoole的http服务开启swoole的http服务并设置提供给url访问页面的文件的根目录,代码如下。这样在浏览器只能访问…static下面的文件,而无法访问其他目录下的文件。http.serverset(['enable_static_handler'=>true,'document_root'=>"/usr/local/openr
- 2024年Python爬虫:爬取招聘网站系列 - 前程无忧
2401_84562659
程序员python爬虫开发语言
importpprint#格式化输出模块importcsv#保存csv数据算了,我直接贴代码吧,流程都写清楚了,我把注释也标上了。兄弟们在学习的时候没有人解答和好的学习资料教程就很痛苦,解答或者其它教程都在这了电子书、视频都有!对应视频教程:【Python爬虫】招聘网站实战合集第一弹:爬取前程无忧,零基础也能学会!f=open(‘python招聘数据1.csv’,mode=‘a’,encoding
- 2020杂记(106)万物都有自己的节奏
宁超群
1我不仅入睡难,醒得早,睡眠还很浅,半夜有一丁点声音就会醒过来,半天睡不着。偏偏卧室外面的空地正在修建学校和市场,有时候通夜都是机器的轰鸣声。最近一段时间,醒得越来越早,醒后就再也睡不着。凌晨五点左右,会全身发热。白天老是犯困,身体总是僵着,像是黏着牛皮糖一样,连脑袋也不灵光了,做事效率越来越低。“我是不是早更了?”我跟朋友开玩笑。“啥早更?你现在更已经是正常时间段了。”“你找打哦!”“你的身体节
- 日常杂记
气体_81bd
随着孩子一天天长大,专职宝妈的心中也因为和社会越来越脱节而心生惶恐,最近的状态就是:如果哪天看书了,心情就好点,否则就处于急躁加恐慌。这不,刚刚妈妈接了个电话,是一个从小看我长大的叔叔的,他听到我专职在家带孩子,很是诧异,居然连问了三遍确认,我听到了,心中更是无奈,看娃娃真的是占据太多时间,完全没有自己的空间,不知道什么时候能好点呢?还好,有盼头,等她上幼儿园了,我就可以重新回职场了,但是这之前真
- 2020杂记(102)整合资源进课堂
宁超群
【摘录】制作《银汤匙》研究笔记时,先生会借助词典、百科事典等彻底查阅,但即便如此,也依然会有搞不清楚的地方。那该怎么办呢?据说,先生是直接写信向当时健在的《银汤匙》作者中勘助先生求教。《全世界都想上的课》P37【感悟】仅从桥本先生对教材的研究精神,我们也会被他折服,期待着能上他的课。借助工具书彻底查阅,我们平时在做教学准备的时候,也会用到,不算稀奇。但是桥本先生能够主动去联系作者来解答疑惑,却是我
- python pdf-pythonPDF书籍十三本
weixin_37988176
pythonPDF书籍十三本闯客网技术论坛部分Python资料合集,闯客网还有很多关于编程语言的学习资料和项目案例等免费下载,还有c++,c语言,java,Android和前端等等等的编程资料,应有尽有,资料可以在群获取,也可以加群交流学习和探讨:613377058:python视频教程资料下载列表:https://bbs.usoftchina.com/forum.php?mod=forumdis
- Ae全套插件一键安装包,免费视频教程安装包网盘资源
全网优惠分享君
随着数字媒体的普及,视频制作和后期处理变得越来越重要。AdobeAfterEffects(简称Ae)作为一款专业的视频特效制作软件,被广泛应用于电影、电视、广告等领域。然而,Ae的功能非常强大,也因此需要安装许多插件来扩展其功能。对于许多新手来说,手动安装插件可能会有些困难。为此,本文将介绍如何一键安装Ae全套插件,并提供免费视频教程安装包网盘资源。一、Ae全套插件一键安装包对于想要快速安装Ae全
- 回乡杂记|三三探幽
之川_f6c2
我知道影子没有求用,但是我要找回我的影子。我已经走了很久的路,很远很远。我记得我穿过了一片松林,厚厚的绵软的松针让双脚无比舒适。不时,在路边看到松针层凸起的小包,我轻轻地将它扒开,一朵或几朵奶黄而油滑的菌子显露出来,鲜艳而丰满,让我精神倍振。我记得我经过了一片坟堆,荒凉、破败,夕阳斜照残碑,我有时弯腰辨认碑上的字迹。生不闻名,死或留志,这或许也是人生一点安慰。我坐在一个垮落的坟旁,想起了写聊斋的蒲
- 【生活杂记】夜游黄鹤楼
7未末
夜游黄鹤楼明天正式对外开放了,今天是预演出,在开场前的半小时,我被通知去观看。好在距离黄鹤楼很近,10分钟后,我准时到达。没有看到预告,一切都是未知,我随着人流停留在了第一处表演区,幻彩留影,明月当空,秋风送爽,夜登黄鹤楼,可谓精神气爽。一切好似没有发生即使这么大的疫情面前,黄鹤楼经历这场疫情洗礼后,经过半年的策划,惊艳在武汉人民面前,除了震撼,就是骄傲。黄鹤一去不复返,白云千载空悠悠。黄鹤楼在1
- 上海杂记(一)
隔壁的小宝
上次游历祖国的大好河山还是差不多8年前。现在想来,只记得去了西安古城。那段稀稀散散的记忆,如今却怎么也没办法想起来当时游历的心情。或许是因为时间太过长久,也或许是因为那时的注意力更多的在于游玩,而并不是细细体会一座城市独特的魅力。我暗暗想,阔别十七年之后,今年在去上海上课时一定要用心感受这座城市的物,景与生活。我是个北方人,在北京生活了多年早已习惯了北方初春满天飞舞的白絮,盛夏令人汗流浃背的闷热,
- shell就是linux的终端,linux中终端与shell的概念
二营长的意大利炮ii
shell就是linux的终端
壳(Shell):Shell是指“提供给使用者使用界面”的软件(命令解析器)。我们在使用Linux时不直接与系统打交道,而是通过Shell的中间程序。为什么称之为shell呢,是因为隐藏了操作系统底层的细节。shell也是控制系统的脚本语言,是控制系统启动、X11启动和很多其它实用工具的脚本解释程序。免费学习视频教程分享:linux视频教程图形Shell:UNIX/Linux下的图形用户界面GNO
- Spring4.1新特性——综述
jinnianshilongnian
spring 4.1
目录
Spring4.1新特性——综述
Spring4.1新特性——Spring核心部分及其他
Spring4.1新特性——Spring缓存框架增强
Spring4.1新特性——异步调用和事件机制的异常处理
Spring4.1新特性——数据库集成测试脚本初始化
Spring4.1新特性——Spring MVC增强
Spring4.1新特性——页面自动化测试框架Spring MVC T
- Schema与数据类型优化
annan211
数据结构mysql
目前商城的数据库设计真是一塌糊涂,表堆叠让人不忍直视,无脑的架构师,说了也不听。
在数据库设计之初,就应该仔细揣摩可能会有哪些查询,有没有更复杂的查询,而不是仅仅突出
很表面的业务需求,这样做会让你的数据库性能成倍提高,当然,丑陋的架构师是不会这样去考虑问题的。
选择优化的数据类型
1 更小的通常更好
更小的数据类型通常更快,因为他们占用更少的磁盘、内存和cpu缓存,
- 第一节 HTML概要学习
chenke
htmlWebcss
第一节 HTML概要学习
1. 什么是HTML
HTML是英文Hyper Text Mark-up Language(超文本标记语言)的缩写,它规定了自己的语法规则,用来表示比“文本”更丰富的意义,比如图片,表格,链接等。浏览器(IE,FireFox等)软件知道HTML语言的语法,可以用来查看HTML文档。目前互联网上的绝大部分网页都是使用HTML编写的。
打开记事本 输入一下内
- MyEclipse里部分习惯的更改
Array_06
eclipse
继续补充中----------------------
1.更改自己合适快捷键windows-->prefences-->java-->editor-->Content Assist-->
Activation triggers for java的右侧“.”就可以改变常用的快捷键
选中 Text
- 近一个月的面试总结
cugfy
面试
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/46753275
前言
打算换个工作,近一个月面试了不少的公司,下面将一些面试经验和思考分享给大家。另外校招也快要开始了,为在校的学生提供一些经验供参考,希望都能找到满意的工作。 
- HTML5一个小迷宫游戏
357029540
html5
通过《HTML5游戏开发》摘抄了一个小迷宫游戏,感觉还不错,可以画画,写字,把摘抄的代码放上来分享下,喜欢的同学可以拿来玩玩!
<html>
<head>
<title>创建运行迷宫</title>
<script type="text/javascript"
- 10步教你上传githib数据
张亚雄
git
官方的教学还有其他博客里教的都是给懂的人说得,对已我们这样对我大菜鸟只能这么来锻炼,下面先不玩什么深奥的,先暂时用着10步干净利索。等玩顺溜了再用其他的方法。
操作过程(查看本目录下有哪些文件NO.1)ls
(跳转到子目录NO.2)cd+空格+目录
(继续NO.3)ls
(匹配到子目录NO.4)cd+ 目录首写字母+tab键+(首写字母“直到你所用文件根就不再按TAB键了”)
(查看文件
- MongoDB常用操作命令大全
adminjun
mongodb操作命令
成功启动MongoDB后,再打开一个命令行窗口输入mongo,就可以进行数据库的一些操作。输入help可以看到基本操作命令,只是MongoDB没有创建数据库的命令,但有类似的命令 如:如果你想创建一个“myTest”的数据库,先运行use myTest命令,之后就做一些操作(如:db.createCollection('user')),这样就可以创建一个名叫“myTest”的数据库。
一
- bat调用jar包并传入多个参数
aijuans
下面的主程序是通过eclipse写的:
1.在Main函数接收bat文件传递的参数(String[] args)
如: String ip =args[0]; String user=args[1]; &nbs
- Java中对类的主动引用和被动引用
ayaoxinchao
java主动引用对类的引用被动引用类初始化
在Java代码中,有些类看上去初始化了,但其实没有。例如定义一定长度某一类型的数组,看上去数组中所有的元素已经被初始化,实际上一个都没有。对于类的初始化,虚拟机规范严格规定了只有对该类进行主动引用时,才会触发。而除此之外的所有引用方式称之为对类的被动引用,不会触发类的初始化。虚拟机规范严格地规定了有且仅有四种情况是对类的主动引用,即必须立即对类进行初始化。四种情况如下:1.遇到ne
- 导出数据库 提示 outfile disabled
BigBird2012
mysql
在windows控制台下,登陆mysql,备份数据库:
mysql>mysqldump -u root -p test test > D:\test.sql
使用命令 mysqldump 格式如下: mysqldump -u root -p *** DBNAME > E:\\test.sql。
注意:执行该命令的时候不要进入mysql的控制台再使用,这样会报
- Javascript 中的 && 和 ||
bijian1013
JavaScript&&||
准备两个对象用于下面的讨论
var alice = {
name: "alice",
toString: function () {
return this.name;
}
}
var smith = {
name: "smith",
- [Zookeeper学习笔记之四]Zookeeper Client Library会话重建
bit1129
zookeeper
为了说明问题,先来看个简单的示例代码:
package com.tom.zookeeper.book;
import com.tom.Host;
import org.apache.zookeeper.WatchedEvent;
import org.apache.zookeeper.ZooKeeper;
import org.apache.zookeeper.Wat
- 【Scala十一】Scala核心五:case模式匹配
bit1129
scala
package spark.examples.scala.grammars.caseclasses
object CaseClass_Test00 {
def simpleMatch(arg: Any) = arg match {
case v: Int => "This is an Int"
case v: (Int, String)
- 运维的一些面试题
yuxianhua
linux
1、Linux挂载Winodws共享文件夹
mount -t cifs //1.1.1.254/ok /var/tmp/share/ -o username=administrator,password=yourpass
或
mount -t cifs -o username=xxx,password=xxxx //1.1.1.1/a /win
- Java lang包-Boolean
BrokenDreams
boolean
Boolean类是Java中基本类型boolean的包装类。这个类比较简单,直接看源代码吧。
public final class Boolean implements java.io.Serializable,
- 读《研磨设计模式》-代码笔记-命令模式-Command
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/**
* GOF 在《设计模式》一书中阐述命令模式的意图:“将一个请求封装
- matlab下GPU编程笔记
cherishLC
matlab
不多说,直接上代码
gpuDevice % 查看系统中的gpu,,其中的DeviceSupported会给出matlab支持的GPU个数。
g=gpuDevice(1); %会清空 GPU 1中的所有数据,,将GPU1 设为当前GPU
reset(g) %也可以清空GPU中数据。
a=1;
a=gpuArray(a); %将a从CPU移到GPU中
onGP
- SVN安装过程
crabdave
SVN
SVN安装过程
subversion-1.6.12
./configure --prefix=/usr/local/subversion --with-apxs=/usr/local/apache2/bin/apxs --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr --with-openssl=/
- sql 行列转换
daizj
sql行列转换行转列列转行
行转列的思想是通过case when 来实现
列转行的思想是通过union all 来实现
下面具体例子:
假设有张学生成绩表(tb)如下:
Name Subject Result
张三 语文 74
张三 数学 83
张三 物理 93
李四 语文 74
李四 数学 84
李四 物理 94
*/
/*
想变成
姓名 &
- MySQL--主从配置
dcj3sjt126com
mysql
linux下的mysql主从配置: 说明:由于MySQL不同版本之间的(二进制日志)binlog格式可能会不一样,因此最好的搭配组合是Master的MySQL版本和Slave的版本相同或者更低, Master的版本肯定不能高于Slave版本。(版本向下兼容)
mysql1 : 192.168.100.1 //master mysq
- 关于yii 数据库添加新字段之后model类的修改
dcj3sjt126com
Model
rules:
array('新字段','safe','on'=>'search')
1、array('新字段', 'safe')//这个如果是要用户输入的话,要加一下,
2、array('新字段', 'numerical'),//如果是数字的话
3、array('新字段', 'length', 'max'=>100),//如果是文本
1、2、3适当的最少要加一条,新字段才会被
- sublime text3 中文乱码解决
dyy_gusi
Sublime Text
sublime text3中文乱码解决
原因:缺少转换为UTF-8的插件
目的:安装ConvertToUTF8插件包
第一步:安装能自动安装插件的插件,百度“Codecs33”,然后按照步骤可以得到以下一段代码:
import urllib.request,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a30980927
- 概念了解:CGI,FastCGI,PHP-CGI与PHP-FPM
geeksun
PHP
CGI
CGI全称是“公共网关接口”(Common Gateway Interface),HTTP服务器与你的或其它机器上的程序进行“交谈”的一种工具,其程序须运行在网络服务器上。
CGI可以用任何一种语言编写,只要这种语言具有标准输入、输出和环境变量。如php,perl,tcl等。 FastCGI
FastCGI像是一个常驻(long-live)型的CGI,它可以一直执行着,只要激活后,不
- Git push 报错 "error: failed to push some refs to " 解决
hongtoushizi
git
Git push 报错 "error: failed to push some refs to " .
此问题出现的原因是:由于远程仓库中代码版本与本地不一致冲突导致的。
由于我在第一次git pull --rebase 代码后,准备push的时候,有别人往线上又提交了代码。所以出现此问题。
解决方案:
1: git pull
2:
- 第四章 Lua模块开发
jinnianshilongnian
nginxlua
在实际开发中,不可能把所有代码写到一个大而全的lua文件中,需要进行分模块开发;而且模块化是高性能Lua应用的关键。使用require第一次导入模块后,所有Nginx 进程全局共享模块的数据和代码,每个Worker进程需要时会得到此模块的一个副本(Copy-On-Write),即模块可以认为是每Worker进程共享而不是每Nginx Server共享;另外注意之前我们使用init_by_lua中初
- java.lang.reflect.Proxy
liyonghui160com
1.简介
Proxy 提供用于创建动态代理类和实例的静态方法
(1)动态代理类的属性
代理类是公共的、最终的,而不是抽象的
未指定代理类的非限定名称。但是,以字符串 "$Proxy" 开头的类名空间应该为代理类保留
代理类扩展 java.lang.reflect.Proxy
代理类会按同一顺序准确地实现其创建时指定的接口
- Java中getResourceAsStream的用法
pda158
java
1.Java中的getResourceAsStream有以下几种: 1. Class.getResourceAsStream(String path) : path 不以’/'开头时默认是从此类所在的包下取资源,以’/'开头则是从ClassPath根下获取。其只是通过path构造一个绝对路径,最终还是由ClassLoader获取资源。 2. Class.getClassLoader.get
- spring 包官方下载地址(非maven)
sinnk
spring
SPRING官方网站改版后,建议都是通过 Maven和Gradle下载,对不使用Maven和Gradle开发项目的,下载就非常麻烦,下给出Spring Framework jar官方直接下载路径:
http://repo.springsource.org/libs-release-local/org/springframework/spring/
s
- Oracle学习笔记(7) 开发PLSQL子程序和包
vipbooks
oraclesql编程
哈哈,清明节放假回去了一下,真是太好了,回家的感觉真好啊!现在又开始出差之旅了,又好久没有来了,今天继续Oracle的学习!
这是第七章的学习笔记,学习完第六章的动态SQL之后,开始要学习子程序和包的使用了……,希望大家能多给俺一些支持啊!
编程时使用的工具是PLSQL