Time of Update: 2015-03-15
用Html寫一個簡單的登陸介面,html登陸介面<!DOCTYPE html><html><title>登陸頁面</title><head><meta charset="UTF-8"><title>Insert title here</title></head><body><form name = logon method = post><
Time of Update: 2015-03-15
jQuery和CSS3炫酷GOOGLE樣式的使用者登入介面,jquerycss3這是一款使用jQuery和CSS3打造的GOOGLE樣式的使用者登入介面特效。該登入介面特效中,右上方的小問號和錯誤提示小表徵圖使用SVG來製作,使用者名稱和密碼輸入框採用浮動標籤特效,可點擊的按鈕上使用了很酷的點擊傳輸速率效。 整個登入介面簡潔大方,互動性很強。線上示範:http://www.htmleaf.com/Demo/201503131515.html:http://www.htmleaf.com
Time of Update: 2015-03-15
django中如何產生非HTML格式的內容。,django某些時候可能有這樣的需求,在網頁中點擊一個連結或者一個按鈕希望返回一張圖片、一個pdf文檔、一個csv文檔等而非HTML。在diango中很容易做到這些。django中的view用來接收http request並返回web
Time of Update: 2015-03-15
struts2 easyui實現datagrid的crud,struts2crud最近兩天因為項目需要,接觸了easyui,要用它的datagrid實現crud。第一次做,花了一天時間才完成所有功能,昨天做另外一個模組,同樣的功能只用了兩個小時。 現在把第一次做datagrid時遇到的問題記錄下來,協助自己記憶。同時也協助其他第一次接觸easyui的朋友。問題json到底有多少種?當時項目裡json的jar包是我直接從別的項目裡拷過來的。結果在下面的語句裡報錯resultObj =
Time of Update: 2015-03-15
【JavaScript】出現即使設定了ID也擷取不到的可能原因與window.onload,javascriptonload有時候,在JavaScript中,即使設定了ID也有可能出現document.getElementById()擷取不到的情況,然後你就開始想document是否寫錯之類的,其實根本就不是你的代碼的大小寫出現了問題,主要是你還沒有搞清楚直接寫在<script></script>之間東西與寫在window.onload=function(){}裡面的東西
Time of Update: 2015-03-15
php Recess framework入門,recessframework Recess安裝Recess架構介紹架構配置項Controllers和Views路由route及路由註解Model模型應用管理工具參考Recess安裝:#install:unzip recess-v0.20.zip to apache DocumentRoot (/var/www/html)#install PHP 5.3.3yum install php53-pdoyum install php53-
Time of Update: 2015-03-15
html學習,html學習網站 自動重新整理其實自動重新整理和跳轉沒啥區別,重新整理就是跳轉到本地址。 有幾種辦法,首先是直接在html的<head>標籤裡添加下面的代碼。html代碼代碼都放在<head>標籤裡。//每兩秒重新整理一次<meta http-equiv="refresh" content="2">//2s後跳轉到百度<meta http-equiv="refresh" content="2;
Time of Update: 2015-03-15
onethink和phpwind共用,onethinkphpwind將onethink和phpwind資料庫安裝在一起,使用通用的表首碼。將onethink的member表指向phpwind有user表以下為onethink安裝在根目錄下,phpwind安裝在bbs目錄下的情況修改onethink中的is_login函數function is_login(){$site=include('./bbs/data/cache/config.php');C('BBS_SITE_
Time of Update: 2015-03-15
Linux 安裝php環境,linuxphp環境 一、使用screen(可選) 由於編譯安裝Nginx Apache PHP MySQL等軟體會花費比較長的時間,難免會出現由於網路意外中斷而導致安裝也中斷了,所以為了避免此問題,可以用screen來安裝。 screen的使用方法如下: 1、安裝screen ubuntu/debian系統:apt-get install -y screenCentos/redhat系統:yum install -y
Time of Update: 2015-03-15
前端筆試題筆記(回到頂部組件),前端回到頂部 前端筆試題筆記(回到頂部組件)題目要求:當頁面向下滾動距頂部一定距離(如100px)時出現,向上復原距頂部低於同樣距離時隱藏,點擊返回頂部組件時頁面滾動到頂部;這題一共4個問題要解決:向下滾動距頂部一定距離(如100px)時出現、上復原距頂部低於同樣距離時隱藏、點擊返回頂部組件時頁面滾動到頂部、始終定位在某個位置(一般來說是右下角)
Time of Update: 2015-03-15
[LeetCode]Maximum Product Subarray,leetcodesubarray Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the array [2,3,-2,4], the contiguous subarray [2,3
Time of Update: 2015-03-15
LeetCode,leetcodeojGiven a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were initially sorted according to their start times.Example 1:Given intervals [1,3],[6,9],
Time of Update: 2015-03-15
LeetCode 190 Reverse Bits,leetcodereverseReverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), return 964176192 (represented in binary as 001110010111
Time of Update: 2015-03-15
深入研究java.lang.Object類,java.lang.object前言:Java的類庫日益龐大,所包含的類和介面也不計其數。但其中有一些非常重要的類和介面,是Java類庫中的核心部分。常見的有String、Object、Class、Collection、ClassLoader、System、Runtime...,掌握類是靈活Java這門語言的基礎。而這些類一般都很好理解和運用,需要做深入的研究和實踐才能掌握。 一、概述: &nbs
Time of Update: 2015-03-15
【LeetCode從零單排】No.169 Majority Element(hashmap用法),leetcodehashmap題目Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.You may assume that the array is non-empty
Time of Update: 2015-03-15
《Extending and Embedding PHP》關於作者,embedding Sara
Time of Update: 2015-03-15
Python3.4 郵件發送(含帶中文附件),import smtplibimport osfrom email.mime.text import MIMETextfrom email.mime.multipart import MIMEMultipartfrom email import encodersuser = '*******@qq.com'pwd = '*******'to = ['******@139.com', '*****
Time of Update: 2015-03-15
Java IO之File,javaiofile FILE類是用來實現擷取檔案、檔案夾的類庫工具,File並非像類名所表示的那樣只是用來表示檔案,它還可以用來表示檔案夾。所以可以用File來擷取一個目錄下的所有檔案,甚至是檔案夾中的檔案。 一個簡單的擷取當前檔案目錄下所有檔案及檔案夾的方法public static void dir() { File dir = new File(".");// "."表示當前檔案所在目錄 String[] files =
Time of Update: 2015-03-15
矩陣專題,矩陣乘法矩陣在數學中,矩陣(Matrix)是指縱橫排列的二維資料表格,最早來自於方程組的係數及常數所構成的方陣。圖可以用矩陣表示,圖中頂點與頂點之間關係、頂點與邊之間關係、邊與迴路的關係,都可以用矩陣來表示。鄰接矩陣1.用一個一維數組存放圖中所有頂點資料;用一個二維數組存放頂點間關係(邊或弧)的資料,這個二維數組稱為鄰接矩陣。鄰接矩陣又分為有向圖鄰接矩陣和無向圖鄰接矩陣2.鄰接矩陣(Adjacency
Time of Update: 2015-03-15
Numerical Analysis(前言),大家好,接下來的幾天裡,我會集中全力研究Numerical Analysis(入門級),這是比較難的一門知識,本人暫時沒有信心解釋清楚,所以之後,我主要是放一些youtube視頻的連結,而不是自己寫部落格,怕誤人子弟,協助大家的理解。(當然我會寫一些我自己的解釋)Numerical