備忘錄

 

前端框架:css

Amaze UI:http://amazeui.org/getting-started html

Bootstrap:http://www.bootcss.com/前端

 

響應式佈局:<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1,user-scalable=no" />node

Property Description
width Width of the viewport in pixels (or device-width). If width isn’t set, it defaults to a desktop size (980px on mobile Safari).
height Height of the viewport in pixels (or device-height). Generally you don’t need to worry about setting this property.
initial-scale

(0 to 10.0) Multiplier that sets the scale of the page after its initial display. Safe bet: if you need to set it, set it前端框架

to 1.0. Larger values = zoomed in, smaller values = zoomed out微信

minimum-scale (0 to 10.0) The minimum multiplier the user can 「zoom out」 to. Defaults to 0.25 on mobile Safari.
maximum-scale (0 to 10.0) The minimum multiplier the user can 「zoom in」 to. Defaults to 1.6 on mobile Safari.
user-scalable (yes/no) Whether to allow a user from scaling in/out (zooming in/out). Default to 「yes」 on mobile Safari.

 

去重:ROW_NUMBER() OVER(PARTITION BY [] ORDER BY []) as xx架構

 關聯表批量更新:微信公衆平臺

Update employee set hrdeptname=d.DEPTNAME
from DEPARTMENT  d  inner join employee e  on e.HRDEPTID=d.DEPTID
where 1=1;
(SQL SERVER寫法,ORACLE用子查詢)

複製表結構
select * into B from A where 1 = 0
複製表結構和數據
select * into B from A

  

自增列屬性指定值插入,可用如下語句,臨時取消框架

SET IDENTITY_INSERT TableName ON
INSERT INTO tableName(xx,xx) values(xx,xx)
SET IDENTITY_INSERT TableName OFFide

 

360免費代備案:http://wangzhan.360.cn/news/show/id/1038 

(note:若是使用了360網站衛士的備案服務,域名備案成功後,卻沒使用360網站衛士做爲解析,那麼備案號是會被吊銷的)

 

微信公衆平臺測試號:http://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=sandbox/login

分享按鈕插件:http://www.jiathis.com/

廣告小工具:http://eqxiu.com

 

關於架構的比喻(引自豌豆莢架構師周愛民原文):

我經常使用過河來做例子。一我的在河的前面想過這條河,有一條船放在那裏,若是你認爲過河是一件事,你的第一件事是跳到船上想辦法把船划過去。你遇到的第一個問題多是你沒有划船的技能。可是若是你是一個架構師,你的第一個問題是:這是什麼東西?你能夠定義其爲一個障礙,河這個東西對你來說是阻礙,你跨過阻礙的方法不必定是划船。我架一個橋不行嗎?我直接跳下去,游泳過去不行嗎?另外,這條河是否是障礙仍是一個問題,若是它很淺呢?你非要認爲它是障礙就製造了矛盾,系統中也許不存在這樣的矛盾。因此從架構思惟的角度來說,第一件事是要看到這是一個系統,第二件事是定義問題,第三件事是看到這個問題是否是真實存在。找到這個問題跟方案之間的關係在哪裏,你就會作架構了。

 

//解析xml字符串
XmlDocument xmldoc = new XmlDocument(); xmldoc.LoadXml(res);//res爲xml字符串 XmlNode node = xmldoc.SelectSingleNode("result");//提取root XmlAttribute status = node.Attributes["status"]; var st= status.Value.ToString();//讀取某節點屬性的值

 團隊協同辦公工具:https://worktile.com/

LLBLGen:http://www.cnblogs.com/huashanlin/p/4288522.html

http://www.cnblogs.com/heyu5220/archive/2009/12/02/1615245.html

http://www.cnblogs.com/JamesLi2015/archive/2013/05/15/3079230.html

 

excel:NPOI

word:aspose.word/DocX

 

//todo...

相關文章
相關標籤/搜索