Time of Update: 2014-12-19
標籤:style blog ar io color sp for on div Directive can use another directive though ‘require‘
Time of Update: 2014-12-19
標籤:style blog ar io color sp for strong on You can use ngModel in your own directives, but there
Time of Update: 2014-12-19
標籤:style blog http ar io color os 使用 sp HTML5的Drag and
Time of Update: 2014-12-19
標籤:php session從php ,session_set_save_handler 的_sess_read方法把session data值定義賦值給類屬性不成功,後來改用全域變數賦值成功 function _sess_read($sesskey) { $row = $this->db->getRow(‘SELECT data, expiry, is_overflow FROM ‘ .
Time of Update: 2014-12-19
標籤:拓撲 html5 hightopo 電信 base64 HTML5的Drag and Drop是很不錯的功能,網上使用例子較多如 http://html5demos.com/drag ,但這些例子大部分沒實際用途,本文將搞個有點使用價值的例子,通過Drag and
Time of Update: 2014-12-19
標籤:style http ar io color 使用 sp strong on 最近一直沒網,好不容易有網路了,大概瞭解了下,媒體查詢的東西,css3的部分,下面是從網上查到的資訊,一起看看
Time of Update: 2014-12-19
標籤:style blog http ar io color os 使用 sp HTML5的Drag and
Time of Update: 2014-12-19
c#操作xml檔案,using System;using System.Collections.Generic;using System.Data;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Xml;namespace delegatedemo{ public class XmlClass {
Time of Update: 2014-12-19
委託和事件的使用,委託事件使用using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace delegatedemo{ public delegate void BoilDelegate(int temp); public class Heater
Time of Update: 2014-12-19
基於HTML5的Drag and Drop產生圖片Base64資訊,HTML5的Drag and Drop是很不錯的功能,網上使用例子較多如 http://html5demos.com/drag ,但這些例子大部分沒實際用途,本文將搞個有點使用價值的例子,通過Drag and
Time of Update: 2014-12-19
Ajax發送GET請求,ajax發送get這裡用一個執行個體示範Ajax發送get請求,執行個體具體要求為一個註冊頁面,當使用者填寫完使用者名稱稱時,該輸入框失去焦點後會通過Ajax向後台發送驗證資訊,如果使用者名稱不是admin則通過驗證,否則不通過驗證。下面先看JSP頁面具體資訊:<form action="servlet/LoginServlet" method="post"> <table> <tr>
Time of Update: 2014-12-19
[程式員面試題精選100題]2.設計包含min函數的棧,程式員min【題目】定義棧的資料結構,要求添加一個min函數,能夠得到棧的最小元素。要求函數min、push以及pop的時間複雜度都是O(1)。【分析】是去年google的一道面試題。我看到這道題目時,第一反應就是每次push一個新元素時,將棧裡所有逆序元素排序。這樣棧頂元素將是最小元素。但由於不能保證最後push進棧的元素最先出棧,這種思路設計的資料結構已經不是一個棧了。在棧裡添加一個成員變數存放最小元素(或最小元素的位置)。每次push
Time of Update: 2014-12-19
C:列印菱形(自己的方法),列印菱形方法//-------------------*列印菱形*--------------------- int i,j,k; int n; printf("請輸入一個奇數n:"); scanf("%d",&n);&
Time of Update: 2014-12-19
vi/vim tab鍵空格數修改,vimtab更改Tap鍵單位vi/vim編輯器預設情況下,每按一次Tap相對於8個空格。(1)臨時性更改使用vi開啟檔案後,輸入如下命令::set tabstop=4命令釋義:更改為相當於四個空格。(2)永久性更改也就是更改vi/vim的設定檔。在使用者目錄下的.vimrc檔案中添加上述命令,若沒有這個檔案,可以新建立該檔案,然後寫入:settabstop=4,退出儲存即可。此時vi中的tab鍵空格單位元被永久修改了。
Time of Update: 2014-12-19
Binary Tree Level Order Traversal II,binarytraversal本文是在學習中的總結,歡迎轉載但請註明出處:http://blog.csdn.net/pistolove/article/details/41964067Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right,
Time of Update: 2014-12-19
設計模式概述與原則,設計模式概述原則一 、 設計模式概述總體來說設計模式分為三大類:建立型模式,共五種:Factory
Time of Update: 2014-12-19
DirectX--yuv420p上實現的字元疊加,yuv420punsigned char *pTemp;BYTE OsdY = 0;BYTE OsdU = 0;BYTE OsdV = 0;void OSDSetTextColor(BYTE OsdR, BYTE OsdG, BYTE OsdB){OsdY = 0.25*OsdR+0.504*OsdG+0.098*OsdB+16;OsdU = -0.148*OsdR-0.291*OsdG+0.439*OsdB+128;OsdV =
Time of Update: 2014-12-19
Java實現將指定檔案夾內的指定類型的檔案歸類,java歸類這兩天在學Java IO流,正好讓我產生了將自己的電子書歸類的打算,說做就做,Why not?看著自己所學所用能解決生活中的實際問題,是不是很有成就感,那是必須的!package DepthSearch;import java.util.*;import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;import
Time of Update: 2014-12-19
【leetcode 雜湊表】Fraction to Recurring Decimal,leetcoderecurring【leetcode 雜湊表】Fraction to Recurring Decimal @author:wepon@blog:http://blog.csdn.net/u0121626131、題目Given two integers representing the numerator and denominator of a fraction, return
Time of Update: 2014-12-19
poj 1331 Multiply,poj1331multiplyMultiplyTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 5179 Accepted: 2773Description6*9 = 42" is not true for base 10, but is true for base 13. That is, 6(13) * 9(13) = 4