唉。。。。還是自己不小心,服務(wù)器上面建了wwww目錄能同步上去就有鬼了。改成www就好了!
現(xiàn)在在分支prod上,想切換分支到dev上,如果沒有commit:
git stash
git checkout dev
git pop
如果commit了,去dev分支merge prod分支,然后回到prod分支回退版本
檢查下字符串是否包含特定標(biāo)簽字段如<html>
找到了原因:
shutdown 可以選擇關(guān)閉某個方向或者同時關(guān)閉兩個方向,shutdown how = 0 or how = 1 or how = 2 (SHUT_RD or SHUT_WR or SHUT_RDWR),后兩者可以保證對等方接收到一個EOF字符(即發(fā)送了一個FIN段),而不管其他進(jìn)程是否已經(jīng)打開了這個套接字。而close不能保證,只有當(dāng)某個sockfd的引用計(jì)數(shù)為0,close 才會發(fā)送FIN段,否則只是將引用計(jì)數(shù)減1而已。也就是說只有當(dāng)所有進(jìn)程(可能fork多個子進(jìn)程都打開了這個套接字)都關(guān)閉了這個套接字,close 才會發(fā)送FIN 段。
因?yàn)槲业腸lient_data_socket是在父進(jìn)程產(chǎn)生的,子進(jìn)程關(guān)閉了并沒有發(fā)送FIN段,所以我需要用shutdown來發(fā)送FIN
docker-compose stop
docker-compose build php-fpm
https://blog.csdn.net/qq_2610...
這個工具很OK
有 可以在header直接插入js
不支持https訪問。http可以訪問不代表https就一定可以。這個需要進(jìn)行一些配置的。
這兩個docker search都能找到的,當(dāng)然前提是能連網(wǎng),
或者直接用瀏覽器訪問也行,象下面這樣。
https://index.docker.io/v1/search?q=rhel7.2&n=25:
{"num_pages":1,"num_results":12,"page_size":25,"page":1,"query":"rhel7.2","results":[{"name":"caiqian/rhel7.2beta-overlay","description":"RHEL7.2 Beta image for overlayfs testing","star_count":1,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"vtas/rhel7.2","description":"","star_count":1,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"mcalizo/rhel7.2systemd","description":"RHEL7.2 with Systemd","star_count":0,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"shrutikag/rhel7.2","description":"","star_count":0,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"adriaanbrae/rhel7.2","description":"","star_count":0,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"aramatra/rhel7.2","description":"","star_count":1,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"deepfenceio/rhel7.2","description":"","star_count":0,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"mmithaiw/rhel7.2-modified","description":"","star_count":0,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"jahndai/rhel7","description":"Clean image for FET user. By RHEL7.2","star_count":0,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"mbafna/rhel72-lvm2","description":"RHEL7.2 image with LVM2 ","star_count":0,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"vgs24/rhel72le","description":"Created a rhel7.2 le docker image","star_count":0,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"mkimranbasha/rhel72","description":"Docker file for RHEL7.2","star_count":0,"is_trusted":false,"is_automated":false,"is_official":false}]}
https://index.docker.io/v1/search?q=centos7&n=25:
{"num_pages":217,"num_results":5407,"page_size":25,"page":1,"query":"centos7","results":[{"name":"openshift/base-centos7","description":"A Centos7 derived base image for Source-To-Image builders","star_count":22,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"openshift/jenkins-2-centos7","description":"A Centos7 based Jenkins v2.x image for use with OpenShift v3","star_count":12,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"ansible/centos7-ansible","description":"Ansible on Centos7","star_count":109,"is_trusted":true,"is_automated":true,"is_official":false},{"name":"openshift/mysql-55-centos7","description":"DEPRECATED: A Centos7 based MySQL v5.5 image for use with OpenShift v3","star_count":6,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"openshift/jenkins-1-centos7","description":"DEPRECATED: A Centos7 based Jenkins v1.x image for use with OpenShift v3","star_count":4,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"openshift/wildfly-101-centos7","description":"A Centos7 based WildFly v10.1 image for use with OpenShift v3","star_count":3,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"openshift/wildfly-100-centos7","description":"A Centos7 based WildFly v10.0 image for use with OpenShift v3","star_count":1,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"openshift/php-55-centos7","description":"DEPRECATED: A Centos7 based PHP v5.5 image for use with OpenShift v3","star_count":1,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"openshift/wildfly-81-centos7","description":"A Centos7 based WildFly v8.1 image for use with OpenShift v3","star_count":1,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"openshift/wildfly-90-centos7","description":"A Centos7 based WildFly v9.0 image for use with OpenShift v3","star_count":0,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"openshift/nodejs-010-centos7","description":"DEPRECATED: A Centos7 based NodeJS v0.10 image for use with OpenShift v3","star_count":4,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"openshift/mongodb-24-centos7","description":"DEPRECATED: A Centos7 based MongoDB v2.4 image for use with OpenShift v3","star_count":1,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"openshift/ruby-20-centos7","description":"DEPRECATED: A Centos7 based Ruby v2.0 image for use with OpenShift v3","star_count":3,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"openshift/postgresql-92-centos7","description":"DEPRECATED: A Centos7 based PostgreSQL v9.2 image for use with OpenShift v3","star_count":0,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"openshift/python-33-centos7","description":"DEPRECATED: A Centos7 based Python v3.3 image for use with OpenShift v3","star_count":0,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"openshift/perl-516-centos7","description":"DEPRECATED: A Centos7 based Perl v5.16 image for use with OpenShift v3","star_count":0,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"fortinj66/centos7-s2i-nodejs","description":"based off of ryanj/centos7-s2i-nodejs. Biggest change is to allow a build script be be run","star_count":0,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"openshift/wildfly-110-centos7","description":"A Centos7 based WildFly v11.0 image for use with OpenShift v3","star_count":1,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"centos/python-35-centos7","description":"Platform for building and running Python 3.5 applications\n","star_count":20,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"centos/postgresql-96-centos7","description":"PostgreSQL is an advanced Object-Relational database management system\n","star_count":16,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"centos/mysql-57-centos7","description":"MySQL 5.7 SQL database server\n","star_count":27,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"centos/httpd-24-centos7","description":"Platform for running Apache httpd 2.4 or building httpd-based application\n","star_count":12,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"openshift/php-56-centos7","description":"DEPRECATED: A Centos7 based PHP v5.6 image for use with OpenShift v3","star_count":2,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"centos/php-56-centos7","description":"Platform for building and running PHP 5.6 applications\n","star_count":12,"is_trusted":false,"is_automated":false,"is_official":false},{"name":"centos/php-70-centos7","description":"Platform for building and running PHP 7.0 applications\n","star_count":9,"is_trusted":false,"is_automated":false,"is_official":false}]}
從上面選你想要的 docker pull 下來, 用docker export 導(dǎo)出就可以到客啟那安裝了。
進(jìn)去阿里云的控制面板里面,配置安全組的入站規(guī)則
。
我當(dāng)時就是用的是ECS
學(xué)生機(jī),默認(rèn)沒有開啟,導(dǎo)致外網(wǎng)訪問不到。
top
是window的屬性
換句話說話 你別去用,因?yàn)槟阌貌涣??!?br>你換個 top1 就行了
惡意訪問,洪水攻擊什么的沒法禁止
考慮記錄log,將惡意訪問的ip設(shè)定為禁止訪問,也可以考慮直接上傳到阿里云的后臺防火墻
composer global require laravel/installer
laravel new projectname
或者 直接
composer create-project laravel/laravel projectname
在C++里使用C庫的函數(shù)時,你加了 extern "C" { } 嗎? 否則就會鏈接找不到。
4412開發(fā)板與4418開發(fā)板的區(qū)別對比,兩款開發(fā)板可廣泛適用于工控、智能家居、醫(yī)療、多媒體、安防、車載、金融、消費(fèi)電子、手持設(shè)備、顯示控制、教學(xué)、電力、通訊等領(lǐng)域。
針對你自己的需求呢
touch a.txt
很麻煩么??
1.onload 就是圖片加載完成之后,要做的操作。
2.瀏覽器不需要知道圖片有沒有加載完,需要用到圖片的時候,自然會去加載。至于是從緩存中加載,還是從遠(yuǎn)端下載,這是瀏覽器要做的事情。而圖片預(yù)加載就是在圖片用到之前,先讓瀏覽器下載到緩存中,這樣用到的時候就不需要下載了。
3.通過js代碼,肯定是不知道圖片緩存在哪里的,因?yàn)檫@個是瀏覽器內(nèi)部做的事情。一般來說瀏覽器會做非常非常多的事情,包括渲染、下載、緩存等等。js代碼所做的事情是在瀏覽器已經(jīng)實(shí)現(xiàn)的功能基礎(chǔ)上,再做一點(diǎn)網(wǎng)站功能業(yè)務(wù)上的事情。至于這個功能業(yè)務(wù)用什么語言實(shí)現(xiàn)?其實(shí)瀏覽器并不在乎,flash、js甚至是其他什么script都行,對瀏覽器來說,不過是加一個執(zhí)行環(huán)境而已。
它在以它的方式等著歡迎你
MongoDB Wire Protocol over TCP/IP,不是 HTTP 協(xié)議哦
http - How does the protocol "mongodb" work? - Super User
北大青鳥APTECH成立于1999年。依托北京大學(xué)優(yōu)質(zhì)雄厚的教育資源和背景,秉承“教育改變生活”的發(fā)展理念,致力于培養(yǎng)中國IT技能型緊缺人才,是大數(shù)據(jù)專業(yè)的國家
北大青鳥中博軟件學(xué)院創(chuàng)立于2003年,作為華東區(qū)著名互聯(lián)網(wǎng)學(xué)院和江蘇省首批服務(wù)外包人才培訓(xùn)基地,中博成功培育了近30000名軟件工程師走向高薪崗位,合作企業(yè)超4
中公教育集團(tuán)創(chuàng)建于1999年,經(jīng)過二十年潛心發(fā)展,已由一家北大畢業(yè)生自主創(chuàng)業(yè)的信息技術(shù)與教育服務(wù)機(jī)構(gòu),發(fā)展為教育服務(wù)業(yè)的綜合性企業(yè)集團(tuán),成為集合面授教學(xué)培訓(xùn)、網(wǎng)
達(dá)內(nèi)教育集團(tuán)成立于2002年,是一家由留學(xué)海歸創(chuàng)辦的高端職業(yè)教育培訓(xùn)機(jī)構(gòu),是中國一站式人才培養(yǎng)平臺、一站式人才輸送平臺。2014年4月3日在美國成功上市,融資1
曾工作于聯(lián)想擔(dān)任系統(tǒng)開發(fā)工程師,曾在博彥科技股份有限公司擔(dān)任項(xiàng)目經(jīng)理從事移動互聯(lián)網(wǎng)管理及研發(fā)工作,曾創(chuàng)辦藍(lán)懿科技有限責(zé)任公司從事總經(jīng)理職務(wù)負(fù)責(zé)iOS教學(xué)及管理工作。
浪潮集團(tuán)項(xiàng)目經(jīng)理。精通Java與.NET 技術(shù), 熟練的跨平臺面向?qū)ο箝_發(fā)經(jīng)驗(yàn),技術(shù)功底深厚。 授課風(fēng)格 授課風(fēng)格清新自然、條理清晰、主次分明、重點(diǎn)難點(diǎn)突出、引人入勝。
精通HTML5和CSS3;Javascript及主流js庫,具有快速界面開發(fā)的能力,對瀏覽器兼容性、前端性能優(yōu)化等有深入理解。精通網(wǎng)頁制作和網(wǎng)頁游戲開發(fā)。
具有10 年的Java 企業(yè)應(yīng)用開發(fā)經(jīng)驗(yàn)。曾經(jīng)歷任德國Software AG 技術(shù)顧問,美國Dachieve 系統(tǒng)架構(gòu)師,美國AngelEngineers Inc. 系統(tǒng)架構(gòu)師。