- 互相亏欠才是最好的关系
张马生汐
56140457-b0c7-4941-b925-dc88215fef2a.jpg大学毕业后,被安排到一家国企工作,在办公室里有两个极品兄台。一个口若悬河,任何时间、地点、场合,都有说不完的话。而且啥工作都不想干,总能找到各种理由,各种借口推脱给别人,有的时候推脱不下去了,就主动要求别人帮自己做,凭借着三寸不烂之舌外加三尺城墙厚般的脸皮,往往能达到自己的目的。一个沉默寡言,基本上没有工作需要,没有主
- gunicorn未重启,导致代码没拉到最新问题。
给我起把狙
gunicornlinux运维
问题描述:我的测试环境的django项目是用gunicorn启动的,然后我本地使用pythonmanagy.py启动的,新写了个接口,在本地测试没问题,在测试环境报404。我发现发了最新代码到远端,然后我在测试环境pull下来的时候出问题了,代码不是最新的,后来我的经理告诉我说要重启gunicorn的主进程给了我一条指令"kill-HUPgunicorn_pid(最小的)”,针对这个问题我大致做了
- 一招改掉孩子磨蹭的坏习惯
路姐说
https://shop43404796.youzan.com/wscvis/knowledge/index?p=contentshow&alias=2xctkvk0tdnk4&kdt_id=43212628&reft=1572314576745_1572320684212&spm=f.80650183_uc.43212628_fake43212628&sf=wx_menu#/contentsho
- [项目][WebServer][解析错误处理]详细讲解
DieSnowK
[项目]#[WebServer]C++开发语言linuxWebServer项目http解析错误处理
可为每种情况都确实对应一个状态码,当发生错误时,跳转到对应的html页面即可但是为了代码的复用性,可以将所有的错误情况都归置处理#defineSEP":"#defineLINE_END"\r\n"#defineWEB_ROOT"wwwroot"#defineHOME_PAGE"index.html"#defineHTTP_VERSION"HTTP/1.0"#definePAGE_404"404.h
- 记一次生产环境大面积404问题!
冰河团队
写在前面发布到线上的接口服务一直好端端的,今天突然运营反馈说很多功能无法正常使用。经过排查,发现前端调用后端接口时,部分接口出现404的现象。今天,我到公司比较晚,肯定是哪个小伙伴昨晚下班,走出办公室前没有祈祷服务器不要出问题。要把这个人揪出来,吊在服务器上——祭天!文章已收录到:https://github.com/sunshinelyz/technology-binghehttps://git
- 后端Controller获取成功,但是前端报错404
有一个好名字
SpringBoot前端spring
问题描述今天要做一个查看详情功能,debug时候能够成功进入到对应的Controller方法,Contorller方法里面也能得到对应的数据,但是前端页面一直报错404,显示对应的Controller方法路径找不到。解决Controller方法里面返回的是一个对象,但是我没有在该方法上加@ResponseBody注解。
- nvm下载node报错: Error retrieving “http://npm.taobao.org/mirrors/node/latest/SHASUMS256.txt“: HTTP Statu
你不讲 wood
javascript开发语言前端node.js
nvm下载node报错:Errorretrieving“http://npm.taobao.org/mirrors/node/latest/SHASUMS256.txt”:HTTPStatus404使用nvm下载node出现以下报错:原因是淘宝镜像源已经下架,所以访问资源报404错误找到nvm安装的路径:修改setting.txt配置文件为以下内容:root:D:\NVM_node\nvmpath
- 404 error when doing workload anlysis using locust on OpenAI API (GPT.35)
营赢盈英
AI人工智能pythonopenailocust
题意:"使用Locust对OpenAIAPI(GPT-3.5)进行工作负载分析时出现404错误。"问题背景:IamtryingtodosomeworkloadanalysisonOpenAIGPT-3.5-TURBOusinglocust."我正在使用Locust对OpenAIGPT-3.5-TURBO进行一些工作负载分析。"fromlocustimportHttpUser,between,tas
- 210404 一日三省(率性待人,顺其自然)
康永盛
210404一日三省1)今天要感恩的人与事:一天招待侄仔,早上接他,下午带他熟悉西南。辛劳父母招待。2)今天做的还好及欠妥的地方:偶尔一个人回家,感受不同状态与心境,也挺好。3)今天学习或强化的学识、思维与灵感:在任何社会,变化或稳定都是亿万人的情感和行为的综合结果。所有的问题与现象,背后都有逻辑基础,多看书多了解,有时候可以解答一些困惑,同时必须承认个人力量的极其渺小性。
- 2022-04-23
阿诗玛_6209
姓名:赵丽娟【日精进打卡第1525天】【知~学习】《六项精进》大纲0遍,共407遍;《六项精进》通篇0遍,共172遍;《大学》0遍;共607遍【今年计划读10本书】《理解人性》26~36《“偷懒”的技术,财务excel》26《避税:无限接近但不逾越》082《经营者养成笔记》101《六项精进》ok《京瓷哲学》404-408【经典名句】在一个崇高的目标支持下,不停地工作,即使慢,也一定会获得成功。一、
- yum源404导致Could not resolve host: mirrorlist.centos.org
热心市民梁先生
centoslinux运维
yum源更换错误问题记录网上查询到的部分源过旧,现在已经不存在404,可以将报错信息中的无法访问的地址在浏览器中尝试。如下http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock这个地址就已经不在。可以网上搜一下最新的镜像源,如http://mirrors.aliyun.com/repo/Centos-7.rep
- Vue项目:将资源路径使用相对路径后,部分图片无法显示
engineer_why
vue项目问题集vue.js前端javascript
Vue项目:将资源路径使用相对路径后,部分图片无法显示绝对路径通过上一篇文档,使用publicPath实现绝对路径转相对路径,这一篇,来说说我之后碰到的问题.在资源路径改变为相对路径后,我发现代码中比如css引入的图片,它还是处于绝对地址,并且没有办法显示出来,提示为404找不到图片。解决办法:通过less或scss,定义一个变量baseUrl,然后通过字符串拼接的方式,在url路径中拼接到原本图
- “迎国庆 送中秋”班队课
Lily小蕾
404班首届班队课在四位小姑娘的积极策划,家长们积极配合下,红红火火,热热闹闹地拉开帷幕!一、活动前奏图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片
- 【连载】今天的故事很平淡·入藏十三线纯徒日记
杉道
徒步进藏日检查·川藏北线篇DAY47起点:K1109小卖部终点:尼塔村距离:29KM步数:40454日期:2020.10.27·····原文链接:杉道·····柴火棚的保温效果不错,虽然离公路很近,但十一点后基本就没什么动静了,一觉睡到了天亮。还好老奶奶没有追来,一夜无梦,早晨借着邻居“卓玛”的热水,看着被朝阳染金的山峰,又出发了。刚走两公里就看到了传说中的K1111“光棍碑”,它安静地立在钢护栏
- 接口报404的一些可能的原因
颇有几分姿色
java基础javahttp
接口报404的一些可能的原因:1.接口路径错误:这是最常见的原因。比如,你可能错误地写成了/api/usres而不是/api/users。2.接口已被移除或更名:如果服务器的API接口发生变动(例如被删除或者重命名),那么请求旧接口的话,也会返回404错误。3.服务器路由配置问题**:如果服务器的路由没有正确配置,可能会导致有效的请求也返回404。例如,可能存在一些需要特定权限或者特定条件才能访问
- 使用Ananconda prompt创建环境时出现:UnavailableInvalidChannel: HTTP 404 NOT FOUND for channel simple
小新eQ
promptpythonpip
出现以下问题:UnavailableInvalidChannel:HTTP404NOTFOUNDforchannelsimple Thechannelisnotaccessibleorisinvalid.Youwillneedtoadjustyourcondaconfigurationtoproceed.Use`condaconfig--showchannels`toviewyourconfigu
- Anaconda报错
fengshuaicool
pythonpycharm开发语言
Anaconda更新一直报错,修改为国内镜像也不好使,最终找到了未被屏蔽的镜像。错误日志:UnavailableInvalidChannel:Thechannelisnotaccessibleorisinvalid.channelname:simplechannelurl:http://pypi.douban.com/simpleerrorcode:404意思是资源路径无效或无法访问;资源的url
- Conda创建环境失败:000和404错误
柚柚柚柚柚
conda
一、首先下载Anaconda1.打开网址Indexof/anaconda/archive/|清华大学开源软件镜像站|TsinghuaOpenSourceMirror,滑到最底部,下载Anaconda3-5.3.1-Linux-x86_64.sh。2.使用winscp拖动本地的Anaconda3-5.3.1-Linux-x86_64.sh到服务器的个人工作目录下。二、安装Anaconda软件,创建虚
- bfs 迷宫打印所有路径 java,bfs 较为全面的迷宫路径问题,包括路径的打印,起点到任一点的最小步数. | 学步园...
微果酱
/*提供的输入数据:输入行数列数起点终点然后输入任意点的位置,可求起点到终点的距离,00表示结束.input:6500041101110111101001011111101111110413404400output:DDDDRRUUURUR1210410#include#include#includeusingnamespacestd;constintmm=301;intmap[mm][mm];i
- 第12周数学建模作业
WinterCruel
数学建模
第12周数学建模作业1、考察温度x对产量y的影响,测得下列10组数据:温度(℃)20253035404550556065产量(kg)13.215.116.417.117.918.719.621.222.524.3求y关于x的线性回归方程,检验回归效果是否显著,并预测x=42℃时产量的估值.Matlab代码:x=[20,25,30,35,40,45,50,55,60,65];y=[13.2,15.1
- 丰盛日记20140410
linerhy
今天我们项目smcop启动了。自我感觉不是很好,原因主要是我自己没有把会议目标弄清楚。同时会议引导和时间把控的能力还很不足。好的地方是,给到每个人机会,表达了自己的想法,“我报名的初衷是什么?”,在大家的分享中,“以人为本,关注人,激活个人和团队”这些都被提到了,这是我们未来工作的指导思想。我把上次设计的“换位思考”小游戏执行了,一个晚上加班刷手机的现象,员工/主管/家长分别怎么想。大家的分享中很
- 来猜谜语啦11405
今思迟
【今思迟】制谜条数已达:11405上期榜上有名:byz高原沙默随笔【今日五谜】11401谜面:一卜便知非好兆(字)11402谜面:来到一阵吻儿女(成语)11403谜面:英莲若不遇薛皤(孟子句)11404谜面:万千不服人独钓寒江雪(词牌名)11405谜面:两果争先吃晏子早预知(水果)“来猜谜语啦”谜作分三档:1今日五谜:每日发布。2勇士挑战谜:不定期发布,不直接公布,在猜“今日五谜”回复中,有缘者随
- 番茄畅听邀请码是多少(附邀请码填写步骤教程+龙年邀请码大全)定恳
桃朵十三
欢迎,各位听众!这里有都市酷文、悬疑惊悚片、浪漫穿越、奇幻秀仙和武侠世界等各类节目等你来欣赏。番茄畅听邀请码分别是【43530241】、【47424044】和【46740241】现已公布。如果你在头条搜索极速版上寻找邀请码,同样也是这三个数字。我们非常欢迎大家的加入,但我们也注意到,许多人并不知道如何填写邀请码。别担心,接下来我们会提供详细的教程来帮助你。番茄畅听邀请码是多少?答案是【474240
- Nginx部署前端Vue项目的深度解析
小周不想卷
#前端vue入门前端前端框架nginxvue.js
目录一、准备工作1.1开发环境1.2服务器环境1.3Nginx安装二、构建Vue项目三、上传静态文件到服务器四、配置Nginx五、测试并重新加载Nginx六、访问Vue应用七、高级配置7.1启用HTTPS7.2启用Gzip压缩7.3缓存控制八、常见问题与解决方案8.1404错误8.2权限问题8.3跨域问题九、总结在现代Web开发中,Vue.js因其组件化、响应式数据绑定和易于上手的特点,成为了前端
- 心灵书写第9⃣️期:杂感二三则
angela玲
Day404月27日早起给密友回复她的问题,她是周四问到我,而我今天一早起来才回复她,我希望她不介意。我没有及时回复的理由不仅仅是忙碌,更因为我不愿意随随便便马马虎虎给她说几句,从而辜负了她对我的期望和我对她的真心支持。我想起思嘉给我讲到在玛雅历中我的特点,那种容易的路偏偏不愿意走,只想怎么完美怎么演绎。结果常常被对方误会,导致没有达到预期的效果。关于这一点,我需要调整一下自己的方式方法。比如在事
- Vue3+vite打包配置及部分打包优化~
炒毛豆
vue.js前端
这里介绍的是vite项目的打包配置,若想了解webpack打包配置可看我的其他博客。(下面来介绍下vite打包配置的步骤)1、步骤一:配置base。(为什么需要配置base?这里配置base主要是修改根路径,一般我们在开发环境中引用静态资源可能使用的是绝对路径,但是一旦打包部署到服务器上后可能会报404,无法正确的获取的资源。)//在vite.config.ts中import{defineConf
- django views视图
18790970257
jsonxhtmlpython
视图函数简称视图,本质上是一个简单的python函数,它接受web请求并且返回web响应;响应的内容可以是HTML网页、重定向、404错误、XML文档或图像等任何东西,但是,无论视图本身是个什么处理逻辑,最好都返回某种响应视图函数的代码写在哪都无所谓,只要它在你的python目录下面,但是通常我们约定将视图放置在项目或应用程序目录中的名为views.py的文件中。1、一个简单的视图下面是一个返回当
- Nginx 无法正确加载静态文件,静态文件加载404或者为html;Nginx 配置访问指定url路径项目部署;
Faith-J
Linuxnginx前端运维
Nginx无法正确加载静态文件,静态文件加载404或者为html;Nginx配置访问指定url路径项目部署;问题1.在nginxlocation定义指定url段时,加载不到页面,例如:访问一级目录为/mypage并且二级目录可以是任意非空值时/mypage/xxxxx,由于部署目录实际不存在/mypage/xxxx,因此访问返回404问题;2.页面中使用相对路径引用静态文件时,使用指定url段访问
- 积善行思利他
一家人_8f21
2019-06-24【姓名】王海洋【公司】江西鲍斯高服饰2019年6月24日【组别】472期谦虚二组学员【日精进打卡第203天】【知~学习】《六项精进》0遍共404遍《大学》0遍共403遍【学习京瓷哲学】531/536页【活法】151/156页【经典名句分享】1.事在人为是一种积极的人生态度,顺其自然是一种达观的生存之道,水到渠成是一种高超的入世智慧,淡泊宁静是一种超脱的生活态度。【行~实践】一、
- 数据结构——初始数据结构!!!
404_NOT_FOUND@
数据结构与算法数据结构算法
本章将简单介绍数据结构,欢迎大家点赞➕收藏,蟹蟹!!!个人主页:404_NOT_FOUND@1.简介是一门基础学科研究的是数据如何在计算机中进行组织和存储,使得我们可以高效的获取数据和修改数据2.数据结构可以分为三类2.1线性数据结构线性数据结构是指数据元素之间存在一对一的关系,即每个元素都有一个前驱和一个后继元素,形成线性序列常见的线性数据结构包括:数组(Array):一组连续存储的元素,通过索
- 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