亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊(cè)

bash-scripting

  • 手寫代碼必備手冊(cè)_C

    shell script面試問題, Top 50 Shell Scripting Interview Questions 

    標(biāo)簽: shell script面試問題

    上傳時(shí)間: 2015-11-08

    上傳用戶:1羅志權(quán)

  • asp實(shí)現(xiàn)限制一個(gè)ip只能訪問一次的方法

    asp實(shí)現(xiàn)限制一個(gè)ip只能訪問一次的方法 <%  '/////////////////////////////////////////////////////  '// //  '//作用:一個(gè)IP地址只允許訪問本頁一次 //  '//引用:<!-- #include file="Check_Ip.asp" --> //  '// //  '/////////////////////////////////////////////////////    'Response.Charset = 936 '設(shè)置輸出編碼為簡體中文  'Response.Buffer = false '關(guān)閉緩沖區(qū)    Dim Fso,ts,IpList,Cfs    '設(shè)置Cookies函數(shù)  Function SetCookie()  Response.Cookies("IsBrow") = "Brow" Response.Cookies("IsBrow").Expires = Date+365  End Function    '記錄IP地址函數(shù)  Function WriteIp(FileName, IpAddress)  Set Fso = Server.CreateObject("Scripting.FileSystemObject")  Set ts = Fso.OpenTextFile(Server.MapPath(FileName),8,true)  ts.WriteLine IpAddress  ts.Close  Set ts = Nothing  Set Fso = Nothing  End Function    '讀取IP地址函數(shù)  Function ReadIpList(FileName)  Set Fso = Server.CreateObject("Scripting.FileSystemObject")  If Not Fso.FileExists(Server.MapPath(FileName)) Then  CreateFile("Iplist.txt")  Exit Function  End If    Set ts = Fso.OpenTextFile(Server.MapPath(FileName))  Iplist = ts.ReadAll  ts.Close  Set ts = Nothing  Set Fso = Nothing  ReadIpList = Iplist  End Function    '創(chuàng)建文件函數(shù)  Function CreateFile(FileName)  Set Fso = Server.CreateObject("Scripting.FileSystemObject")  Set Cfs = Fso.CreateTextFile(Server.MapPath(FileName))  Cfs.Close  Set Cfs = Nothing  Set Fso = Nothing  End Function    '關(guān)閉當(dāng)前IE窗口函數(shù)(注:IE6下通過,其他瀏覽器未測(cè)試)  Function CloseWindow()  'Response.Write "<script>window.location='javascript:window.opener=null;window.close();'</script>"  Response.Redirect "http://www.baidu.com" End Function    Ip = Request.ServerVariables("REMOTE_ADDR") '獲取瀏覽者IP地址    Cookie = Request.Cookies("IsBrow") '獲取當(dāng)前Cookies  'Response.Write Cookie    If Request.ServerVariables("HTTP_X_FORWARDED_FOR") <> "" Then  Response.Write "本站不允許使用代理訪問" Response.End()  Else  If Cookie = "Brow" Then  CloseWindow()  Else  If Instr(ReadIpList("Iplist.txt"),Ip) <>0  Then  CloseWindow()  Else  WriteIp "Iplist.txt" , Ip  End If  SetCookie()  End If  End If  %>

    標(biāo)簽: asp 訪問

    上傳時(shí)間: 2016-07-14

    上傳用戶:helei0915

  • ANSYS workbench scripting guide

    關(guān)於ANSYS workbench 的巨集語法文件

    標(biāo)簽: workbench scripting ANSYS guide

    上傳時(shí)間: 2017-09-03

    上傳用戶:konkonme86

  • linux編譯OpenWRT固件教程

    并不是每個(gè)人都需要編譯固件,筆者更推薦你直接使用官方固件,如果需要相應(yīng)的軟件,可以直接通過opkg 安裝。為滿足更多人需求,這里提供一個(gè)傻瓜教程,照著走一次,就編譯好了,轉(zhuǎn)的別問我為什么????1.根據(jù)你的系統(tǒng)安裝相應(yīng)的包,把以下命令復(fù)制粘貼運(yùn)行一次就行。Ubuntu 32bitsudo apt-get install build-essential subversion git-core libncurses5-dev zlib1g-dev gawkflex quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzipUbuntu 64bitsudo apt-get install build-essential subversion libncurses5-dev zlib1g-dev gawk gccmultilibflex git-core gettextArch Linuxpacman -S --needed subversion asciidoc bash bc binutils bzip2 fastjar flex git gcc util-linuxgawk intltool zlib make cdrkit ncurses openssl patch perl-extutils-makemaker rsync sdcc unzipwget gettext libxslt boost libusb bin86 sharutils b43-fwcutter findutilsDebian 6 Squeezeapt-get install libncurses5-dev zlib1g-dev gawk flex libssl-dev sdcc-nfDebian 7 Wheezy

    標(biāo)簽: linux openwrt

    上傳時(shí)間: 2022-06-23

    上傳用戶:bluedrops

  • Linux命令行和shell腳本編程

    基礎(chǔ)部分需要學(xué)習(xí)的內(nèi)容很多,本寶典不僅簡明扼要地介紹了開源Linux軟件的結(jié)構(gòu),并且展示了如何摒棄笨重的Linux圖形用戶界面,而使用一種更加快速而有效的方式——命令行和自動(dòng)化腳本。您將學(xué)習(xí)如何在不使用GUl的情況下管理文件系統(tǒng)的文件;啟動(dòng)和終止程序;使用數(shù)據(jù)庫,甚至執(zhí)行Web編程,本書將教會(huì)您一切。·了解Linux桌面和各種命令行參數(shù);·了解文件系統(tǒng)導(dǎo)航、文件處理,以及bash shell命令的基礎(chǔ);·編寫shell腳本以自動(dòng)化例行功能和報(bào)告;·管理嵌套循環(huán)和結(jié)構(gòu)化命令;·監(jiān)控程序、管理文件許可、進(jìn)行查詢;·以后臺(tái)模式和計(jì)劃作業(yè)方式運(yùn)行腳本;·使用sed、gawk和正則表達(dá)式;·探討所有其他shell,包括ash、tosh、ksh、kom和zsh。

    標(biāo)簽: linux shell腳本 編程

    上傳時(shí)間: 2022-07-27

    上傳用戶:

主站蜘蛛池模板: 阿勒泰市| 凌海市| 和硕县| 白水县| 子洲县| 阿瓦提县| 临夏市| 榆社县| 扬州市| 长治市| 江城| 舒兰市| 墨江| 临武县| 武穴市| 西乌| 成都市| 稷山县| 墨脱县| 鄱阳县| 桂平市| 宁晋县| 阿勒泰市| 娄烦县| 伊吾县| 施秉县| 辽中县| 类乌齐县| 周至县| 许昌市| 铁力市| 吉林市| 罗山县| 福安市| 宝山区| 高青县| 莒南县| 邯郸县| 富宁县| 宁德市| 庆元县|